-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
156 lines (139 loc) · 6.79 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
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
<html>
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0'"> -->
<head>
<title>ByteWRF</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/leaflet.css" />
<link rel="stylesheet" href="js/src/leaflet.draw.css" />
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://unpkg.com/flatpickr/dist/flatpickr.min.css">
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/leaflet.js"></script>
<script src="https://unpkg.com/flatpickr"></script>
<!-- Leaflet Draw Import -->
<script src="js/src/Leaflet.draw.js"></script>
<script src="js/src/Leaflet.Draw.Event.js"></script>
<script src="js/src/Toolbar.js"></script>
<script src="js/src/Tooltip.js"></script>
<script src="js/src/ext/GeometryUtil.js"></script>
<script src="js/src/ext/LatLngUtil.js"></script>
<script src="js/src/ext/LineUtil.Intersect.js"></script>
<script src="js/src/ext/Polygon.Intersect.js"></script>
<script src="js/src/ext/Polyline.Intersect.js"></script>
<script src="js/src/ext/TouchEvents.js"></script>
<script src="js/src/draw/DrawToolbar.js"></script>
<script src="js/src/draw/handler/Draw.Feature.js"></script>
<script src="js/src/draw/handler/Draw.SimpleShape.js"></script>
<script src="js/src/draw/handler/Draw.Polyline.js"></script>
<script src="js/src/draw/handler/Draw.Circle.js"></script>
<script src="js/src/draw/handler/Draw.Marker.js"></script>
<script src="js/src/draw/handler/Draw.Polygon.js"></script>
<script src="js/src/draw/handler/Draw.Rectangle.js"></script>
<script src="js/src/edit/EditToolbar.js"></script>
<script src="js/src/edit/handler/EditToolbar.Edit.js"></script>
<script src="js/src/edit/handler/EditToolbar.Delete.js"></script>
<script src="js/src/Control.Draw.js"></script>
<script src="js/src/edit/handler/Edit.Poly.js"></script>
<script src="js/src/edit/handler/Edit.SimpleShape.js"></script>
<script src="js/src/edit/handler/Edit.Circle.js"></script>
<script src="js/src/edit/handler/Edit.Rectangle.js"></script>
<script src="js/src/edit/handler/Edit.Marker.js"></script>
<script src="js/bytewrf.js"></script>
</head>
<body>
<div id="mapid"></div>
<div id='menu'>
<div id='step1-dropdown' class='dropdown'>
<div class="dropdown-header ">
<h3>1: Grid</h3>
<div class="dropdown-arrow rotated">
<i style="color: white;" class="fa fa-chevron-down fa-2x"></i>
</div>
</div>
<div class='dropdown-content'>
<div data-resolution='1' id="ultra" class="resolution-select resolution-selected">
<p>Ultra High-Res (1km)</p>
</div>
<div data-resolution='3' id="high" class="resolution-select">
<p>High-Res (3km)</p>
</div>
<div data-resolution='12' id="medium" class="resolution-select">
<p>Medium-Res (12km)</p>
</div>
<div data-resolution='32' id="coarse" class="resolution-select">
<p>Coarse-Res (32km)</p>
</div>
<br>
<div id='resolution_confirm' class='menu-button button -green center'>Confirm</div>
</div>
</div>
<div id='step2-dropdown' class='dropdown disabled'>
<div class="dropdown-header ">
<h3>2: Domain</h3>
<div class="dropdown-arrow">
<i style="color: white;" class="fa fa-chevron-down fa-2x"></i>
</div>
</div>
<div class='dropdown-content' style="display: none">
<div id='draw' class='menu-button button -dark center'>Draw</div>
<div id='edit' class='menu-button button -dark center' style="display: none">Edit</div>
<div id='save' class='menu-button button -dark center' style="display: none">Save</div>
<div id='domain_confirm' class='menu-button button -green center' style='display: none'>Confirm</div>
</div>
</div>
<div id='step3-dropdown' class='dropdown disabled'>
<div class="dropdown-header ">
<h3>3: Date / Time</h3>
<div class="dropdown-arrow">
<i style="color: white;" class="fa fa-chevron-down fa-2x"></i>
</div>
</div>
<div class='dropdown-content' style="display: none">
<p>Start Time:</p> <input class='date-picker' id='sdate' type='text' placeholder="">
<p>End Time:</p> <input class='date-picker' id='edate' type='text' placeholder="">
<br>
<br>
<div id='time_confirm' class='menu-button button -green center'>Confirm</div>
</div>
</div>
<div id='step4-dropdown' class='dropdown disabled'>
<div class="dropdown-header ">
<h3>4: Optimize</h3>
<div class="dropdown-arrow">
<i style="color: white;" class="fa fa-chevron-down fa-2x"></i>
</div>
</div>
<div class='dropdown-content' style="display: none">
<div id="severe" class="optimize-select optimize-selected">
<p>Severe Weather</p>
</div>
<div id="winter" class="optimize-select">
<p>Winter Weather</p>
</div>
<div id="tropical" class="optimize-select">
<p>Tropical Weather</p>
</div>
<br>
<div id='optimize_confirm' class='menu-button button -green center'>Confirm</div>
</div>
</div>
<div id='step5-dropdown' class='dropdown disabled'>
<div class="dropdown-header ">
<h3>5: Submit</h3>
<div class="dropdown-arrow">
<i style="color: white;" class="fa fa-chevron-down fa-2x"></i>
</div>
</div>
<div class='dropdown-content' style="display: none">
</div>
</div>
<!-- <div id='domain_draw'>
<h3>Step 1: Set up Domain</h3>
<div id='draw' class='menu-button button -dark center'>Draw</div>
<div id='edit' class='menu-button button -dark center' style="display: none">Edit</div>
<div id='save' class='menu-button button -dark center' style="display: none">Save</div>
</div> -->
</div>
</body>
</html>