-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (63 loc) · 3.41 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
55
56
57
58
59
60
61
62
63
64
65
66
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Timerfy Countdown Timers</title>
</head>
<body>
<h1 class="text-center">Timerfy</h1>
<h2 class="text-center">
<small>Multiple timers for cooking, roasting, meetings, presentations and whatever else!</small>
</h2>
<section class="container">
<section class="container button-section text-center">
<button class="create-timer btn btn-primary">Create new timer</button>
<button class="start-all btn btn-primary">Start all timers</button>
<button class="stop-all btn btn-primary">Stop all timers</button>
<button class="stop-alarms btn btn-primary">Stop alarms</button>
</section>
<section class="timers-container"></section>
</section>
<audio id="alarmAudio" loop><source src="sounds/alarm-sound.wav" type="audio/wav" /></audio>
<script id="timer-template" type="text/html">
<div id="{timer-id}" class="timer input-area col-sm-6">
<div class="timer-label-container">
<h2 class="timer-label">{timer-label}</h2>
<div class="button-container">
<button type="button" class="btn btn-default btn-lg change-label"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></button>
<button type="button" class="btn btn-default btn-lg delete-timer"><span class="glyphicon glyphicon-trash"></span></button>
<button type="button" class="btn btn-default btn-lg reset-timer" disabled><span class="glyphicon glyphicon-repeat"></span></button>
<button type="button" class="btn btn-default btn-lg start-stop-btn"><span class="glyphicon glyphicon-play"></span></button>
</div>
</div>
<form style="display: none" class="change-label-container h3" onsubmit="return false">
<input class="change-label-input" />
<button class="btn btn-primary save-label">Save Label</button>
</form>
<div class="input-group timer-input-section">
<input type="number" name="hours" class="timer1-input form-control" placeholder="Hours" value="{hours}">
<span class="input-group-addon">:</span>
<input type="number" name="minutes" class="timer1-input form-control" placeholder="Minutes" value="{minutes}">
<span class="input-group-addon">:</span>
<input type="number" name="seconds" class="timer1-input form-control" placeholder="Seconds" value="{seconds}">
</div>
<div class="super-timer-area text-center">
<br>
<span class="h3"><span class="hours">00</span>:<span class="minutes">00</span>:<span class="seconds">00</span></span>
</div>
<p></p>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%;">
<span class="sr-only">0% Complete</span>
</div>
</div>
<hr>
</div>
</script>
<link defer rel="stylesheet" type="text/css" href="css/styles.css" />
<link defer rel="stylesheet" type="text/css" href="css/bootstrap.css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="js/timer-script.js"></script>
</body>
</html>