This repository has been archived by the owner on Jun 9, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
executable file
·245 lines (242 loc) · 15.3 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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!--
_____ _____
,-'``_.-'` \ / `'-._``'-.
,` .' |`-'| `. `.
,` ( /\ | | /\ ) `.
/ `--' `-' `-' `--' \
| |
\ .--. ,--. ,--. ,--. /
`. ( \/ lt.\ / \/ ) ,'
`._ `--.___ V ___.--' _,'
`'----'` `'----'`
https://www.asciiart.eu/comics/batman
“It’s not who I am underneath, but what I do that defines me.” – Batman
Feel free to contact me:
https://goo.gl/forms/JArck4uzbGGmTuG72
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Toastmasters Timer">
<meta name="keywords" content="Timer,Stopwatch,Material Design,HTML,CSS,JavaScript,jQuery,Toastmasters,The Leader Ship,Lodz,Poland,Polska,Easter Egg,Batman,PWA,Bootstrap">
<meta name="author" content="Federico Navarrete">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
<meta name="theme-color" content="#ffffff">
<meta name="mobile-web-app-capable" content="yes">
<title>Toastmasters Timer - Legacy</title>
<link rel="manifest" href="manifest.json">
<link rel="icon" type="image/png" href="images/favicon.png" />
<link href="css/snackbar.min.css" rel="stylesheet" defer />
<link href="css/tmTimer.min.css" rel="stylesheet" defer />
<link href="css/timingfield.min.css" rel="stylesheet" defer />
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen" defer />
<script src="js/jquery.min.js"></script>
<script src="js/getOS.min.js"></script>
<script src="js/timingfield.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-confirmation.min.js" defer></script>
<script src="js/date.js"></script>
<script src="js/dbHandler.min.js"></script>
<script src="js/jspdf.min.js" defer></script>
</head>
<body>
<div id="wrapper">
<div id="options" class="centeredElements">
<div class="divOptions">
<select aria-label="choose speech" id="selectTimes">
<option id="emptyOption"></option>
<option value="0" tkey="opt1"></option>
<option value="1" tkey="opt2"></option>
<option value="2" tkey="opt3"></option>
<option value="3" tkey="opt4"></option>
<option value="4" tkey="opt5"></option>
<option value="5" tkey="opt6"></option>
<option value="6" tkey="opt7"></option>
<option value="7" tkey="opt8"></option>
<option value="8" tkey="opt9"></option>
<option value="9" tkey="opt10"></option>
<option value="10" tkey="opt11"></option>
<option value="11" tkey="opt12"></option>
</select>
<image id="btnVisibleTimer" data-toggle="tooltip" class="gray-tooltip" data-placement="bottom" src="images/timer-off-gray.png" alt="timer" tkey-title="titleTimer" />
<a id="linkResults" href="#"><image id="btnTable" data-toggle="tooltip" class="gray-tooltip" data-placement="bottom" src="images/table-gray.png" alt="timetable" tkey-title="titleTimetable" /></a>
<image id="btnInvert" data-toggle="tooltip" data-placement="bottom" class="gray-tooltip" src="images/invert-colors-gray.png" alt="invert" tkey-title="titleInvert" />
<image id="btnBeep" data-toggle="tooltip" data-placement="bottom" class="gray-tooltip" src="images/volume-off-gray.png" alt="beep" tkey-title="titleSound" />
<image id="btnVibrate" data-toggle="tooltip" data-placement="bottom" class="gray-tooltip" src="images/vibrate-off-gray.png" alt="vibrate" tkey-title="titleVibrate" />
<image id="btnClapping" data-toggle="tooltip" class="gray-tooltip" data-placement="bottom" src="images/clapping-off-gray.png" alt="clapping" tkey-title="clapping" />
<a href="#divModalInfo" data-toggle="modal" data-target="#divModalInfo"><image id="imgModalInfo" data-toggle="tooltip" class="gray-tooltip" data-placement="bottom" src="images/info-gray.png" alt="info" tkey-title="info" /></a>
</div>
<input aria-label="speaker" id="txtMember" type="text" class="form-control" tkey-placeholder="pMember" />
</div>
<div class="divImage">
<table id="tblControls">
<tr>
<td id="tdLeft">
<image id="btnRestart" src="images/restart-gray.png" class="hiddenElements basicAction" alt="restart" data-toggle="confirmation"
tkey-btn-ok="confirm" data-btn-ok-class="btn-danger"
tkey-btn-cancel="cancel" data-btn-cancel-class="btn-default"
tkey-data-title="resetWarning" />
<image id="btnRestartBasic" data-toggle="tooltip" class="gray-tooltip basicAction" data-placement="bottom" src="images/restart-gray.png" alt="restart" tkey-title="titleRestart" />
</td>
<td id="tdMiddle">
<image id="btnPlay" data-toggle="tooltip" class="gray-tooltip basicAction" src="images/play-gray.png" alt="play" tkey-title="titlePlay" />
<image id="btnPause" data-toggle="tooltip" class="hiddenElements gray-tooltip basicAction" src="images/pause-gray.png" alt="pause" tkey-title="titlePause" />
<div style="text-align:center" id="divInnerTime">
<span id="innerTime">00:00:00</span>
</div>
</td>
<td id="tdRight">
<image id="btnStop" data-toggle="tooltip" class="gray-tooltip basicAction" data-placement="bottom" src="images/stop-gray.png" alt="stop" tkey-title="titleStop" />
</td>
</tr>
</table>
</div>
</div>
<div class="bottom-footer centeredElements">
<span class='lblFooter' tkey="copyright1"></span><a class="externalLinks" rel="noreferrer" href="https://www.behance.net/fanmixco">Federico Navarrete</a><span class='lblFooter' tkey="copyright2"></span><a class="externalLinks" rel="noreferrer" href="http://theleadership.pl">The Leader Ship Toastmasters</a>. <a class="externalLinks" target="_parent" rel="noreferrer" href="https://github.com/sponsors/FANMixco"><span class='lblFooter' tkey="sponsorUs"></span></a><span class='lblFooter' tkey="copyright3"></span><span class='lblFooter'>.</span>
</div>
<div id="snackbar"><span id="spanMsg"></span></div>
<div class="modal fade" id="divCustomTime" role="dialog">
<div class="vertical-alignment-helper">
<div class="modal-dialog vertical-align-center">
<div class="modal-content">
<div class="modal-body centeredElements centeredDivs" style="background: white">
<button class="close" type="button" data-dismiss="modal">×</button>
<div id="customMin" class="centeredTimeOptions">
<h3 tkey="timeMinimum"></h3>
<input type="text" class="timing" />
</div>
<div id="customAvg" class="centeredTimeOptions">
<h3 tkey="timeHalfway"></h3>
<input type="text" class="timing" />
</div>
<div id="customMax" class="centeredTimeOptions">
<h3 tkey="timeMaximum"></h3>
<input type="text" class="timing" />
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-warning" id="btnClear"><span class="glyphicon glyphicon-erase"></span></button>
<button type="button" id="btnSave" class="btn btn-primary"><span class="glyphicon glyphicon-floppy-disk"></span></button>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="divStickMsg" role="dialog">
<div class="vertical-alignment-helper">
<div class="modal-dialog vertical-align-center">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title"><span tkey="stickMsgTitle"></span></h4>
</div>
<div class="modal-body">
<p><span tkey="stickMsg"></span></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" id="btnUnstick"><span tkey="cancel"></span></button>
<button type="button" class="btn btn-primary" id="btnStick"><span tkey="confirm"></span></button>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="divModalInfo" role="dialog">
<div class="vertical-alignment-helper">
<div class="modal-dialog vertical-align-center">
<div class="modal-content">
<div class="modal-header">
<button class="close" type="button" data-dismiss="modal">×</button>
<h4 class="modal-title"><span tkey="about"></span></h4>
</div>
<div class="modal-body">
<p style="text-align:justify"><span tkey="about1"></span></p>
<p class="centeredElements"><image src="images/favicon.png" style="width: 64px" /></p>
<p style="text-align:justify"><span tkey="about2"></span></p>
<p style="text-align:justify">Federico Navarrete <a rel="noreferrer" href="mailto:fanmixco@gmail.com?Subject=TMTimer%20PWA_Legacy" target="_top">fanmixco@gmail.com</a></p>
<p style="text-align:justify"><span tkey="about4"></span></p>
<p class="centeredElements"><a rel="noreferrer" href="https://supernovaic.com" target="_blank">supernovaic.com</a></p>
<p class="centeredElements"><image src="images/supernova.png" style="width: 96px" /></p>
<p class="centeredElements"><a class="externalLinks" target="_parent" rel="noreferrer" href="https://github.com/sponsors/FANMixco"><span class='lblFooter' tkey="sponsorUs2"></span></a></p>
<p class="centeredElements"><span tkey="about3"></span></p>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="divResults" role="dialog">
<div class="vertical-alignment-helper">
<div class="modal-dialog vertical-align-center">
<div id="divContent" class="modal-content">
<div id="divTable" class="modal-body centeredElements centeredDivs">
<button class="close" type="button" data-dismiss="modal">×</button>
<h1 id="hNoResults" tkey="noResults"></h1>
<table id="tblResults" class="table">
<caption id="cTopic"></caption>
<thead>
<tr>
<th id="thDel" class="hiddenElements centeredElements"><input type="checkbox" id="chkAll" /></th>
<th class="centeredElements" tkey="pMember"></th>
<th class="centeredElements" tkey="role"></th>
<th class="centeredElements" tkey="time"></th>
<tr>
</thead>
<tbody id="tBodyResults"></tbody>
</table>
</div>
<div class="modal-footer" id="footerResult">
<button type="button" class="btn btn-warning hiddenElements" id="btnMultiple" tkey-title="multiple"><span id="icnMultiple" class="glyphicon glyphicon-check"></span></button>
<button type="button" class="btn btn-success" id="linkDownload"><span class="glyphicon glyphicon-download-alt"></span></button>
<button id="btnDeleteMultiple" class="btn btn-danger btnconfirm hiddenElements"
data-toggle="confirmation"
tkey-btn-ok="confirm" data-btn-ok-class="btn-danger"
tkey-btn-cancel="cancel" data-btn-cancel-class="btn-default"
tkey-data-title="deleteConfirmationMultiple">
<span class="glyphicon glyphicon-trash"></span>
</button>
<button id="btnDelete" class="btn btn-danger btnconfirm"
data-toggle="confirmation"
tkey-btn-ok="confirm" data-btn-ok-class="btn-danger"
tkey-btn-cancel="cancel" data-btn-cancel-class="btn-default"
tkey-data-title="deleteConfirmation">
<span class="glyphicon glyphicon-trash"></span>
</button>
</div>
</div>
</div>
</div>
</div>
<script src="js/tmTimer.min.js"></script>
<script src="js/lang.min.js"></script>
<script>
// This is the "Offline page" service worker
// Add this below content to your HTML page, or add the js file to your page at the very top to register service worker
// Check compatibility for the browser we're running this in
if ("serviceWorker" in navigator) {
if (navigator.serviceWorker.controller) {
console.log("[PWA Builder] active service worker found, no need to register");
} else {
// Register the service worker
navigator.serviceWorker
.register("pwabuilder-sw.js", {
scope: "./"
})
.then(function (reg) {
console.log("[PWA Builder] Service worker has been registered for scope: " + reg.scope);
});
}
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ETBHEZS6VC"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-ETBHEZS6VC');
</script>
<script data-name="BMC-Widget" data-cfasync="false" src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js" data-id="fanmixco" data-description="Support me on Buy me a coffee!" data-message="Help me improve this amazing app! Buy me a coffee!" data-color="#5F7FFF" data-position="Right" data-x_margin="18" data-y_margin="18"></script>
</body>
</html>