This repository was archived by the owner on Nov 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhtml_defaultHtml.h
More file actions
52 lines (50 loc) · 1.5 KB
/
html_defaultHtml.h
File metadata and controls
52 lines (50 loc) · 1.5 KB
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
const char HTTP_DEFAULTHTML[] PROGMEM = R"=====(
<div style='text-align:left;display:inline-block;min-width:260px;'>
<div class='fbg'>
<div class='l lt'>
<label>{v}</label>
<hr />
</div>
<table>
<tr>
<td>
<button name='btnR1' onclick='SetState("/set?ch=1&state=1&ts=1"); return false;'>AN</button>
</td>
<td>
<button name='btnR2' onclick='SetState("/set?ch=2&state=1&ts=1"); return false;'>AN</button>
</td>
</tr>
<tr class='ls'>
<td>
<label id='_ls1'>{ls1}</label>
</td>
<td>
<label id='_ls2'>{ls2}</label>
</td>
</tr>
<tr>
<td>
<button name='btnR1' onclick='SetState("/set?ch=1&state=0&ts=1"); return false;'>AUS</button>
</td>
<td>
<button name='btnR2' onclick='SetState("/set?ch=2&state=0&ts=1"); return false;'>AUS</button>
</td>
</tr>
</table>
<div></div>
<hr />
<div></div>
<div>
<input class='lnkbtn' type='button' value='Konfiguration' onclick="window.location.href='/config'" />
</div>
<div class='l c k'>
<label>Firmware: {fw}</label>
</div>
<div>
<input class='fwbtn' id='fwbtn' type='button' value='Neue Firmware verfügbar' onclick="window.open('{fwurl}')" />
</div>
<div>
<input class='fwbtn' id='fwbtnupdt' type='button' value='Firmwaredatei einspielen' onclick="window.location.href='/update'" />
</div>
</div>
)=====";