##// END OF EJS Templates
Make traitlets notify check more robust against classes redefining equality and bool...
Make traitlets notify check more robust against classes redefining equality and bool Before this change, numpy arrays caused problems since comparing two numpy arrays returns an array of truth values, rather than a single truth value. This change guards against redefining the semantics of comparison by notifying on a trait change if the equality comparison returns anything other than an explicit True value.

File last commit:

r14154:0c4fee9d
r15462:e1b4ab8c
Show More
full.tpl
54 lines | 872 B | application/vnd.groove-tool-template | SmartyLexer
Thomas Kluyver
Move html templates into separate folder
r14047 {%- extends 'basic.tpl' -%}
damianavila
Changed name of file from math to mathjax.
r14154 {% from 'mathjax.tpl' import mathjax %}
Matthias BUSSONNIER
null template
r8997
damianavila
Redo of fixing templates structure.
r11770
{%- block header -%}
<!DOCTYPE html>
Matthias BUSSONNIER
null template
r8997 <html>
<head>
damianavila
Some changes to improve readibility.
r12889
damianavila
Added closing slash to meta.
r12890 <meta charset="utf-8" />
damianavila
Added title to full_html and slides.
r12891 <title>{{resources['metadata']['name']}}</title>
damianavila
Some changes to improve readibility.
r12889
Matthias BUSSONNIER
move html header out
r9490 {% for css in resources.inlining.css -%}
damianavila
Redo of fixing templates structure.
r11770 <style type="text/css">
{{ css }}
</style>
Matthias BUSSONNIER
modularize inlining
r9048 {% endfor %}
damianavila
Fixed css in reveal template and move static_html css to full_html template.
r9563
<style type="text/css">
/* Overrides of notebook CSS for static HTML export */
body {
overflow: visible;
padding: 8px;
}
.input_area {
Matthias BUSSONNIER
some css fixes due to pygment highlighter...
r10817 padding: 0.2em;
}
pre {
damianavila
Some changes to improve readibility.
r12889 padding: 0.2em;
border: none;
margin: 0px;
font-size: 13px;
damianavila
Fixed css in reveal template and move static_html css to full_html template.
r9563 }
</style>
damianavila
Added (to full_html and reveal templates) the possbility to read a custom.css file for tweaking the final html.
r11247 <!-- Custom stylesheet, it must be in the same directory as the html file -->
<link rel="stylesheet" href="custom.css">
damianavila
Added a math jinja macro containing the scripts to load mathjax.
r14150 <!-- Loading mathjax macro -->
damianavila
Added missing braces.
r14151 {{ mathjax() }}
damianavila
Added a math jinja macro containing the scripts to load mathjax.
r14150
Matthias BUSSONNIER
null template
r8997 </head>
{%- endblock header -%}
{% block body %}
damianavila
Redo of fixing templates structure.
r11770 <body>
{{ super() }}
Matthias BUSSONNIER
svgoutput
r9039 </body>
{%- endblock body %}
Matthias BUSSONNIER
null template
r8997
{% block footer %}
damianavila
Redo of fixing templates structure.
r11770 </html>
Thomas Kluyver
Move html templates into separate folder
r14047 {% endblock footer %}