##// END OF EJS Templates
Added output specific ouput_* classes
Jonathan Frederic -
Show More
@@ -111,11 +111,13 b' unknown type {{ cell.type }}'
111 {%- endblock stream_stderr %}
111 {%- endblock stream_stderr %}
112
112
113 {% block data_svg -%}
113 {% block data_svg -%}
114 <div class="output_svg output_subarea">
114 {%- if output.svg_filename %}
115 {%- if output.svg_filename %}
115 <img src="{{output.svg_filename | posix_path}}"
116 <img src="{{output.svg_filename | posix_path}}"
116 {%- else %}
117 {%- else %}
117 {{ output.svg }}
118 {{ output.svg }}
118 {%- endif %}
119 {%- endif %}
120 </div>
119 {%- endblock data_svg %}
121 {%- endblock data_svg %}
120
122
121 {% block data_html -%}
123 {% block data_html -%}
@@ -125,6 +127,7 b' unknown type {{ cell.type }}'
125 {%- endblock data_html %}
127 {%- endblock data_html %}
126
128
127 {% block data_png %}
129 {% block data_png %}
130 <div class="output_png output_subarea">
128 {%- if output.png_filename %}
131 {%- if output.png_filename %}
129 <img src="{{output.png_filename | posix_path}}"
132 <img src="{{output.png_filename | posix_path}}"
130 {%- else %}
133 {%- else %}
@@ -137,9 +140,11 b" width={{output.metadata['png']['width']}}"
137 height={{output.metadata['png']['height']}}
140 height={{output.metadata['png']['height']}}
138 {%- endif %}
141 {%- endif %}
139 >
142 >
143 </div>
140 {%- endblock data_png %}
144 {%- endblock data_png %}
141
145
142 {% block data_jpg %}
146 {% block data_jpg %}
147 <div class="output_jpeg output_subarea">
143 {%- if output.jpeg_filename %}
148 {%- if output.jpeg_filename %}
144 <img src="{{output.jpeg_filename | posix_path}}"
149 <img src="{{output.jpeg_filename | posix_path}}"
145 {%- else %}
150 {%- else %}
@@ -152,6 +157,7 b" width={{output.metadata['jpeg']['width']}}"
152 height={{output.metadata['jpeg']['height']}}
157 height={{output.metadata['jpeg']['height']}}
153 {%- endif %}
158 {%- endif %}
154 >
159 >
160 </div>
155 {%- endblock data_jpg %}
161 {%- endblock data_jpg %}
156
162
157 {% block data_latex %}
163 {% block data_latex %}
General Comments 0
You need to be logged in to leave comments. Login now