-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
129 lines (127 loc) · 4.92 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Toothsome Tomato</title>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<link rel="stylesheet" href="./style/style.css">
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' http://cdnjs.cloudflare.com ">
</head>
<body>
<ul class="cards">
<div class="main-pomodoro-card focus" id="main-pomodoro-card">
<div class="titlebar">
<div class="corner-button-container">
<div class="corner-button settings" onClick="toggleSettings();">
<svg viewPort="0 0 12 12" version="1.1"
xmlns="http://www.w3.org/2000/svg" height="13px" width="13px">
<line x1="6.5" y1="6.5"
x2="6.5" y2="6.5"
stroke="white"
stroke-width="6"
stroke-linecap="round"/>
</svg>
</div>
<div class="corner-button minimize">
<svg viewPort="0 0 12 12" version="1.1"
xmlns="http://www.w3.org/2000/svg" height="13px" width="13px">
<line x1="4.5" y1="6.5"
x2="8.5" y2="6.5"
stroke="white"
stroke-width="3"
stroke-linecap="round"/>
</svg>
</div>
<div class="corner-button close" onClick="window.closeCurrentWindow();">
<svg viewPort="0 0 12 12" version="1.1"
xmlns="http://www.w3.org/2000/svg" height="13px" width="13px">
<line x1="4.5" y1="4.5"
x2="8.5" y2="8.5"
stroke="white"
stroke-width="3"
stroke-linecap="round"/>
<line x1="4.5" y1="8.5"
x2="8.5" y2="4.5"
stroke="white"
stroke-width="3"
stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
<div class="main-timer">
<div class="timer-inner" id="break-icon" data-parallax style="transform: translateZ(20px);"></div>
<div class="timer-shadow" id="break-icon"></div>
<svg
class="progress-ring"
width="124"
height="124"
style="transform: translateZ(10px);" data-parallax>
<circle
class="progress-ring__path"
stroke="white"
stroke-width="6"
fill="transparent"
r="50"
cx="62"
cy="62"/>
<circle
class="progress-ring__circle"
stroke="white"
stroke-width="6"
stroke-linecap="round"
fill="transparent"
r="50"
cx="62"
cy="62"/>
</svg>
<svg
class="progress-ring shadow"
width="124"
height="124">
<circle
class="progress-ring__path"
stroke="white"
stroke-width="6"
fill="transparent"
r="50"
cx="62"
cy="62"/>
<circle
class="progress-ring__circle"
stroke="white"
stroke-width="6"
stroke-linecap="round"
fill="transparent"
r="50"
cx="62"
cy="62"/>
</svg>
</div>
<p class="countdown"></p>
<div class="button-shadow"></div>
<div class="button"><p class="rounds">1/4</p><button class="control play"><img fill="white"></button><img src="./inc/icons/skip_next_24dp.svg" fill="white" class="next" onClick="handleSkip()"></div>
<div class="main-settings">
<p><b>Focus time:</b></p>
<input type="number" class="input-focustime" onchange="saveSettings();"> seconds
<div class="setting-line"></div>
<p><b>Break time:</b></p>
<input type="number" class="input-breaktime" onchange="saveSettings();"> seconds
<div class="setting-line"></div>
<p><b>Long break time:</b></p>
<input type="number" class="input-longbreaktime" onchange="saveSettings();"> seconds
<div class="setting-line"></div>
<p><b>Long break after:</b></p>
<input type="number" class="input-rounds" onchange="saveSettings();"> focus rounds
<br>
</div>
</ul>
</div>
<script src="./js/particles.min.js"></script>
<script src="./js/card-particles.js"></script>
</body>
<script src="./js/base.js"></script>
<script src="./js/notifications.js"></script>
<script src="./js/window-buttons.js"></script>
<script src="./renderer.js"></script>
</html>