-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (45 loc) · 1.87 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
<!DOCTYPE html>
<html>
<head>
<title>Pinger</title>
<meta charset="UTF-8" />
<meta name="author" content="Vikram Jaswal" />
<!-- CSS -->
<link rel="stylesheet" href="styles/style_mod.css" />
<!-- JS -->
<!-- dist -->
<script defer type="text/javascript" src="./dist/scripts/controllers/PingController.js"></script>
<script defer type="text/javascript" src="./dist/scripts/index.js"></script>
<!-- src -->
<!-- <script defer type="text/javascript" src="./src/scripts/controllers/PingController.js"></script> -->
<!-- <script defer type="text/javascript" src="./src/scripts/index.js"></script> -->
</head>
<body>
<h1>Pinger</h1>
<form onsubmit="return false;">
<label>
Ping me after
<input id="duration" type="number" min="0" />
</label>
<select id="unit">
<option value="s">Seconds</option>
<option value="m">Minutes</option>
<option value="h">Hours</option>
</select>
<label>
and say
<input type="text" id="alarm_text" placeholder="something ..."/>
</label>
<label>
<small>( Keep pinging me always ? )</small>
<input type="checkbox" id="is_recurring" />
</label>
<button id="toggle_alarm" class="setup">Setup Ping</button>
</form>
<div id="ping_view" style="display:none;">
<p id="ping_count_container">Ping count : <span id="ping_count">N/A</span></p>
<p id="last_pinged_at_container">Last pinged at : <span id="last_pinged_at">N/A</span></p>
<p id="ping_started_at_container">Ping started at : <span id="ping_started_at">N/A</span></p>
</div>
</body>
</html>