-
Notifications
You must be signed in to change notification settings - Fork 11
/
template.html
72 lines (62 loc) · 1.54 KB
/
template.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
<!DOCTYPE HTML>
<html>
<head>
<title>Veejay status</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="refresh" content="30">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<style>
body {
background: black;
color: white;
margin: 1em;
}
* {
font-family: 'Open Sans', sans-serif;
}
div.control {
white-space: nowrap;
display: table-cell;
font-size: 2em;
padding: 0.5em;
padding-left: 1em;
}
.start { background: #01579b; }
.stop { background: #bf360c; }
.logo { background: #212121; }
div.control input {
font-size: 1em;
padding: 0.5em;
color: white;
font-weight: bold;
margin-left: 0.5em;
}
h1 { padding-bottom:0; margin-bottom:0; }
a { color: gray; }
</style>
<body>
<form action="/cmd">
<h1>Veejay</h1>
<a href="https://github.com/jsharkey/wycliffe">https://github.com/jsharkey/wycliffe</a>
<div style="margin: 1em 0 1em 0;">
<div class="control $cur">$curLabel <input type="submit" name="$next" value="$nextLabel »" class="$next" /> <input type="submit" name="logo" value="LOGO »" class="logo" /></div>
</div>
<!--
<h2>Active video preset</h2>
<div>Last switch to $curVideo about $curVideoAgo ago</div>
-->
<h2>Active audio channels</h2>
<div>$curAudio</div>
<!--
<h2>Dante</h2>
<div>Last RMS signal $danteRmsAgo ago</div>
<div>Last reboot $danteRebootAgo ago</div>
-->
<h2>Debug logs</h2>
<pre>
$debugLog
</pre>
</form>
</body>
</html>