##// END OF EJS Templates
Update print notebook template to Jinja2
Cameron Bates -
Show More
@@ -1,10 +1,10
1 {% extends page.html %}
1 {% extends "page.html" %}
2 2
3 3 {% block stylesheet %}
4 4
5 5 {% if mathjax_url %}
6 6 <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML" charset="utf-8"></script>
7 {% end %}
7 {% endif %}
8 8 <script type="text/javascript">
9 9 // MathJax disabled, set as null to distingish from *missing* MathJax,
10 10 // where it will be undefined, and should prompt a dialog later.
@@ -20,7 +20,7 window.mathjax_url = "{{mathjax_url}}";
20 20 <link rel="stylesheet" href="{{ static_url("css/printnotebook.css") }}" type="text/css" />
21 21 <link rel="stylesheet" href="{{ static_url("css/renderedhtml.css") }}" type="text/css" />
22 22
23 {% end %}
23 {% endblock %}
24 24
25 25
26 26 {% block params %}
@@ -31,11 +31,11 data-base-kernel-url={{base_kernel_url}}
31 31 data-read-only={{read_only and not logged_in}}
32 32 data-notebook-id={{notebook_id}}
33 33
34 {% end %}
34 {% endblock %}
35 35
36 36
37 37 {% block header %}
38 {% end %}
38 {% endblock %}
39 39
40 40
41 41 {% block site %}
@@ -48,7 +48,7 data-notebook-id={{notebook_id}}
48 48
49 49 </div>
50 50
51 {% end %}
51 {% endblock %}
52 52
53 53
54 54 {% block script %}
@@ -78,4 +78,4 data-notebook-id={{notebook_id}}
78 78 <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
79 79 <script src="{{ static_url("js/printnotebookmain.js") }}" type="text/javascript" charset="utf-8"></script>
80 80
81 {% end %}
81 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now