-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (48 loc) · 1.92 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>R.O.A.C.H.</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="/css/site.css" />
</head>
<body>
<header>
<div class="text-center">
<h1 class="display-4">R.O.A.C.H.</h1>
<p>Roaming Ochtend Alarm Clock from Hell</p>
</div>
</header>
<div class="container">
<main role="main" class="pb-3">
<form>
<fieldset id="fields" disabled>
<h2>Alarm</h2>
<h4>Status: <span id="alarmstate"></span><span id="remainingtime"></span></h4>
<div class="form-group">
<label for="datum">Datum</label><input class="form-control" id="datum" name="datum" type="date" required/>
</div>
<div class="form-group">
<label for="tijd">Tijd</label><input class="form-control" id="tijd" name="tijd" type="time" required/>
</div>
<div class="form-check">
<input class="form-check-input" id="armed" name="armed" type="checkbox"/><label class="form-check-label" for="armed">Alarm aan</label>
</div>
<button id="submitbutton" type="button" class="btn btn-primary">Opslaan</button><span id="result"></span>
</fieldset>
</form>
<div id="loading"></div>
</main>
</div>
<footer class="border-top footer text-muted">
<div class="container">
© 2019 - Roach
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/paho-mqtt/1.0.1/mqttws31.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
<script src="/js/site.js"></script>
</body>
</html>