##// END OF EJS Templates
Fixed mathjax inline and some not implemented notice.
Fixed mathjax inline and some not implemented notice.

File last commit:

r9637:1829793e
r9663:a14dc4a7
Show More
basichtml.tpl
147 lines | 3.0 KiB | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'display_priority.tpl' -%}
{% block codecell %}
<div class="cell border-box-sizing code_cell vbox">
{{ super() }}</div>
{%- endblock codecell %}
{% block input_group -%}
<div class="input hbox">
{{super()}}
</div>
{% endblock input_group %}
{% block output_group -%}
<div class="output_wrapper">
<div class="output vbox">
{{ super() }}
</div>
</div>
{% endblock output_group %}
{% block in_prompt -%}
<div class="prompt input_prompt">In&nbsp;[{{cell.prompt_number}}]:</div>
{%- endblock in_prompt %}
{% block output_prompt -%}
<div class="prompt output_prompt">
<div class="output vbox">
{%- if cell.haspyout -%}
Out[{{cell.prompt_number}}]:
{%- endif -%}
</div>
</div>
{% endblock output_prompt %}
{% block input %}
<div class="input_area box-flex1">
{{cell.input | highlight }}
</div>
{%- endblock input %}
{% block markdowncell scoped %}
<div class="text_cell_render border-box-sizing rendered_html">
{{ cell.source | markdown| rm_fake}}
</div>
{%- endblock markdowncell %}
{% block headingcell scoped %}
<div class="text_cell_render border-box-sizing rendered_html">
<h{{cell.level}}>
{{cell.source}}
</h{{cell.level}}>
</div>
{% endblock headingcell %}
{% block rawcell scoped %}
{{ cell.source }}
{% endblock rawcell %}
{% block unknowncell scoped %}
unknown type {{cell.type}}
{% endblock unknowncell %}
{% block pyout -%}
<div class="hbox output_area">
<div class="prompt"></div>
<div class="box-flex1 output_subarea output_pyout">
{% block data_priority scoped %}{{ super()}}{% endblock %}
</div>
</div>
{%- endblock pyout %}
{% block stream_stdout -%}
<div class="hbox output_area">
<div class="prompt"></div>
<div class="box-flex1 output_subarea output_stream output_stdout">
<pre>{{output.text |ansi2html}}</pre>
</div>
</div>
{%- endblock stream_stdout %}
{% block stream_stderr -%}
<div class="hbox output_area">
<div class="prompt"></div>
<div class="box-flex1 output_subarea output_stream output_stderr">
<pre>{{output.text |ansi2html}}</pre>
</div>
</div>
{%- endblock stream_stderr %}
{% block data_svg -%}
{{output.svg}}
{%- endblock data_svg %}
{% block data_html -%}
<div class="output_html rendered_html">
{{output.html}}
</div>
{%- endblock data_html %}
{% block data_png %}
<img src="data:image/png;base64,{{output.png}}"></img>
{%- endblock data_png %}
{% block data_jpg %}
<img src="data:image/jpeg;base64,{{output.jpeg}}"></img>
{%- endblock data_jpg %}
{% block data_latex %}
{{output.latex}}
{%- endblock data_latex %}
{% block pyerr -%}
<div class="hbox output_area">
<div class="prompt"></div>
<div class="box-flex1 output_subarea output_pyerr">
<pre>{{super()}}</pre>
</div>
</div>
{%- endblock pyerr %}
{%- block traceback_line %}
{{line| ansi2html}}
{%- endblock traceback_line %}
{%- block data_text %}
<pre>{{output.text | ansi2html}}</pre>
{%- endblock -%}
{%- block display_data scoped -%}
<div class="hbox output_area">
<div class="prompt"></div>
<div class="box-flex1 output_subarea output_display_data">
{{super()}}
</div>
</div>
{%- endblock display_data -%}