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