forked from chrismelba/lightclockwifiv2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroot.h
61 lines (59 loc) · 2.27 KB
/
root.h
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
const char root_html[] PROGMEM = R"=====(
<!DOCTYPE HTML>
<html><head>
<meta http-equiv=Content-Type content='text/html; charset=utf-8' />
<meta name=viewport content='width=device-width, initial-scale=1.0'>
$externallinks
$csswgradient
</head>
<body class=settings-page>
<div id='canvasholder'>
<canvas id='canvas'></canvas>
</div>
<form action=/ method=GET>
<div class="color-section">
<div class="color-box">
<label>Hour Colour</label>
<input type='text' name = 'hourcolorspectrum' id='hourcolorspectrum' value='$hourcolor'/>
<input type='hidden' name = 'hourcolor' id = 'hourcolor' value = '$hourcolor'>
</div>
<div class="color-box">
<label>Minute Colour</label>
<input type='text' name='minutecolorspectrum' id='minutecolorspectrum' value='$minutecolor'/>
<input type='hidden' name = 'minutecolor' id = 'minutecolor' value = '$minutecolor'/>
</div>
</div>
<div class="slide-section">
<div class="point-slide">
<label>Blend Point</label>
<input type='range' id= 'blendpoint' name='blendpoint' value=$blendpoint>
</div>
<div class="point-slide">
<label>Brightness</label>
<input type='range' id= 'brightness' name='brightness' value=$brightness>
</div>
</div>
<div class="btn-box scheme1">
<input class='btn btn-sm' type='submit' name='submit' value='Save Scheme 1' />
<input class='btn btn-sm' type='submit' name='submit' value='Load Scheme 1' />
</div>
<div class="btn-box scheme2">
<input class='btn btn-sm' type='submit' name='submit' value='Save Scheme 2' />
<input class='btn btn-sm' type='submit' name='submit' value='Load Scheme 2' />
</div>
<div class="btn-box scheme3">
<input class='btn btn-sm' type='submit' name='submit' value='Save Scheme 3' />
<input class='btn btn-sm' type='submit' name='submit' value='Load Scheme 3' />
</div>
<div class="btn-box">
<a class="btn btn-default" href=/alarm>Set Alarm</a>
</div>
<div class="btn-footer">
<a class="btn btn-default" href=/settings>Settings</a>
<input class='btn btn-green' type=submit name=submit value='Update The Light Clock'/>
</div>
</form>
<div class="bottomspacer">
</body>
</html>
)=====";