This repository has been archived by the owner on May 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (105 loc) · 5.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Sigag</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="app/css/open-color.css"/>
<link rel="stylesheet" type="text/css" href="app/css/fonts.css"/>
<link rel="stylesheet" type="text/css" href="app/css/main.css"/>
<link rel="stylesheet" type="text/css" href="app/css/button.css"/>
<link rel="stylesheet" type="text/css" href="app/css/input-slider.css"/>
<link rel="stylesheet" type="text/css" href="app/css/progress-bar.css"/>
<link rel="stylesheet" type="text/css" href="app/css/titlebar-container.css"/>
<link rel="stylesheet" type="text/css" href="app/css/change-interval.css"/>
<link rel="stylesheet" type="text/css" href="app/css/get-statistics.css"/>
<link rel="stylesheet" type="text/css" href="app/css/main-container.css"/>
</head>
<body>
<!-- START OF TITLEBAR CONTAINER -->
<nav id="titlebar-container">
<div id="clock" class="titlebar-icon" onclick="toggleCustomIntervalSidebar(1)">
<svg id="clock-svg" class="titlebar-svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10"></circle>
<polyline points="12 6 12 12 16 14"></polyline>
</svg>
</div>
<!-- <div id="statistics" class="titlebar-icon" onclick="toggleStatisticsSidebar(1)">
<svg id="statistics-svg" class="titlebar-svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<line x1="18" y1="20" x2="18" y2="10"></line>
<line x1="12" y1="20" x2="12" y2="4"></line><line x1="6" y1="20" x2="6" y2="14"></line>
</svg>
</div> -->
<div id="minimize-application" class="titlebar-icon">
<svg id="minimize-application-svg" class="titlebar-svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<line x1="5" y1="12" x2="19" y2="12"></line>
</svg>
</div>
<div id="close-application" class="titlebar-icon">
<svg id="close-application-svg" class="titlebar-svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<line x1="18" y1="6" x2="6" y2="18"></line>
<line x1="6" y1="6" x2="18" y2="18"></line>
</svg>
</div>
</nav>
<!-- END OF TITLEBAR CONTAINER-->
<!-- START OF CHANGE INTERVAL SIDEBAR -->
<div id="change-interval">
<div id="change-interval-inner">
<h1 class="interval-text">Change Timer Interval</h1>
<h2 class="interval-text" id="recommended-intervals">Recommended Intervals</h2>
<button onclick="updateAllIntervalComponents(25, 5, 10, 4)">25 : 5</button>
<button onclick="updateAllIntervalComponents(55, 10, 20, 4)">55 : 10</button>
<button onclick="updateAllIntervalComponents(90, 15, 20, 3)">90 : 15</button>
<h2 class="interval-text">Custom Interval</h2>
<button id="custom-interval"><b id="custom-interval-work">25</b> work <b id="custom-interval-break">5</b> break</button>
<div id="time-sliders">
<h2 id="work-duration-text" class="interval-text">Work: 25 minutes</h2>
<input id="work-duration" type="range" min="5" max="120" value="25" onmousemove="updateOnSliderOnMove('work')" onmousedown="updateOnSliderOnMove('work')">
<h2 id="short-break-duration-text" class="interval-text">Break: 5 minutes</h2>
<input id="short-break-duration" type="range" min="5" max="25" value="5" onmousemove="updateOnSliderOnMove('break')" onmousedown="updateOnSliderOnMove('break')">
<h2 id="long-break-duration-text" class="interval-text">Long Break: 10 minutes</h2>
<input id="long-break-duration" type="range" min="5" max="50" value="10" onmousemove="updateOnSliderOnMove('long-break')" onmousedown="updateOnSliderOnMove('long-break')">
<h2 id="long-break-interval-text" class="interval-text">Interval: 4</h2>
<input id="long-break-interval" type="range" min="1" max="8" value="4" onmousemove="updateOnSliderOnMove('interval')" onmousedown="updateOnSliderOnMove('interval')">
</div>
<button class="interval-text" id="custom-interval-save" onclick="toggleCustomIntervalSidebar(0)">Close</button>
<button class="interval-text" id="custom-interval-no-save" onclick="toggleCustomIntervalSidebar(0);createTimerGroupAndStart()">Save & Close</button>
</div>
</div>
<!-- END OF CHANGE INTERVAL SIDEBAR -->
<!-- START GET STATISTICS SIDEBAR -->
<div id="get-statistics">
<div id="get-statistics-inner">
<h1 class="statistics-text">Get Statistics</h1>
<h2 class="statistics-text">Data Set 1</h2>
<h2 class="statistics-text">Data Set 2</h2>
<button onclick="toggleStatisticsSidebar(0)">Close</button>
</div>
</div>
<!-- END GET STATISTICS SIDEBAR -->
<!-- START MAIN CONTAINER -->
<div id="main-container">
<h1 id="mode"></h1>
<div id="container">
<div id="timer-left"></div>
<div id="countdown"></div>
<div id="timer-right"></div>
</div>
<div id="timer-controls">
<button id="start-button" onclick="createTimerGroupAndStart()">Start</button>
<button id="pause-button" onclick="timer.pause()">Pause</button>
<button id="stop-button" onclick="animateTimerToZero();replayCurrentTimer(timersGroup, progressInTimerGroup)">Restart</button>
</div>
</div>
<!-- END MAIN CONTAINER -->
</body>
<script src="./app/js/helper.js"></script>
<script src="./app/js/window-manage.js"></script>
<script src="./app/js/navigation.js"></script>
<script src="./node_modules/progressbar.js/dist/progressbar.js"></script>f
<script src="./app/js/timer.js"></script>
<script src="./app/js/timer-group.js"></script>
<script src="./app/js/choose-interval.js"></script>
<script src="./app/js/progress-bar.js"></script>
</html>