-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (41 loc) · 1.72 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Coffin</title>
<link rel="stylesheet" href="./css/main.css">
</head>
<body class="app" id="index">
<img src="sleep.png" alt="sleep"class="logo">
<div class="input-group cols no-label">
<div class="input-wrapper col col1 w-70">
<input type="time" id="alarmTime" min="00:00:00" max="23:59:59" />
</div>
<div class="button-wrapper col col2 w-30">
<button onclick="setTime()">Set wakeup time</button>
</div>
</div>
<div class="label-group">
<span class="label-group-title"><label id="sleepTimes"> </label></span>
<div class="cols sleep-times">
<div class="col w-30"><label id="lblcheck0"> </label></div>
<div class="col w-30"><label id="lblcheck1"> </label></div>
<div class="col w-30"><label id="lblcheck2"> </label></div>
<div class="col w-30"><label id="lblcheck3"> </label></div>
<div class="col w-30"><label id="lblcheck4"> </label></div>
<div class="col w-30"><label id="lblcheck5"> </label></div>
</div>
</div>
<label id="lblTime"> </label>
<!-- All of the Node.js APIs are available in this renderer process. -->
<script type="text/javascript">
document.getElementById("alarmTime").value = "07:30:00";
document.addEventListener("DOMContentLoaded", _ => {readPreferences();});
</script>
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", _ => {getLatestReleaseInfo();});
</script>
<script>window.$ = window.jQuery = require('jquery');</script>
<script src="./js/script.js"></script>
</body>
</html>