-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
102 lines (79 loc) · 3.46 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
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="lumen-theme.min.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz" />
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<div id="header">
<h1>Pomodoro Clock<br/><small>for FreeCodeCamp.com</small></h1>
</div>
<div class="container">
<div class="row">
<!-- work time label and controls -->
<div class="col-xs-12 list-label" id="workLabel">Work Time</div>
<div class="col-xs-12 work">
<ul class="list-inline">
<li><button class="btn btn-primary btn-sm" id="workMinusBtn">-</button></li>
<li class="number">
<form>
<div class="form-group">
<input type="text" class="form-inline" value="25" id="workTimeInput"></input>
</div>
</form>
</li>
<li><button class="btn btn-primary btn-sm" id="workPlusBtn">+</button></li>
</ul>
</div>
<!-- end work time label and controls -->
<!-- clock ticker -->
<div class="col-xs-12">
<div class="clock">
<div class="clock-inside">
<div class="timer">Click here to start</div>
<div class="ticker"></div>
</div>
</div>
</div>
<!-- end clock ticker -->
<!-- break time label and controls -->
<div class="col-xs-12 break">
<ul class="list-inline">
<li><button class="btn btn-primary btn-sm" id="breakMinusBtn">-</button></li>
<li class="number">
<form>
<div class="form-group">
<input type="text" class="form-inline" id="breakTimeInput" value="5"></input>
</div>
</form>
</li>
<li><button class="btn btn-primary btn-sm" id="breakPlusBtn">+</button></li>
</ul>
</div>
<div class="col-xs-12 list-label" id="breakLabel">Break Time</div>
<!-- break time label and controls -->
</div>
<!-- end row div -->
</div>
<!-- end container -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js" ></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/randomcolor/0.4.0/randomColor.min.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" ></script>
<script src="./clock.js"></script>
<script src="./counter.js"></script>
<script src="./interface.js"></script>
<script src="./eventTracker.js"></script>
<script>
$('document').ready(function(){
var clock = new Clock();
var counter = new Counter();
var interface = new Interface();
interface.changeBGColor();
});
</script>
</body>
</html>