-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (37 loc) · 1.75 KB
/
Copy pathindex.html
File metadata and controls
39 lines (37 loc) · 1.75 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>B A L A N C E</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container mt-5">
<div class="display-1">B A L A N C E</div>
<p>A simple way to track your productivity.</p>
<div id="timer">
<div id="timer-bar">
<div class="progress">
<div id="progress-neg-left" class="progress-bar" style="width: 0%; background-color:transparent"></div>
<div id="progress-neg" class="progress-bar bg-danger" style="width: 0%"></div>
<div id="progress-pos" class="progress-bar bg-success" style="width: 0%"></div>
</div>
</div>
<div id="timer-counter"></div>
<div id="timer-controls">
<button class="btn btn-link float-right" id="timer-set">Set Time</button>
<button class="btn btn-success" id="timer-start-add" disabled>Productive</button>
<button class="btn btn-danger" id="timer-start-sub">Unproductive</button>
<button class="btn btn-link" id="timer-stop">Stop</button>
</div>
</div>
</div>
<script src="timer.js"></script>
</body>
</html>