-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (114 loc) · 5.37 KB
/
index.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<!--
Copyright: Japannext Co., Ltd. <https://www.japannext.co.jp/>
SPDX-License-Identifier: Apache-2.0
-->
<html>
<head>
<title>Latest puppet logs: Aggregated</title>
<link rel="icon" href="favicon.svg" type="image/svg+xml"/>
<!-- external libs from cdnjs -->
<script type="text/javascript" src="github.com/components/jquery/raw/3.6.0/jquery.js"></script>
<script type="text/javascript" src="github.com/components/jqueryui/raw/1.12.1/jquery-ui.js"></script>
<script type="text/javascript" src="github.com/plotly/plotly.js/raw/v1.58.5/dist/plotly-basic.js"></script>
<link rel="stylesheet" type="text/css" href="github.com/nicolaskruchten/pivottable/raw/v2.23.0/dist/pivot.css">
<script type="text/javascript" src="github.com/nicolaskruchten/pivottable/raw/v2.23.0/dist/pivot.js"></script>
<script type="text/javascript" src="github.com/nicolaskruchten/pivottable/raw/v2.23.0/dist/plotly_renderers.js"></script>
<script type="text/javascript" src="puppetlogs.local.js"></script>
<script type="text/javascript" src="puppetlogs.js"></script>
<style>
body {
font-family: Verdana;
margin: 0;
}
.pvtAttr, .pvtAggregator { font-size: xx-small; }
.error { background-color: #fbb; }
.error::before { content: " 🆖 "; }
.active { background-color: #ffc; }
.active::before { content: " ⏳ "; }
.ready { background-color: #cfc; }
.ready::before { content: " 🆗 "; }
#header {
padding: 1em;
background-color: #eee;
position: sticky;
top: 0px;
border: 1px solid black;
}
#body {
margin: 1em;
}
.header_container {
display: inline;
border-width: 1px 1px 1pt 1px;
border-color: black;
border-style: solid;
padding: 1ex 1ex 1ex 1ex;
}
#configuration_container { background-color: #eee; }
#file_container { background-color: #ccc; }
#custom_configuration_content {
width: 100%;
height: 50em;
font-size: x-small;
}
#bookmark {
text-decoration: none;
}
#bookmark > div {
background-color:wheat;
}
#current_file {
font-family: monospace;
font-weight: bold;
padding: 0.5ex 1em 0.5ex 1em;
text-decoration: none;
}
table.pvtTable thead tr:nth-child(odd) th, table.pvtTable tbody tr:nth-child(odd) th, table.pvtTable tbody tr:nth-child(odd) td {
background-color: #eee;
}
table.pvtTable thead tr:nth-child(even) th, table.pvtTable tbody tr:nth-child(even) th, table.pvtTable tbody tr:nth-child(even) td {
background-color: #ddd;
}
</style>
</head>
<body>
<div id="header">
<a href="#" id="bookmark" title="Copy this link to bookmark this configuration."><div class="header_container">🔖</span></div></a><!--
--><div class="header_container">
<select id="configuration" title="Pre-defined table configurations."></select>
<input id="filter_age" type="button" value="24h" title="Filter only the age=0" />
<input id="filter_changes" type="button" value="Changes" title="Filter only the changes!=0" />
<input id="filter_prod" type="button" value="Prod" title="Filter only the production environments" />
<input id="filter_test" type="button" value="Test" title="Filter only the testing environments" />
<input id="filter_dev" type="button" value="Dev" title="Filter only the development environments" />
<input id="filter_official" type="button" value="[DTP]" title="Filter only the official environments" />
</div>
<div class="header_container" id="file_container">
<span><a title="The currently loaded file. Only the 'latest' one is regularly updated." id='current_file'>...</a></span>
<input id="latest" type="button" value="🆕" title="Load (or reload) the most recent report." />
<input id="last_day" type="button" value="➖" title="Go to the previous day" /><!--
--><input id="date_selector" type="date" title="Load the latest report for a different day" /><!--
--><input id="next_day" type="button" value="➕" title="Go to the next day" />
</div>
<div class="header_container">
<input id="rotate_button" type="button" value="🔃" title="Switch the location of the unused attributes" />
</div>
</div>
<div id="body">
<hr />
<div id="output"></div>
<hr />
<p>
<a href="https://github.com/nicolaskruchten/pivottable/wiki/Parameters#options-object-for-pivotui">Configuration documentation</a>
</p>
<p id="custom_configuration_container">
<input id="custom_configuration_button" type="button" value="Apply custom configuration" />
<textarea id="custom_configuration_content" spellcheck="false" >{}</textarea>
</p>
</div>
</body>
</html>
<!--
vim:sw=4:et:
-->