-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (71 loc) · 2.59 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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<title>Simple Climate Model</title>
<head>
<!-- Data -->
<script type="text/javascript" src="data/historical.json"></script>
<script type="text/javascript" src="data/future.json"></script>
<!-- jQuery & jQueryUI -->
<script src="src/jquery-3.1.1.min.js"></script>
<link href="src/bootstrap-switch.css" rel="stylesheet">
<script src="src/bootstrap-switch.js"></script>
<link rel="stylesheet" href="src/jquery-ui.css">
<script src="src/jquery-ui.js"></script>
<!-- Plotting -->
<script type="text/javascript" src="src/plotly-latest.min.js"></script>
<!-- Model Functions -->
<script type="text/javascript" src="src/getModelInputs.js"></script>
<script type="text/javascript" src="src/runModel.js"></script>
<script type="text/javascript" src="src/plotController.js"></script>
<!-- Page Controller -->
<script type="text/javascript" src="src/pageController.js"></script>
</head>
<body>
<!-- Table of Model Inputs -->
<form>
<table cellpadding="5" border="1">
<tr>
<td colspan=4>Model Inputs</td>
</tr>
<tr>
<td>Anthropogenic Forcing:</td>
<td><input type="checkbox" name='anthro' id="switch" unchecked></td>
<td align="right">Feedback: <input type="text" id="varFb" readonly style="border:0; font-weight:bold; font-size:14px;" size="5"></td>
<td align="right">Mixed layer depth: <input type="text" id="varH" readonly style="border:0; font-weight:bold; font-size:14px;" size="5"></td>
</tr>
<tr>
<td>Volcanic Forcing:</td>
<td><input type="checkbox" name='volc' id="switch" unchecked></td>
<td rowspan=3 align="center"><div id="slider-vertical" style="height:200px;" padding="5"></div></td>
<td rowspan=3 align="center"><div id="slider-vertical2" style="height:200px;" padding="5"></div></td>
</tr>
<tr>
<td>Solar Forcing:</td>
<td><input type="checkbox" name='sol' id="switch" unchecked></td>
</tr>
<tr>
<td>Natural Variability:</td>
<td><input type="checkbox" name='nat' id="switch" unchecked></td>
</tr>
<tr>
<td>Future Scenario:</td>
<td>
<select id="scenario">
<option value="none">Select</option>
<option value="rcp3">RCP 3</option>
<option value="rcp45">RCP 4.5</option>
<option value="rcp6">RCP 6</option>
<option value="rcp85">RCP 8.5</option>
</select>
</td>
</tr>
<tr>
<td></td>
<td><input class="ui-button ui-widget ui-corner-all" type="submit" value="Run Model"></td>
</tr>
</table>
</form>
<!-- Div for Plot output -->
<div id="tester" style="width:800px;height:400px;"></div>
</body>
</html>