Skip to content

Commit

Permalink
fix static includes
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Oct 8, 2024
1 parent 52da80b commit 6701e5f
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions plugins/plugins-available/conf/templates/_conf_bare.tt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<title>[% title_prefix %][% title %]</title>
[% PROCESS _favicon.tt %]
[% PROCESS _common_css.tt %]
<link rel='stylesheet' type='text/css' href='[% url_prefix %]plugins/[% plugin_name %]/conf.css' />
<link rel='stylesheet' type='text/css' href='[% url_prefix %]plugins/[% plugin_name %]/conf-${fileversion}.css' />
[% PROCESS _common_js_files.tt %]
<script src="[% url_prefix %]plugins/[% plugin_name %]/conf.js"></script>
<script src="[% url_prefix %]plugins/[% plugin_name %]/conf-${fileversion}.js"></script>
[% IF c.config.useragentcompat %]<meta http-equiv="X-UA-Compatible" content="[% c.config.useragentcompat %]">[% END %]
</head>
<body id="config" class="config[% IF body_class %] [%+ body_class %][% END %] w-full h-full m-0 p-0 overflow-hidden" style="background: inherit;">
Expand Down
4 changes: 2 additions & 2 deletions plugins/plugins-available/conf/templates/_conf_frame.tt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[% PROCESS _header.tt
css=["plugins/${plugin_name}/conf.css","vendor/linedtextarea-e619e09/jquery-linedtextarea.css", "vendor/jstree-3.3.8/themes/default/style.min.css"]
js=["plugins/${plugin_name}/conf.js", "vendor/jstree-3.3.8/jstree.min.js"]
css=["plugins/${plugin_name}/conf-${fileversion}.css","vendor/linedtextarea-e619e09/jquery-linedtextarea.css", "vendor/jstree-3.3.8/themes/default/style.min.css"]
js=["plugins/${plugin_name}/conf-${fileversion}.js", "vendor/jstree-3.3.8/jstree.min.js"]
%]
[% PROCESS _message.tt %]
[% PROCESS _blocks.tt %]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[% WRAPPER _conf_frame.tt %]
<link rel="stylesheet" href="[% url_prefix %]plugins/[% plugin_editor_path %]/editor.css">
<link rel="stylesheet" href="[% url_prefix %]plugins/[% plugin_editor_path %]/editor-${fileversion}.css">
<script src="[% url_prefix %]/vendor/ace-builds-1.4.12/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="[% url_prefix %]/vendor/ace-builds-1.4.12/src-min-noconflict/ext-language_tools.js" type="text/javascript" charset="utf-8"></script>

Expand Down
4 changes: 2 additions & 2 deletions plugins/plugins-available/editor/templates/editor.tt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[% PROCESS _header.tt css=[ "plugins/${plugin_name}/editor.css", "vendor/jstree-3.3.8/themes/default/style.min.css"]
js=[ "plugins/${plugin_name}/editor.js",
[% PROCESS _header.tt css=[ "plugins/${plugin_name}/editor-${fileversion}.css", "vendor/jstree-3.3.8/themes/default/style.min.css"]
js=[ "plugins/${plugin_name}/editor-${fileversion}.js",
"vendor/ace-builds-1.4.12/src-min-noconflict/ace.js",
"vendor/ace-builds-1.4.12/src-min-noconflict/ext-language_tools.js",
"vendor/jstree-3.3.8/jstree.min.js"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[% PROCESS _header.tt js="plugins/${plugin_name}/node_control.js" %]
[% PROCESS _header.tt js="plugins/${plugin_name}/node_control-${fileversion}.js" %]
[% PROCESS _message.tt %]

<script>
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugins-available/reports2/templates/reports.tt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[% PROCESS _header.tt js="plugins/${plugin_name}/reports.js" %]
[% PROCESS _header.tt js="plugins/${plugin_name}/reports-${fileversion}.js" %]
[% PROCESS _message.tt %]
[% PROCESS _blocks.tt %]
[% USE date %]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
[% END %]
[% END %]
[% PROCESS 'reports/style/custom.tt' %]
<script language="javascript" type="text/javascript" src="[% url_prefix %]plugins/[% plugin_name %]/reports_render.js"></script>
<script language="javascript" type="text/javascript" src="[% url_prefix %]plugins/[% plugin_name %]/reports_render-${fileversion}.js"></script>
</head>
<body>
[% PROCESS _common_js.tt %]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[% PROCESS _header.tt js="plugins/${plugin_name}/reports.js" %]
[% PROCESS _header.tt js="plugins/${plugin_name}/reports-${fileversion}.js" %]
[% PROCESS _message.tt %]
[% USE date %]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[% PROCESS _header.tt js="plugins/${plugin_name}/reports.js" %]
[% PROCESS _header.tt js="plugins/${plugin_name}/reports-${fileversion}.js" %]
[% PROCESS _message.tt %]
[% USE date %]

Expand Down

0 comments on commit 6701e5f

Please sign in to comment.