-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamer.html
100 lines (88 loc) · 1.86 KB
/
beamer.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html {
font-family: sans-serif;
text-align: center;
}
h1 {
font-size: 50px;
}
.a {
text-decoration: none;
}
.button {
color: white;
border: none;
padding: 16px 40px;
font-size: 30px;
cursor: pointer;
}
.on {
background-color: #00CD6C;
}
.off {
background-color: #FF1F5B;
}
.source {
background-color: #A0B1BA;
}
.control {
background-color: #F28522;
}
.one-item-grid {
grid-column: 1/4;
}
hr {
background-color: gray;
}
#button-container {
margin-left: 30%;
margin-right: 30%;
display: grid;
grid-template-columns: auto auto auto;
}
</style>
</head>
<body>
<h1>Chill Beamer Control</h1>
<div id="button-container">
<div>
<p>Power on</p>
<p><a href="/on"><button class="button on">ON</button></a></p>
</div>
<div>
<p>Power off</p>
<p><a href="/off"><button class="button off">OFF</button></a></p>
</div>
<div></div>
<div class="one-item-grid"><hr></div>
<div>
<p>HDMI</p>
<p><a href="/hdmi"><button class="button source">HDMI</button></a></p>
</div>
<div>
<p>VGA</p>
<p><a href="/rgb"><button class="button source">VGA</button></a></p>
</div>
<div>
<p>Source search</p>
<p><a href="/source"><button class="button source">Search</button></a></p>
</div>
<div>
<p>Hide</p>
<p><a href="/hide"><button class="button control">Toggle</button></a></p>
</div>
<div>
<p>Freeze</p>
<p><a href="/freeze"><button class="button control">Toggle</button></a></p>
</div>
<div>
<p>Re-sync</p>
<p><a href="/re-sync"><button class="button control">Re-sync</button></a></p>
</div>
</div>
</body>
</html>