-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathShowTimer.html
More file actions
217 lines (203 loc) · 5.91 KB
/
ShowTimer.html
File metadata and controls
217 lines (203 loc) · 5.91 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Show Timer</title>
<meta charset="UTF-8">
<!-- <meta http-equiv="Content-Security-Policy"
content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' http://hal9002.philipps.us"> -->
<!-- <link href="https://fonts.googleapis.com/css?family=Vibur|Mogra" rel="stylesheet"> -->
<link rel="stylesheet" href="STcommon.css" type="text/css" />
<link rel="stylesheet" href="ShowTimer.css" type="text/css" />
<link rel="icon" href="favicon.png" type="image/png" />
</head>
<body>
<div id="JSwarn">WARNING: in order for this to work, JavaScript
must be allowed. If this message is visible, it likely means
JavaScript is not enabled/allowed (NoScript or similar?).
</div>
<div id="main">
<!-- main part of the screen with all the times on it -->
<table>
<tbody>
<tr title="Reminders will appear here according to the times entered for them, along with a button to dismiss them.">
<!-- area to put up reminders -->
<td colspan="2" class="reminder">
<button id="remindDismiss">dismiss</button>
<!-- make this a "timer" so that we can make it blink -->
<span id="remindermsg" data-st-type="timer">
<span data-st-role="hr"></span>
<span data-st-role="min"></span>
<span data-st-role="sec"></span>
<span data-st-role="millis"></span>
</span>
</td>
</tr>
<tr> <!-- hours:minuts:seconds until next break or event -->
<td>
<table id="tmtilbreak" class="tdisp countdown"
data-st-type="timer"
title="This is a countdown timer until the next break or segment.">
<tr><td data-st-role="hr">--</td>
<td>:</td>
<td data-st-role="min">--</td>
<td>:</td>
<td data-st-role="sec">--</td>
<!-- This will get display: none;, but it has to
follow the pattern of the rest for JavsScript -->
<td>.</td>
<td data-st-role="millis">---</td>
</tr>
</table>
</td>
<td>
<div class="timelabel">
<div>time until next</div>
<div>break/segment</div>
</div>
</td>
</tr>
<tr>
<!-- local time of next break/event -->
<td>
<table id="nxtbreaktm" class="tdisp" data-st-type="timer">
<tr>
<td data-st-role="hr">--</td>
<td>:</td>
<td data-st-role="min">--</td>
<td>:</td>
<td data-st-role="sec">--</td>
<td>.</td>
<td data-st-role="millis">---</td>
</tr>
</table>
</td>
<td>
<div class="timelabel">next break/segment</div>
</td>
</tr>
<tr>
<!-- display of over the air (OTA) time -->
<td>
<table id="otatime" class="mainclock tdisp" data-st-type="timer">
<tr>
<td data-st-role="hr">--</td>
<td>:</td>
<td data-st-role="min">--</td>
<td>:</td>
<td data-st-role="sec">--</td>
<td>.</td>
<td data-st-role="millis">---</td>
</tr>
</table>
</td>
<td>
<div class="timelabel">OTA time</div>
</td>
</tr>
<tr>
<!-- display of local time -->
<td>
<table id="timenow" class="mainclock tdisp" data-st-type="timer">
<tr>
<td data-st-role="hr">--</td>
<td>:</td>
<td data-st-role="min">--</td>
<td>:</td>
<td data-st-role="sec">--</td>
<td>.</td>
<td data-st-role="millis">---</td>
</tr>
</table>
</td>
<td>
<div class="timelabel">local time</div>
</td>
</tr>
<tr>
<td>
<!-- UTC real time clock (RTC) -->
<table id="utc" class="mainclock tdisp wallclock"
data-st-type="timer">
<tr>
<td data-st-role="hr">--</td>
<td>:</td>
<td data-st-role="min">--</td>
<td>:</td>
<td data-st-role="sec">--</td>
<td>.</td>
<td data-st-role="millis">---</td>
</tr>
</table>
</td>
<td>
<div class="timelabel">UTC</div>
</td>
</tr>
</tbody>
</table>
<!-- <button id="dismissMsg">dismiss</button>
A message for stuff
-->
<br />
<hr />
<div>
<button id="stopST">STOP!</button>
</div>
<div>
Profile name for general parameters:
<input type="text" name="genParamsProf" id="genParamsProf"
disabled="disabled" size="15" value="unimplemented">
<button id="genParamsLoad" disabled="disabled">load params</button>
</div>
<div>
Profile name for breaks:
<input type="text" name="brkProf" id="brkProf"
disabled="disabled" size="15" value="unimplemented">
<button id="brkLoad" disabled="disabled">load breaks</button>
</div>
<div>
Profile name for reminders:
<input type="text" name="remindProf" id="remindProf"
disabled="disabled" size="15" value="unimplemented">
<button id="remindLoad" disabled="disabled">load reminders</button>
</div>
<hr />
<div id="stats">
<p>Time taken in tick handler:
<span id="tickHandleTime">-</span>
</p>
</div>
</div>
<div>debug level:
<input onchange="updDbg(dbgChanger.value);" id="dbgChanger"
name="dbglvl"
type="number" value="2" /><br></br>
display timing fudge factor: <input
onchange="updFudge(fudge);"
name="fudgeFact" type="number"
id="fudge" />
</div>
<div>Program timing offset (globalRealOff):
<input name="globalOff" id="globalOff" type="number"
onchange="updGlobalTiming(this.value)" />
</div>
<div><input type="checkbox" id="showms" name="MSshow" />
Show milliseconds
</div>
<div>
<p>
<a href="ShowTimerBreakEdit.html">edit your breaks</a>
</p>
</div>
<div>
<p>
<a href="ShowTimerReminderEdit.html">edit your reminders</a>
</p>
</div>
<script type="text/javascript" src="techguy.json"></script>
<script type="text/javascript" src="STcommon.js"></script>
<!-- <script>alert("bottom of ShowTimer.html");</script> -->
<script type="text/javascript" src="ShowTimer.js"></script>
</script>
</body>
</html>