forked from Daksh777/TakeABreak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
145 lines (119 loc) · 6.66 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
<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>
<!-- 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">
<h1 id="header">Take a Break</h1>
<h2 id="subHeader" href="">Select a time to start your break</h2>
<div id="time" style="display: none"></div>
<div class="buttons" id="buttons">
<ul>
<li><a class="time-button" id="btn_front" onclick="choice(5)">5 min</a></li>
<li><a class="time-button" id="btn_midL" onclick="choice(10)">10 min</a></li>
<li><a class="time-button" id="btn_midR" onclick="choice(15)">15 min</a></li>
<li><a class="time-button" id="btn_end" onclick="Custom()">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?://.+" onblur="checkURL(this)" class="form-control ui-autocomplete-input" placeholder="Go to..." name="keywords" type="url" autocomplete="off">
<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 src="scripts/sweetalert.min.js"></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 class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4 class="modal-title" id="myModalLabel">Add Custom Site</h4>
</div>
<div class="modal-body">
<form class="custom-site-form">
<div class="form-group">
<label class="col-sm-2 control-label" for="inputEmail3" style="color: white;font-family: 'Product Sans'">Card Label</label>
<div class="col-sm-10" style="padding-bottom: 15px;padding-top: 10px;">
<input type="site" class="form-control" id="inputSiteName" placeholder="My personal website" autofocus>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="inputPassword3" style="color: white;font-family: 'Product Sans'">Link</label>
<div class="col-sm-10" style="padding-top: 10px;">
<input type="site_link" class="form-control" id="inputSiteLink" placeholder="https://daksh.eu.org" onblur="checkURL(this)">
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary" id="addSiteButton">Add Site</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>