-
Notifications
You must be signed in to change notification settings - Fork 1
/
report.tpl
33 lines (30 loc) · 858 Bytes
/
report.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{# Load the basic template provided by Jupyter #}
{% extends 'basic.tpl' %}
{# Remove the warning output #}
{% block stream_stderr %}
{% endblock stream_stderr %}
{# Include only the cells tagged by show #}
{% block any_cell %}
{% if 'show' in cell['metadata'].get('tags', []) %}
{{ super() }}
{% else %}
{% endif %}
{% endblock any_cell %}
{% block header %}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
{% endblock header %}
{% block body %}
<body>
{{ super() }}
</body>
{% endblock body %}
{% block footer %}
</html>
{% endblock footer %}