forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate_structure.html
57 lines (47 loc) · 1.73 KB
/
template_structure.html
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!--
This is an HTML fragment that gets included into a notebook & rst document
Inspired by nbconvert
https://github.com/jupyter/nbconvert/blob/8ac591a0b8694147d0f34bf6392594c2811c1395/docs/source/template_structure.html
-->
<style type="text/css">
/* Overrides of notebook CSS for static HTML export */
.template_block {
background-color: hsla(120, 60%, 70%, 0.2);
margin: 10px;
padding: 5px;
border: 1px solid hsla(120, 60%, 70%, 0.5);
border-left: 2px solid black;
}
.template_block pre {
background: transparent;
padding: 0;
}
.big_vertical_ellipsis {
font-size: 24pt;
}
</style>
<div class="template_block">before_style</div>
<div class="template_block">style
<pre><style type="text/css"></pre>
<div class="template_block">table_styles</div>
<div class="template_block">before_cellstyle</div>
<div class="template_block">cellstyle</div>
<pre></style></pre>
</div><!-- /style -->
<div class="template_block" >before_table</div>
<div class="template_block" >table
<pre><table ...></pre>
<div class="template_block">caption</div>
<div class="template_block" >thead
<div class="template_block" >before_head_rows</div>
<div class="template_block">head_tr (loop over headers)</div>
<div class="template_block" >after_head_rows</div>
</div>
<div class="template_block" >tbody
<div class="template_block" >before_rows</div>
<div class="template_block">tr (loop over data rows)</div>
<div class="template_block" >after_rows</div>
</div>
<pre></table></pre>
</div><!-- /table -->
<div class="template_block" >after_table</div>