-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
139 lines (117 loc) · 4.68 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Tomato Sauce</title>
<!-- Bootstrap -->
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous">
<!-- Awesome Fonts -->
<link rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf"
crossorigin="anonymous">
<!-- Awesome Fonts -->
<link rel="stylesheet/less" text="type/css" href="static/css/style.less">
</head>
<body class="bg-light">
<header>
<div class="collapse bg-dark" id="navbarHeader">
<div class="container">
<div class="row">
<div class="col-7 py-4">
<h4 class="text-white">About</h4>
<p class="text-justify text-muted">
Tomato Sauce is an online tool to be used with the Pomodoro
Technique, a time management method developed by Francesco
Cirillo in the late 1980s. The technique uses a timer to break
down work into intervals, traditionally 25 minutes in length,
separated by short breaks. Each interval is known as a pomodoro,
from the Italian word for 'tomato', after the tomato-shaped
kitchen timer that Cirillo used as a university student
(<a href="https://en.wikipedia.org/wiki/Pomodoro_Technique" target="_blank">Wikipedia</a>)
</p>
</div>
<div class="col-4 offset-1 py-4">
<h4 class="text-white">Settings</h4>
<form>
<div class="form-row">
<div class="col">
<input class="form-control form-control-sm mb-2" type="number" placeholder="Pomodoro Duration">
</div>
<div class="col">
<input class="form-control form-control-sm mb-2" type="number" placeholder="Break Duration">
</div>
</div>
<div class="form-row">
<div class="col">
<input class="form-control form-control-sm mb-2" type="number" placeholder="Target">
</div>
<div class="col">
<button class="btn btn-sm btn-outline-success btn-block">Update</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-dark bg-dark">
<div class="container d-flex justify-content-between">
<a class="navbar-brand" href="#"><span class="font-weight-bold">Tomato</span> Sauce 🍅</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarHeader">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
</header>
<main class="container">
<div class="row mt-5">
<ul id="ball-container" class="col-lg-5 offset-1 d-flex">
</ul>
<div class="col-lg-5">
<p class="text-muted text-right">Remaining: <span id="remaining">6</span></p>
</div>
</div>
<div class="row mb-5">
<div id="timer-container" class="col-lg-10 offset-1 p-5 bg-white shadow-sm rounded">
<div class="row justify-content-center">
<h5 id="state-label" class="state-label-running">Idle</h5>
</div>
<div class="row justify-content-center">
<h1 class="display-1 my-5" id="time">00:00</h1>
</div>
<div class="row justify-content-center">
<button id="start" style="width: 140px" class="shadow btn btn-lg mx-2 btn-success">Start</button>
<!-- <button id="break" style="width: 140px" class="shadow btn btn-lg mx-2 btn-primary">Break</button> -->
<button id="reset" style="width: 140px" class="shadow btn btn-lg mx-2 btn-danger">Reset</button>
</div>
</div>
</div>
</main>
<footer class="text-muted">
<div class="container">
<hr>
<p>Copyright © 2019 <a href="https://github.com/leiteg" target="_blank">Gustavo Leite</a></p>
</div>
</footer>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<!-- Popper -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<!-- BootstrapJS -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<!-- LessCSS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/3.9.0/less.min.js" ></script>
<!-- The timer -->
<script src="static/js/timer.js"></script>
</body>
</html>