##// END OF EJS Templates
less flag in templates
Bussonnier Matthias -
Show More
@@ -17,11 +17,17 b' window.mathjax_url = "{{mathjax_url}}";'
17 <link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/>
17 <link rel="stylesheet" href="{{ static_url("prettify/prettify.css") }}"/>
18
18
19 <link rel="stylesheet" href="{{ static_url("css/celltoolbar.css") }}" type="text/css" />
19 <link rel="stylesheet" href="{{ static_url("css/celltoolbar.css") }}" type="text/css" />
20 <link rel="stylesheet/less" href="{{ static_url("css/notebook.less") }}" type="text/css" />
21 <link rel="stylesheet/less" href="{{ static_url("css/tooltip.less") }}" type="text/css" />
22 <link rel="stylesheet/less" href="{{ static_url("css/renderedhtml.less") }}" type="text/css" />
23
20
24 <link rel="stylesheet/less" href="{{ static_url("css/printnotebook.less") }}" type="text/css" media="print"/>
21 {% if use_less %}
22 <link rel="stylesheet/less" href="{{ static_url("less/notebook.less") }}" type="text/css" />
23 <link rel="stylesheet/less" href="{{ static_url("less/tooltip.less") }}" type="text/css" />
24 <link rel="stylesheet/less" href="{{ static_url("less/renderedhtml.less") }}" type="text/css" />
25
26 <link rel="stylesheet/less" href="{{ static_url("less/printnotebook.less") }}" type="text/css"/>
27 {% else %}
28 <link rel="stylesheet" href="{{ static_url("css/style.min.css") }}" type="text/css"/>
29 {% endif %}
30
25 {% endblock %}
31 {% endblock %}
26
32
27 {% block params %}
33 {% block params %}
@@ -182,7 +188,10 b' data-notebook-id={{notebook_id}}'
182
188
183 {% block script %}
189 {% block script %}
184
190
191 {% if use_less %}
185 <script src="{{ static_url("js/less/less-1.3.1.min.js") }}" charset="utf-8"></script>
192 <script src="{{ static_url("js/less/less-1.3.1.min.js") }}" charset="utf-8"></script>
193 {% endif %}
194
186 <script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
195 <script src="{{ static_url("codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
187 <script src="{{ static_url("codemirror/lib/util/loadmode.js") }}" charset="utf-8"></script>
196 <script src="{{ static_url("codemirror/lib/util/loadmode.js") }}" charset="utf-8"></script>
188 <script src="{{ static_url("codemirror/lib/util/multiplex.js") }}" charset="utf-8"></script>
197 <script src="{{ static_url("codemirror/lib/util/multiplex.js") }}" charset="utf-8"></script>
General Comments 0
You need to be logged in to leave comments. Login now