-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
165 lines (165 loc) · 7.11 KB
/
index.html
File metadata and controls
165 lines (165 loc) · 7.11 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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lanes Balance Scale</title>
<script src="balance_scale.js" defer></script>
<script src="calc.js" defer></script>
<!-- <script src="chart.js" defer></script> -->
<script src="main.js" defer></script>
<link href="style.css" rel="stylesheet">
</head>
<body>
<canvas width="690" height="690" class="myCanvas">
<p>Add suitable fallback here.</p>
</canvas>
<form>
<div class="wrapper">
<div class="sizeDiv">
<label for="size">Bed Material Size (mm): </label>
<input type="range" name="size" id="size" min="0.05" max="110.00" step="0.01" value="28.70">
<output class="size-output" for="size"></output>
</div>
<div class="textSizeDiv">
<input type="text" id="textSize" name="textSize" />
</div>
<div class="slopeDiv">
<label for="slope">Channel Slope (%): </label>
<input type="range" name="slope" id="slope" min="0.001" max="1.0" step="0.001" value="0.3">
<output class="slope-output" for="slope"></output>
</div>
<div class="textSlopeDiv">
<input type="text" id="textSlope" name="textSlope" />
</div>
<div class="supplyDiv">
<label for="supply">Bed Material Supply (tons/day): </label>
<input type="range" name="supply" id="supply" min="1" max="250000" step="1" value="419">
<output class="supply-output" for="supply"></output>
</div>
<div class="textSupplyDiv">
<input type="text" id="textSupply" name="textSupply" />
</div>
<div class="flowDiv">
<label for="flow">Flow Rate (cfs): </label>
<input type="range" name="flow" id="flow" min="1" max="205000" step="1" value="430">
<output class="flow-output" for="flow"></output>
</div>
<div class="textFlowDiv">
<input type="text" id="textFlow" name="textFlow" />
</div>
<div class="manningDiv">
<label for="manning">Manning's Roughness Coefficient (n): </label>
<input type="range" name="manning" id="manning" min="0.01" max="0.12" step="0.001" value="0.035">
<output class="manning-output" for="manning"></output>
</div>
<div class="textManningDiv">
<input type="text" id="textManning" name="textManning" />
</div>
<div class="selectTransportDiv">
<label for="selectTransport">Transport Coef. (m), current=5.7</label>
<select id="selectTransport" name="selectTransport">
<!-- Options will be added here by JavaScript -->
</select>
</div>
<div class="defaultDiv">
<button class="buttonDefault" type="button">Reset</button>
</div>
<div class="submitDiv">
<button class="buttonExcel" type="button">Orig</button>
</div>
<div class="buttonDiv">
<button class="buttonSetup" type="button">Set</button>
</div>
<div class="selectScenarioDiv">
<label for="selectScenario">Select Scenario:</label>
<select id="selectScenario" name="selectScenario">
<option value="scenario1.png" selected>Scenario 1</option>
<option value="scenario2.png">Meander Scenario</option>
<option value="scenario3.png">Scenario 2</option>
</select>
</div>
<div class="selectNotesDiv">
<label for="selectNotes">Notes:</label>
<select id="selectNotes" name="selectNotes">
<option value="note.png">Notes</option>
</select>
</div>
</div>
</form>
<canvas width="690" height="690" class="myCanvas2">
<p>Add suitable fallback here.</p>
</canvas>
<form>
<div class="wrapper2">
<div class="defaultSizeDiv">
<label for="textDefaultSize">Default Size (mm): </label>
<input type="text" id="textDefaultSize" name="textDefaultSize" />
</div>
<div class="defaultSlopeDiv">
<label for="textDefaultSlope">Default Slope (%): </label>
<input type="text" id="textDefaultSlope" name="textDefaultSlope" />
</div>
<div class="defaultSupplyDiv">
<label for="textDefaultSupply">Default Supply (tons/day): </label>
<input type="text" id="textDefaultSupply" name="textDefaultSupply" />
</div>
<div class="defaultFlowDiv">
<label for="textDefaultFlow">Default Flow (cfs): </label>
<input type="text" id="textDefaultFlow" name="textDefaultFlow" />
</div>
<div class="defaultManningDiv">
<label for="textDefaultManning">Default Manning (n): </label>
<input type="text" id="textDefaultManning" name="textDefaultManning" />
</div>
<div class="defaultTransportDiv">
<label for="textDefaultTransport">Default Transp. Coef. (m): </label>
<input type="text" id="textDefaultTransport" name="textDefaultTransport" />
</div>
<div class="minSizeDiv">
<label for="textMinSize">Min Size (mm): </label>
<input type="text" id="textMinSize" name="textMinSize" />
</div>
<div class="minSlopeDiv">
<label for="textMinSlope">Min Slope (%): </label>
<input type="text" id="textMinSlope" name="textMinSlope" />
</div>
<div class="minSupplyDiv">
<label for="textMinSupply">Min Supply (tons/day): </label>
<input type="text" id="textMinSupply" name="textMinSupply" />
</div>
<div class="minFlowDiv">
<label for="textMinFlow">Min Flow (cfs): </label>
<input type="text" id="textMinFlow" name="textMinFlow" />
</div>
<div class="minManningDiv">
<label for="textMinManning">Min Manning (n): </label>
<input type="text" id="textMinManning" name="textMinManning" />
</div>
<div class="maxSizeDiv">
<label for="textMaxSize">Max Size (mm): </label>
<input type="text" id="textMaxSize" name="textMaxSize" />
</div>
<div class="maxSlopeDiv">
<label for="textMaxSlope">Max Slope (%): </label>
<input type="text" id="textMaxSlope" name="textMaxSlope" />
</div>
<div class="maxSupplyDiv">
<label for="textMaxSupply">Max Supply (tons/day): </label>
<input type="text" id="textMaxSupply" name="textMaxSupply" />
</div>
<div class="maxFlowDiv">
<label for="textMaxFlow">Max Flow (cfs): </label>
<input type="text" id="textMaxFlow" name="textMaxFlow" />
</div>
<div class="maxManningDiv">
<label for="textMaxManning">Max Manning (n): </label>
<input type="text" id="textMaxManning" name="textMaxManning" />
</div>
<div class="buttonSetRangesDefaultsDiv">
<button class="buttonSetRangesDefaults" type="button">Set Defaults & Ranges</button>
</div>
</div>
</form>
</body>
</html>