-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtemplate.html
59 lines (59 loc) · 2.2 KB
/
template.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
58
59
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ title if title else "Bokeh Plot" }}</title>
{{ bokeh_js|indent(8)|safe }}
{{ bokeh_css|indent(8)|safe }}
{{ plot_script|indent(8)|safe }}
</head>
<body>
<div class="bk-bs-container">
<h1>{{ title if title else "Bokeh Plot" }}</h1>
</div>
{% if dbdesc and dbdesc != "" %}
<div class="bk-bs-container">
<strong>{{ dbdesc_name if dbdesc_name else "Database Description:"}}</strong> {{ dbdesc if dbdesc }}
</div>
{% endif %}
{% if description and description != "" %}
<div class="bk-bs-container">
<strong>{{ description_name if description_name else "Workload Description:"}}</strong> {{ description if description }}
</div>
{% endif %}
{% if errors and errors != "" %}
<div class="bk-bs-container">
<strong>{{ errors_name if errors_name else "Errors:"}}</strong> {{ errors if errors }}
</div>
{% endif %}
{% if warnings and warnings != "" %}
<div class="bk-bs-container">
<strong>{{ warnings_name if warnings_name else "Warnings:"}}</strong> {{ warnings if warnings }}
</div>
{% endif %}
{% if exceptions and exceptions != "" %}
<div class="bk-bs-container">
<strong>{{ exceptions_name if exceptions_name else "Exceptions:"}}</strong> {{ exceptions if exceptions }}
</div>
{% endif %}
<div class="bk-bs-container">
{{ plot_div | safe }}
</div>
<div class="bk-bs-container">
<div class="bk-bs-row">
<div class="bk-bs-col-md-4">
<h3>{{ results_table_name }}</h3>
<table class="bk-bs-table">
{{ results_table }}
</table>
</div>
<div class="bk-bs-col-md-6">
<h3>{{ block_results_table_name }}</h3>
<table class="bk-bs-table">
{{ block_results_table }}
</table>
</div>
</div>
</div>
</body>
</html>