##// END OF EJS Templates
Removed notebook specific divs,...
Jonathan Frederic -
Show More
@@ -87,11 +87,11 b' unknown type {{ cell.type }}'
87 {% endblock unknowncell %}
87 {% endblock unknowncell %}
88
88
89 {% block pyout -%}
89 {% block pyout -%}
90 <div class="output_subarea output_text output_pyout">
90 {%- set extra_classes=" output_pyout" -%}
91 {% block data_priority scoped %}
91 {% block data_priority scoped %}
92 {{ super() }}
92 {{ super() }}
93 {% endblock %}
93 {% endblock %}
94 </div>
94 {%- set extra_classes="" -%}
95 {%- endblock pyout %}
95 {%- endblock pyout %}
96
96
97 {% block stream_stdout -%}
97 {% block stream_stdout -%}
@@ -110,8 +110,8 b' unknown type {{ cell.type }}'
110 </div>
110 </div>
111 {%- endblock stream_stderr %}
111 {%- endblock stream_stderr %}
112
112
113 {% block data_svg -%}
113 {% block data_svg scoped -%}
114 <div class="output_svg output_subarea">
114 <div class="output_svg output_subarea{{extra_classes}}">
115 {%- if output.svg_filename %}
115 {%- if output.svg_filename %}
116 <img src="{{output.svg_filename | posix_path}}"
116 <img src="{{output.svg_filename | posix_path}}"
117 {%- else %}
117 {%- else %}
@@ -120,14 +120,14 b' unknown type {{ cell.type }}'
120 </div>
120 </div>
121 {%- endblock data_svg %}
121 {%- endblock data_svg %}
122
122
123 {% block data_html -%}
123 {% block data_html scoped -%}
124 <div class="output_html rendered_html output_subarea">
124 <div class="output_html rendered_html output_subarea{{extra_classes}}">
125 {{ output.html }}
125 {{ output.html }}
126 </div>
126 </div>
127 {%- endblock data_html %}
127 {%- endblock data_html %}
128
128
129 {% block data_png %}
129 {% block data_png scoped %}
130 <div class="output_png output_subarea">
130 <div class="output_png output_subarea{{extra_classes}}">
131 {%- if output.png_filename %}
131 {%- if output.png_filename %}
132 <img src="{{output.png_filename | posix_path}}"
132 <img src="{{output.png_filename | posix_path}}"
133 {%- else %}
133 {%- else %}
@@ -143,8 +143,8 b" height={{output.metadata['png']['height']}}"
143 </div>
143 </div>
144 {%- endblock data_png %}
144 {%- endblock data_png %}
145
145
146 {% block data_jpg %}
146 {% block data_jpg scoped %}
147 <div class="output_jpeg output_subarea">
147 <div class="output_jpeg output_subarea{{extra_classes}}">
148 {%- if output.jpeg_filename %}
148 {%- if output.jpeg_filename %}
149 <img src="{{output.jpeg_filename | posix_path}}"
149 <img src="{{output.jpeg_filename | posix_path}}"
150 {%- else %}
150 {%- else %}
@@ -160,8 +160,8 b" height={{output.metadata['jpeg']['height']}}"
160 </div>
160 </div>
161 {%- endblock data_jpg %}
161 {%- endblock data_jpg %}
162
162
163 {% block data_latex %}
163 {% block data_latex scoped %}
164 <div class="output_latex output_subarea">
164 <div class="output_latex output_subarea{{extra_classes}}">
165 {{ output.latex }}
165 {{ output.latex }}
166 </div>
166 </div>
167 {%- endblock data_latex %}
167 {%- endblock data_latex %}
@@ -176,16 +176,16 b" height={{output.metadata['jpeg']['height']}}"
176 {{ line | ansi2html }}
176 {{ line | ansi2html }}
177 {%- endblock traceback_line %}
177 {%- endblock traceback_line %}
178
178
179 {%- block data_text %}
179 {%- block data_text scoped %}
180 <div class="output_text output_subarea">
180 <div class="output_text output_subarea{{extra_classes}}">
181 <pre>
181 <pre>
182 {{ output.text | ansi2html }}
182 {{ output.text | ansi2html }}
183 </pre>
183 </pre>
184 </div>
184 </div>
185 {%- endblock -%}
185 {%- endblock -%}
186
186
187 {%- block data_javascript %}
187 {%- block data_javascript scoped %}
188 <div class="output_subarea output_javascript">
188 <div class="output_subarea output_javascript{{extra_classes}}">
189 <script type="text/javascript">
189 <script type="text/javascript">
190 {{ output.javascript }}
190 {{ output.javascript }}
191 </script>
191 </script>
@@ -33,12 +33,6 b' pre {'
33 font-size: 13px;
33 font-size: 13px;
34 }
34 }
35
35
36 div#notebook_panel {
37 -webkit-box-shadow: none;
38 -moz-box-shadow: none;
39 box-shadow: none;
40 }
41
42 div#notebook {
36 div#notebook {
43 overflow: visible;
37 overflow: visible;
44 border-top: none;
38 border-top: none;
@@ -71,17 +65,11 b' div#notebook {'
71
65
72 {% block body %}
66 {% block body %}
73 <body>
67 <body>
74 <div style="display: block;" id="site" class="border-box-sizing">
68 <div tabindex="-1" id="notebook" class="border-box-sizing">
75 <div id="ipython-main-app" class="border-box-sizing">
69 <div class="container" id="notebook-container">
76 <div id="notebook_panel" class="border-box-sizing">
77 <div tabindex="-1" id="notebook" class="border-box-sizing">
78 <div class="container" id="notebook-container">
79 {{ super() }}
70 {{ super() }}
80 </div>
81 </div>
82 </div>
71 </div>
83 </div>
72 </div>
84 </div>
85 </body>
73 </body>
86 {%- endblock body %}
74 {%- endblock body %}
87
75
General Comments 0
You need to be logged in to leave comments. Login now