Create new file
Browse files- templates/jupyter_lab.html +16 -0
templates/jupyter_lab.html
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% import 'macro' as macro %}
|
| 2 |
+
<!DOCTYPE html>
|
| 3 |
+
<html>
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8">
|
| 6 |
+
</head>
|
| 7 |
+
<body>
|
| 8 |
+
{% for chart in charts %}
|
| 9 |
+
{% if chart._component_type in ("table", "image") %}
|
| 10 |
+
{{ macro.gen_components_content(chart) }}
|
| 11 |
+
{% else %}
|
| 12 |
+
{{ macro.render_chart_content(chart) }}
|
| 13 |
+
{% endif %}
|
| 14 |
+
{% endfor %}
|
| 15 |
+
</body>
|
| 16 |
+
</html>
|