##// END OF EJS Templates
Split apart the body attributes and classes in the notebook templates
Jason Grout -
Show More
@@ -8,12 +8,12 b''
8 8 {{super()}}
9 9 {% endblock %}
10 10
11 {% block params %}
11 {% block bodyclasses %}edit_app {{super()}}{% endblock %}
12 12
13 class="edit_app"
13 {% block params %}
14 14 data-base-url="{{base_url}}"
15 15 data-file-path="{{file_path}}"
16
16 {{super()}}
17 17 {% endblock %}
18 18
19 19 {% block headercontainer %}
@@ -21,6 +21,8 b' window.mathjax_url = "{{mathjax_url}}";'
21 21
22 22 {% endblock %}
23 23
24 {% block bodyclasses %}notebook_app {{super()}}{% endblock %}
25
24 26 {% block params %}
25 27
26 28 data-project="{{project}}"
@@ -28,7 +30,6 b' data-base-url="{{base_url}}"'
28 30 data-ws-url="{{ws_url}}"
29 31 data-notebook-name="{{notebook_name}}"
30 32 data-notebook-path="{{notebook_path}}"
31 class="notebook_app"
32 33
33 34 {% endblock %}
34 35
@@ -72,7 +72,7 b''
72 72
73 73 </head>
74 74
75 <body {% block params %}{% endblock %}>
75 <body class="{% block bodyclasses %}{% endblock %}" {% block params %}{% endblock %}>
76 76
77 77 <noscript>
78 78 <div id='noscript'>
@@ -2,11 +2,12 b''
2 2
3 3 {% block title %}{{page_title}}{% endblock %}
4 4
5 {% block bodyclasses %}terminal-app {{super()}}{% endblock %}
6
5 7 {% block params %}
6 8
7 9 data-base-url="{{base_url}}"
8 10 data-ws-path="{{ws_path}}"
9 class="terminal-app"
10 11
11 12 {% endblock %}
12 13
General Comments 0
You need to be logged in to leave comments. Login now