-
Notifications
You must be signed in to change notification settings - Fork 115
/
index.html
163 lines (138 loc) · 6.38 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<html>
<head>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0">
<meta name="color-scheme" content="dark">
<link rel="stylesheet" type="text/css" href="styles/main.css">
<link rel="icon" type="image/x-icon" href="assets/icon.svg">
<link rel="stylesheet" href="styles/IconFont.css">
<link rel="stylesheet" type="text/css" href="styles/bootstrap.css">
<script src="scripts/jquery.min.js"></script>
<script src="scripts/sweetalert.min.js"></script>
<!-- Primary Meta Tags -->
<title>Take a Break - Self-Destructing Tabs</title>
<meta name="title" content="Take a Break - Self-Destructing Tabs">
<meta name="description"
content="Tackle procrastination by using self-destructing tabs and boost your productivity.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://breaks.eu.org/">
<meta property="og:title" content="Take a Break - Self-Destructing Tabs">
<meta property="og:description"
content="Tackle procrastination by using self-destructing tabs and boost your productivity.">
<meta property="og:image" content="assets/banner.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://breaks.eu.org/">
<meta property="twitter:title" content="Take a Break - Self-Destructing Tabs">
<meta property="twitter:description"
content="Tackle procrastination by using self-destructing tabs and boost your productivity.">
<meta property="twitter:image" content="assets/banner.png">
</head>
<body class="main">
<!-- A dropdown menu for controlling notifications and audio alerts -->
<div class="top">
<!-- about the website -->
<a id="aboutcorner" style="cursor: pointer;margin-left: 1.5rem;">
<img src="assets/about.svg" width="35rem" height="35rem">
</a>
<a class="dropbtn" onmouseover="inside2()" onmouseleave="outside2()" onclick="btnClick()">
<img src="assets/settings.svg" width="35rem" height="35rem">
</a><br>
<div class="list" id="list2" onmouseover="inside2()" onmouseleave="outside2() ">
<p id="show"></p>
<label class="switch" id="switch1">
<input type="checkbox" id="notification">
<span onclick="Notif_Click()">Notifications</span>
</label>
<br>
<label class="switch" id="switch2" >
<input type="checkbox" id="audioAlert">
<span onclick="Audio_Click()">Audio Alerts</span>
</label>
</div>
</div>
<!-- @2 computerised voice alert audio added which will not be visible on home screen----------------------------------------------- -->
<div>
<audio id="audio1" src="assets/male50.mp3" controls style="display: none;"></audio>
<audio id="audio2" src="assets/male90.mp3" controls style="display: none;"></audio>
</div>
<!-- Added logo of the website -->
<div class="logo-parent">
<div class="logo-child">
<img src="assets/logo.svg" alt="icon" id="logo-img">
</div>
</div>
<h1 id="header">Take a Break</h1>
<div class="circular-container">
<div class="container">
<div class="text-container">
<h3 class="min">00</h3>
<h3 class="dot">:</h3>
<h3 class="sec">00</h3>
</div>
</div>
</div>
<h2 id="subHeader" href="">Select a time to start your break</h2>
<div class="extra-btn">
<button class="pause-btn">Pause</button>
<button class="stop-btn">Stop</button>
</div>
<div id="time" style="display: none"></div>
<div class="buttons" id="buttons">
<ul>
<li><a class="time-button" id="btn_front" onclick="choice(this,5)">5 min</a></li>
<li><a class="time-button" id="btn_midL" onclick="choice(this,10)">10 min</a></li>
<li><a class="time-button" id="btn_midR" onclick="choice(this,15)">15 min</a></li>
<li><a class="time-button" id="btn_end" onclick="Custom(this)">Custom</a></li>
</ul>
</div>
<div class="content" style="display: none">
<div class="custom-url">
<h3 id="content-label">Enter website directly</h3>
<div class="enterUrlDiv">
<input id="enterUrl" pattern="https?://.+"
class="form-control ui-autocomplete-input" placeholder="Go to..." name="keywords" type="url"
autocomplete="off" style="background: #353535;">
<a id="urlClick" class="iconfont icon-arrow-right"></a>
</div>
</div>
<h3 id="content-label">Or, add websites/use pre-added websites</h3>
<div class="website_grid">
<ul class="rig columns-6 websites" id="grid">
</ul>
</div>
</div>
<div class="buttons" id="takeAnotherButton" style="display: none">
<ul>
<li><a class="takeAnother" id="takeAnother" href="index.html">Take another break?</a></li>
</ul>
</div>
<footer>
<div id="author" class="footer-part">Copyright © Daksh P. Jain</div>
<div id="social_icons">
<li>
<a href="https://daksh.eu.org" target="_blank" title="Website">
<span class="iconfont icon-web">
</span>
</a>
</li>
<li>
<a href="https://github.com/daksh777/takeabreak" target="_blank " title="GitHub">
<span class="iconfont icon-github" style="padding-left: 15px;">
</span>
</a>
</li>
</div>
</footer>
<script src="scripts/jquery.scrollTo.min.js"></script>
<script type="text/javascript" src="scripts/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript" src="scripts/bootstrap.min.js"></script>
<script src="scripts/main.js" type="text/javascript"></script>
<script>
window.onbeforeunload = function () {
closeChildren();
};
</script>
</div>
</body>
</html>