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