-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path18-WoolwichDam.html
163 lines (131 loc) · 5.37 KB
/
18-WoolwichDam.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
<!DOCTYPE html>
<meta charset='UTF-8'>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Station: Woolwich Dam</title>
</head>
<body onload="init_page()">
<h1>Woolwich Dam</h1>
<form action="https://waterdata.grandriver.ca/KiWIS/KiWIS?service=kisters&type=queryServices&request=gettimeseriesvalues&datasource=0&format=html&header=true">
<input type="hidden" name="service" value="kisters">
<input type="hidden" name="type" value="queryServices">
<input type="hidden" name="request" value="getTimeSeriesValues">
<input type="hidden" name="datasource" value="0">
<input type="hidden" name="header" value="true">
<input type="hidden" name="format" value="html">
<div class="form-row">
<div class="col-sm-2">
<input type="date" class="form-control gestern" name="from" value="2018-01-01"><br />
</div>
<div class="col-sm-2">
<input type="date" class="form-control heute" name="to" value="2018-01-01"><br />
</div>
<div class="col-sm-2">
<input type="submit" class="form-control" value="Send">
</div>
</div>
<hr />
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-11402042" value="11402042" checked>
<label class="form-check-label" for="id-11402042">
height, lake above specific datum (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-11610042" value="11610042" >
<label class="form-check-label" for="id-11610042">
height, lake above specific datum (Lower.RuleCurve.RollOut)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-11612042" value="11612042" >
<label class="form-check-label" for="id-11612042">
height, lake above specific datum (Upper.RuleCurve.RollOut)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-11650042" value="11650042" >
<label class="form-check-label" for="id-11650042">
lake storage (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-12653042" value="12653042" >
<label class="form-check-label" for="id-12653042">
discharge, computed total project outflow (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14210042" value="14210042" >
<label class="form-check-label" for="id-14210042">
lake storage (cms.days.7day)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14211042" value="14211042" >
<label class="form-check-label" for="id-14211042">
lake storage (cms.days.full)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14212042" value="14212042" >
<label class="form-check-label" for="id-14212042">
lake storage (cms.days.now)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14213042" value="14213042" >
<label class="form-check-label" for="id-14213042">
lake storage (runoff.full)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14214042" value="14214042" >
<label class="form-check-label" for="id-14214042">
lake storage (slope.uc)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14235042" value="14235042" >
<label class="form-check-label" for="id-14235042">
discharge, inflow (07.NRT.PRODUCTION.HOURLY)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14251042" value="14251042" >
<label class="form-check-label" for="id-14251042">
lake storage (Upper.RuleCurve.Hourly)
</label>
</div>
<div class="form-check">
<input class="for-check-input" type="radio" name="ts_id" id="id-14252042" value="14252042" >
<label class="form-check-label" for="id-14252042">
lake storage (Upper.RuleCurve.Hourly.7day)
</label>
</div>
</div>
</form>
</body>
<script>
function set_date_value(field_class, datum) {
var field = document.querySelector(field_class);
field.value = datum.toISOString().split('T')[0];
}
function init_page() {
var heute, heute_field, gestern, gestern_field;
heute = new Date();
set_date_value('.heute', heute);
// heute_field = document.querySelector('.heute');
// heute_field.value = heute.toISOString().split('T')[0];
gestern = new Date(heute - 86400000);
set_date_value('.gestern', gestern);
// gestern_field = document.querySelector('.gestern');
// gestern_field.value = gestern.toISOString().split('T')[0];
// console.log("heute : "+heute);
// console.log("heute feld: "+ heute_field);
// console.log("gestern: " + gestern);
// console.log("gestern feld: " + gestern_field);
}
</script>
</html>