-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpage.h
74 lines (63 loc) · 1.57 KB
/
webpage.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
62
63
64
65
66
67
68
69
70
71
72
73
74
const char index_html[] PROGMEM = R"rawliteral(
<!DOCTYPE HTML>
<html>
<head>
<title>LED Control</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html {
font-family: Sans-Serif;
display: block;
background-color: #222831;
color: #EEEEEE;
text-align: center
}
p {
color: #EEEEEE;
}
h2 {
font-size: 3.0rem;
color: #7BC74D
}
input {
background-color: #393E46;
color: #EEEEEE
}
button {
background-color: #393E46;
color: #EEEEEE
}
form {
padding: 15px
}
div.borderdiv{
margin:auto;
text-align:center;
border-style:double;
width: 50%;
}
;
</style>
</head>
<body>
<h2>LED Control</h2>
<div class="borderdiv">
<form action="/">
<p>Pick a color:</p><input type="color" name="picker_input" id="picker" value="#010101"/>
<br>
<br>
<p>Select display type:</p>
<input type="radio" id="solid" name="display_input" value="0">Solid Color <br>
<br>
<input type="radio" id="breathing" name="display_input" value="1">Breathing <br>
<br>
<input type="radio" id="basicAV" name="display_input" value="2">Basic Audio-Visualizer <br>
<br>
<input type="radio" id="spectrum" name="display_input" value="3">Color Spectrum<br>
<br>
<br>
<input type="submit" value="Submit">
</form>
</div>
</body>
</html>)rawliteral";