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