changxin commited on
Commit
8829c1f
·
1 Parent(s): b0241f7

Create new file

Browse files
templates/nb_jupyter_notebook_tab.html ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% import 'macro' as macro %}
2
+
3
+ <script>
4
+ require.config({
5
+ paths: {
6
+ {{ config_items | join(', ') }}
7
+ }
8
+ });
9
+ </script>
10
+
11
+ {{ macro.generate_tab_css() }}
12
+ {{ macro.display_tablinks(charts) }}
13
+
14
+ {% for chart in charts %}
15
+ {% if chart._component_type in ("table", "image") %}
16
+ {{ macro.gen_components_content(chart) }}
17
+ {% else %}
18
+ <div id="{{ chart.chart_id }}" class="chart-container" style="width:{{ chart.width }}; height:{{ chart.height }};"></div>
19
+ {% endif %}
20
+ {% endfor %}
21
+
22
+ {{ macro.render_notebook_charts(charts, libraries) }}
23
+ {{ macro.switch_tabs() }}