-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
166 lines (155 loc) Β· 5.2 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta
http-equiv="Content-Security-Policy"
content="default-src *; style-src 'self' http://* 'unsafe-inline'; script-src 'self' http://* 'unsafe-inline' 'unsafe-eval'"
/>
<script
src="https://kit.fontawesome.com/1467784813.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="style.css" />
<title>coolm1</title>
</head>
<body>
<div class="buttons">
<div class="close" id="close"></div>
</div>
<div style="display: flex">
<div
class="chart-container mr-4 mb-1"
style="position: relative; height: 250px; width: 85vw"
>
<canvas id="mainChart"></canvas>
</div>
<div style="display: flex; flex-direction: column; align-items: flex-end">
<div class="dropleft">
<button
class="btn btn-primary dropdown-toggle mt-1"
type="button"
id="dropdownMenuButton"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
<i class="fas fa-sync"></i>
<span class="caret"></span>
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<p class="dropdown-header font-weight-light">Refresh rate</p>
<a class="dropdown-item font-weight-light" id="refresh_1s" href="#"
>1 second</a
>
<a class="dropdown-item font-weight-light" id="refresh_5s" href="#"
>5 seconds</a
>
<a class="dropdown-item font-weight-light" id="refresh_15s" href="#"
>15 seconds</a
>
<a class="dropdown-item font-weight-light" id="refresh_30s" href="#"
>30 seconds</a
>
</div>
</div>
<div class="dropleft">
<button
class="btn btn-primary dropdown-toggle mt-1"
type="button"
id="dropdownMenuButton"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
<i class="fas fa-history"></i>
<span class="caret"></span>
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<p class="dropdown-header font-weight-light">Interval</p>
<a
class="dropdown-item font-weight-light"
id="interval_30s"
href="#"
>30 seconds</a
>
<a class="dropdown-item font-weight-light" id="interval_1m" href="#"
>1 minute</a
>
<a class="dropdown-item font-weight-light" id="interval_5m" href="#"
>5 minutes</a
>
<a
class="dropdown-item font-weight-light"
id="interval_10m"
href="#"
>10 minutes</a
>
</div>
</div>
<div class="dropleft">
<button
class="btn btn-primary dropdown-toggle mt-1"
type="button"
id="dropdownMenuButton"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
<i class="fas fa-cog"></i>
<span class="caret"></span>
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<!-- <p class="dropdown-header font-weight-light">Settings</p> -->
<a class="dropdown-item font-weight-light" href="#" id="light_theme"
>Light theme</a
>
<a class="dropdown-item font-weight-light" href="#" id="dark_theme"
>Dark theme</a
>
<div class="dropdown-divider"></div>
<a class="dropdown-item font-weight-light" href="#" id="show_labels"
>Show labels</a
>
<div class="dropdown-divider"></div>
<a class="dropdown-item font-weight-light" href="#" id="autostart"
>Autostart</a
>
<a class="dropdown-item font-weight-light" href="#" id="showtemp"
>Show temp in tray</a
>
</div>
</div>
</div>
</div>
<button type="button" class="btn btn-primary m-2" id="showallbutton">
Show all sensors
</button>
<div class="m-2" id="buymeacoffee" style="float: right; font-size: smaller">
<img
src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=andreivdev&button_colour=5F7FFF&font_colour=ffffff&font_family=Arial&outline_colour=000000&coffee_colour=FFDD00"
width="135"
/>
</div>
<br />
<div
class="chart-containe m-1"
style="position: relative; height: 160px; width: 85vw"
>
<canvas id="cpuChart"></canvas>
</div>
<div
class="chart-containe m-1"
style="position: relative; height: 160px; width: 85vw"
>
<canvas id="gpuChart"></canvas>
</div>
<div
class="chart-containe m-1"
style="position: relative; height: 160px; width: 85vw"
>
<canvas id="aneChart"></canvas>
</div>
<script src="index.js"></script>
</body>
</html>