-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
114 lines (104 loc) · 3.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Start</title>
<link
rel=" shortcut icon"
type="image/png"
href="assets/icons/favicon.png"
/>
<link rel="stylesheet" href="app.css" />
<link rel="stylesheet" href="timer.css" />
<script src="assets/js/lucide.min.js"></script>
<!-- <script src="https://unpkg.com/lucide@latest"></script> -->
</head>
<!-- Start -->
<body class="">
<button id="themeButton">
<i id="themeIcon" icon-name="moon"></i>
</button>
<div class="container">
<!-- Clock and Greetings -->
<div class="timeBlock">
<div class="clock">
<div id="hour"></div>
<div id="separator"></div>
<div id="minutes"></div>
</div>
<div id="greetings"></div>
<br />
<div class="timer">
<timer id="timer" class="workTime"></timer>
<i class="reset-btn" icon-name="rotate-cw" onclick="resetTimer()"></i>
<i
class="reset-btn"
icon-name="skip-forward"
onclick="skipForword()"
></i>
</div>
</div>
<!-- Date and Weather -->
<div class="weatherBlock">
<div class="date">
<div id="month"></div>
<div id="day"></div>
</div>
<div class="flex-center">
<div class="weatherIcon">
<img src="assets/icons/OneDark/unknown.png" />
</div>
<div class="weatherCard">
<div class="flex-center">
<div class="locationIcon">
<i icon-name="map-pin"></i>
</div>
<div class="locationName">
<p>Unknown</p>
</div>
</div>
<div class="flex-center">
<div class="weatherValue">
<p>- °<span class="g">c</span></p>
</div>
<div class="weatherDescription">
<p></p>
</div>
</div>
</div>
</div>
</div>
<div class="linksBlock" id="linksBlock">
<div class="linksBlockLeft" id="linksBlockLeft"></div>
<div class="linksBlockRight" id="linksBlockRight"></div>
</div>
</div>
<!-- Config -->
<script src="config.js"></script>
<!-- Scripts -->
<script src="assets/js/layout.js"></script>
<script src="assets/js/theme.js"></script>
<script src="assets/js/time.js"></script>
<script src="assets/js/greeting.js"></script>
<script src="assets/js/weather.js"></script>
<!-- Add audio libs -->
<script src="assets/js/howler.min.js"></script>
<script src="assets/js/timer.js"></script>
<!-- Generators -->
<script src="assets/js/buttons.js"></script>
<script src="assets/js/lists.js"></script>
<!-- Icons -->
<script>
lucide.createIcons();
</script>
<script>
if (!navigator.serviceWorker.controller) {
navigator.serviceWorker.register("/sw.js").then(function (reg) {
console.log(
"Service worker has been registered for scope: " + reg.scope
);
});
}
</script>
</body>
</html>