diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-05-24 21:44:02 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-05-24 21:44:02 +0200 |
commit | 29ac21c98b9733ab9cb967cc5ae51aa9b23bed19 (patch) | |
tree | 556a83da92c78074ec867b7d6520ad054e6e5c3c /module/web/templates/default | |
parent | moved common to utils package (diff) | |
download | pyload-29ac21c98b9733ab9cb967cc5ae51aa9b23bed19.tar.xz |
added production / devel mode to webui
Diffstat (limited to 'module/web/templates/default')
-rw-r--r-- | module/web/templates/default/base.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 7785da01b..45d72d104 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -14,12 +14,14 @@ <link href="/static/css/select2.css" rel="stylesheet" type="text/css"/>
<link href="/static/css/font.css" rel="stylesheet" type="text/css"/>
<link href="/static/css/fontawesome.css" rel="stylesheet" type="text/css"/>
+
+ {# TODO precompile less, use when not in devel mode #}
<link href="/static/css/default/style.less" rel="stylesheet/less" type="text/css" media="screen"/>
{% block css %}
{% endblock %}
<script src="/static/js/libs/less-1.3.0.min.js" type="text/javascript"></script>
- <script type="text/javascript" data-main="static/js/config" src="/static/js/libs/require-2.1.5.js"></script>
+ <script type="text/javascript" data-main="static/{{ js }}/config" src="/static/{{ js }}/libs/require-2.1.5.js"></script>
<script type="text/javascript">
window.dates = {
weeks: ['week', 'weeks'],
|