forked from amitmerchant1990/pomolectron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
147 lines (112 loc) · 5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<title> Pomolectron </title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<link href="css/ie10-viewport-bug-workaround.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/starter-template.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle custom-btn" onclick="closeApp();" title="Close Pomolectron">
<i class="glyphicon glyphicon-off"></i>
</button>
<a href="https://github.com/amitmerchant1990/pomolectron" type="button" class="navbar-toggle custom-btn" title="About">
<i class="glyphicon glyphicon-info-sign"></i>
</a>
<a class="navbar-brand" href="#">Pomolectron</a>
</div>
</div>
</nav>
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#pomodoro">Pomodoro</a></li>
<li><a data-toggle="tab" href="#short">Short break</a></li>
<li><a data-toggle="tab" href="#long">Long break</a></li>
</ul>
<div class="tab-content">
<div id="pomodoro" class="tab-pane fade in active">
<div class="container">
<div class="starter-template">
<h1 id="time">25:00</h1>
</div>
</div>
<div class="container">
<div class="starter-template">
<div class="row">
<div>
<button type="button" class="btn btn-large btn-primary full-width" id="start"><span class="glyphicon glyphicon-play"></span></button>
<button type="button" id="stop" class="btn btn-large btn-success full-width"><span class="glyphicon glyphicon-pause"></span></button>
<button type="button" class="btn btn-large btn-danger full-width" id="reset"><span class="glyphicon glyphicon-repeat"></span></button>
</div>
</div>
</div>
</div>
</div>
<div id="short" class="tab-pane fade in">
<div class="container">
<div class="starter-template">
<h1 id="time_short">05:00</h1>
</div>
</div>
<div class="container">
<div class="starter-template">
<div class="row">
<div>
<button type="button" class="btn btn-large btn-primary full-width" id="short_start"><span class="glyphicon glyphicon-play"></span></button>
<button type="button" class="btn btn-large btn-success full-width" id="short_stop"><span class="glyphicon glyphicon-pause"></span></button>
<button type="button" class="btn btn-large btn-danger full-width" id="short_reset"><span class="glyphicon glyphicon-repeat"></span></button>
</div>
</div>
</div>
</div>
</div>
<div id="long" class="tab-pane fade in">
<div class="container">
<div class="starter-template">
<h1 id="time_long">10:00</h1>
</div>
</div>
<div class="container">
<div class="starter-template">
<div class="row">
<div>
<button type="button" class="btn btn-large btn-primary full-width" id="long_start"><span class="glyphicon glyphicon-play"></span></button>
<button type="button" class="btn btn-large btn-success full-width" id="long_stop"><span class="glyphicon glyphicon-pause"></span></button>
<button type="button" class="btn btn-large btn-danger full-width" id="long_reset"><span class="glyphicon glyphicon-repeat"></span></button>
</div>
</div>
</div>
</div>
</div>
</div>
<audio id='notiSound' src='audio/alert.wav' loop/>
<script type="text/javascript">
if (typeof module === 'object') {
var electron = require('electron');
// Require in any additional modules that are Node.js only
window.module = module;
module = undefined;
}
</script>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/notification.js"></script>
<script src="js/app.js"></script>
</body>
</html>