Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/templates/components/common_head.twig')
-rw-r--r--assets/templates/components/common_head.twig12
1 files changed, 9 insertions, 3 deletions
diff --git a/assets/templates/components/common_head.twig b/assets/templates/components/common_head.twig
index 925f5028..f0f22438 100644
--- a/assets/templates/components/common_head.twig
+++ b/assets/templates/components/common_head.twig
@@ -1,6 +1,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
- <link rel="stylesheet" href="{{subfolder}}/assets/themes/global.css" type="text/css" id="csstheme" />
+ {% set development_assets=true %}
+ {% if development_assets==true %}
+ <script src="{{subfolder}}/assets/vendor/less.min.js" type="text/javascript"></script>
+ {% else %}
+ <link rel="stylesheet" href="{{subfolder}}/assets/themes/global.css" type="text/css" id="cssmain" />
+ {% endif %}
<link rel="stylesheet" href="{{subfolder}}/assets/themes/{{theme}}/global.css" type="text/css" id="csstheme" />
<link rel="stylesheet" href="{{subfolder}}/assets/vendor/jquery/jquery-ui.min.css" type="text/css" />
<link rel="shortcut icon" href="{{Favicon}}" type="image/vnd.microsoft.icon" />
@@ -23,11 +27,13 @@
subfolder:'{{subfolder}}',
path:"{{path}}",
query_string:"{{query_string}}",
- strconfdropcred:"{{strconfdropcred}}",
+ strconfdropcred:"{{lang.strconfdropcred}}",
};
if (stateObj.reload !== "none" && window.jsTree) {
window.jsTree.jstree('refresh')
}
+
+
</script>