forked from pspc-spac/avadepth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tw-ft-eng.html
408 lines (374 loc) · 14.5 KB
/
tw-ft-eng.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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
<!--#include virtual="/includes/header-eng.html" -->
<script src="scripts/tw-ft.js"></script>
<style>
table td { padding: 4px;}
table td:first-child { text-align:left}
</style>
<h1 class="print-align-center">Transit Window Report</h1>
<div class="grid-12">
<div class="wet-boew-tabbedinterface animate slide-horz tabs-style-1 auto-height">
<ul class="tabs print_hide">
<li class="default"><a href="#parameters">Parameters</a></li>
<li><a href="#help">Help</a></li>
</ul>
<div class="summary tabs-panel filled print_hide" style="border: 2px solid #eee">
<div id="parameters" style="height:300px">
<form id="transit_window">
<div class="span-4">
<label for="date"><strong>Date:</strong></label>
<input id="date" type="text" name="date" class="datepicker" />
<div>
<strong>River Discharge:</strong><br />
<input id="predicted_radio"
type="radio"
name="discharge"
checked="checked"
value="Predicted" />
<label for="predicted_radio">Predicted (<span id="predicted_discharge"></span>m3/s)</label><br />
<input id="actual_radio"
type="radio"
name="discharge"
value="Actual" />
<label for="actual">Actual (<span id="actual_discharge"></span>m3/s)</label><br />
<input id="selected_radio"
type="radio"
name="discharge"
value="Selected" />
<label for="discharge_radio">Selected</label>
<select id="selected_discharge">
</select> m3/s
<br />
<input id="defined_radio"
type="radio"
name="discharge"
value="Defined" />
<label for="defined_radio">User-defined</label>
<input id="defined_discharge"
type="text"
style="width:5em"/> m3/s
<input type="hidden" name="flowRate" id="flowRate" value="0" />
<input type="hidden" name="flowType" id="flowType" value="0" />
</div>
</div>
<div class="span-3">
<label for="chainage"><strong>Chainage:</strong></label>
1 to
<select id="chainage">
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35" selected="selected">35</option>
</select>
<div>
<label for="sounding"><strong>Channel Condition:</strong></label>
<input type="radio"
name="sounding"
checked="checked"
value="0" /> <span>Current Soundings</span><br />
<input type="radio"
name="sounding"
value="1" /> <span>Design Grade</span>
</div>
<div>
<label for="channel"><strong>Navigation Channel:</strong></label>
<input type="radio"
name="channel"
checked="checked"
value="1" /> <span style="margin-right:1em">Inner Limit</span>
<input type="radio"
name="channel"
value="2"/> <span>Outer Limit</span>
</div>
<div>
<label for="width" style="display:inline-block;">Available Width:</label>
<select id="width" style="margin-top:10px">
<option value="100" selected="selected">100</option>
<option value="95">95</option>
<option value="90">90</option>
<option value="85">85</option>
<option value="80">80</option>
<option value="75">75</option>
<option value="70">70</option>
<option value="65">65</option>
<option value="60">60</option>
<option value="55">55</option>
<option value="50">50</option>
</select> %
</div>
</div>
<div class="span-4">
<div>
<label for="channel"><strong>Transit Calculation:</strong></label>
<div >
<label for="period" style="display:inline">Period:</label>
<select id="period">
<option value="0">Day</option>
<option value="1">Week</option>
<option value="2">Month</option>
</select>
</div>
<div >
<input id="window"
type="hidden"
name="window"
value="2" />
<input id="cmp"
type="hidden"
name="cmp"
value="0" /><br />
<input id="max_depth_radio"
type="radio"
name="window_radio"
checked="checked"
value="Maximum Depth" />
<label for="max_depth_radio" style="margin-bottom:0">Maximum Depth:</label><br/>
<label style="display:inline-block;margin-left:30px">Min. Window:</label>
<select id="minimum_window"
name="minimum_window"
style="display:inline-block">
<option value="1">1hr</option>
<option value="2" selected="selected">2hrs</option>
<option value="3">3hrs</option>
<option value="4">4hrs</option>
</select><br />
<input id="min_win_radio"
type="radio"
name="window_radio"
value="Min. Window" />
<label for="min_win_radio" style="margin-bottom:0">Available Windows</label><br />
<label style="display:inline-block;margin-left:30px">Depth:</label>
<input id="depth"
type="text"
name="depth"
style="width:3em;diplay:inline-block"
value="10" /> <span style="margin: 0px 0 0 0; padding: 0 0 0 0;">m</span>
</div>
</div>
</div>
</form>
<div class="clear"></div>
<button id="submit"
type="button"
class="button button-accent"
name="submit">Apply
</button>
<button id="print_transit_window" class="button button-accent">Print</button>
<img class="spinner" src="images/spinner.gif" alt="" style=""/>
</div>
<div id="help">
<p>The Transit Window report shows the depth available for the entire
channel for a window of specified length in each tide cycle. To
generate the report,</p>
<ul>
<li>Enter a date. Click on the date text to choose using a calendar.</li>
<li>Click on the Flows button</li>
</ul>
<p>Avadepth displays the options to use a flow rate. These are
predicted, actual, user-defined or select from the list.</p>
<ul>
<li>Select to report on 1 day or 1 week.</li>
<li>Specify the Window Length for which depths are to be calculated.</li>
<li>Select one-lane or two-lane operation.</li>
<li>Select the flow rate to be used.</li>
<li>Click the Transit Report button to begin.</li>
</ul>
<p>Avadepth displays the navigation transit window report. To print the report to your printer:</p>
<ul>
<li>In your browser menu, you can select <b>File|Print</b> to print a hard-copy.</li>
</ul>
</div>
<div>
<label for="chainage">Chainage:</label>
<select id="chainage">
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35" selected="selected">35</option>
</select>
</div>
</div>
<div style="background: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAIAAABi9+OQAAAAGklEQVQImWN49+4d0////3Hif//+kSVHQB4A+KRZpVz3z4IAAAAASUVORK5CYII=; width: 100%"></div>
<div class="clear"></div>
<h2 id="ajax_message"></h2>
<div id="report_body" class="report_body">
<div class="clear"></div>
<div style="">
<h2 style="margin-top:0; margin-bottom: 0;">
<span id="static-window-pre-text">Maximum Depth for </span>
<span id="static-window">2</span>
<span id="static-window-post-text">hr. Transit Window</span>
</h2>
<h4 style="margin: 0;">
From <span id="static-date-from"></span>
to <span id="static-date-to"></span>
</h4>
<table id="maximum_depth_table" class="print-width-70" style="width:100%;margin:0 auto;">
<tr>
<td colspan="4">
Navigation Channel: Fraser River - <span class="static-channel">Inner Channel Limit</span>
</td>
</tr>
<tr>
<td colspan="4">
Channel Condition: <span class="static-sounding">Current Soundings</span> for Km 1 to Km <span class="static-chainage">35</span> at <span class="static-width">100</span>% Available Width
</td>
</tr>
<tr>
<td colspan="4">
Hope DIscharge: <span class="static-discharge"></span> m3/s (<span class="static-discharge-eval">Predicted</span>)
</td>
</tr>
<tr>
<td colspan="4">
</td>
</tr>
<!---
<tr>
<td>Average Depth of Selected Window:</td>
<td width="30%"><span id="avg_depth">-</span> m</td>
</tr>
<tr>
<td>Minimum Depth:</td>
<td><span id="min_depth">-</span> m</td>
</tr>
<tr>
<td>Maximum Depth:</td>
<td><span id="max_depth">-</span> m</td>
</tr>
<tr>
<td>Number of Days with Selected Window:</td>
<td><span id="num_days">-</span> days</td>
</tr>
--->
<tr>
<td width="40%">Number of Days with Selected Window:</td>
<td><span class="num_days"></span></td>
<td>Maximum Depth (m):</td>
<td><span class="max_depth"></span></td>
</tr>
<tr>
<td>Average Depth of Selected Window:</td>
<td><span class="avg_depth"></span></td>
<td>Minimum Depth (m):</td>
<td><span class="min_depth">-</span></td>
</tr>
</table>
<table id="available_windows_table" class="print-width-70" style="width:100%;margin:0 auto; display: none; ">
<tr>
<td colspan="2">
Navigation Channel: Fraser River - <span class="static-channel">Inner Channel Limit</span>
</td>
</tr>
<tr>
<td colspan="2">
Channel Condition: <span class="static-sounding">Current Soundings</span> for Km 1 to Km <span class="static-chainage">35</span> at <span class="static-width">100</span>% Available Width
</td>
</tr>
<tr>
<td colspan="2">
Hope DIscharge: <span class="static-discharge"></span> m3/s (<span class="static-discharge-eval">Predicted</span>)
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td width="90%">Total hours meeting standard</td>
<td><span class="total_hr"></span></td>
</tr>
<tr>
<td>Average hours per day meeting standard</td>
<td><span class="avg_hr"></span></td>
</tr>
<tr>
<td>Number of days meeting standard</td>
<td><span class="num_days_meeting_standard"></span></td>
</tr>
</table>
</div>
<div class="clear"></div>
<section style="padding-top: 20px;margin:1em auto">
<table id="transit-window" class="zebra-striped" style="">
<thead>
<tr>
<th colspan="2">From</th>
<th colspan="2">To</th>
<th> </th>
</tr>
<tr>
<th>Date</th>
<th>Time (PST)</th>
<th>Date</th>
<th>Time (PST)</th>
<th id="transit-window-last-col">Maximum Depth (m)</th>
</tr>
</thead>
<tbody>
<tr>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
</tbody>
</table>
<div style="text-align:left;margin-top:1em">* Depths are relative to local low water level</div>
</section>
</div>
<!--#include virtual="/includes/footer-eng.html" -->