-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
305 lines (270 loc) · 14.6 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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head lang="en">
<meta charset="utf-8">
<title>Data Portal</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Oklahoma Water Survey - Data Portal">
<meta name="author" content="OU IT Informatics">
<link rel=stylesheet
href="http://worker.oklahomawatersurvey.org/portal/jqui/development-bundle/themes/base/jquery.ui.all.css"
type="text/css" media="screen, print">
<link rel=stylesheet href="http://worker.oklahomawatersurvey.org/portal/bootstrap/css/bootstrap-responsive.min.css"
type="text/css" media="screen, print">
<link rel=stylesheet href="http://worker.oklahomawatersurvey.org/portal/bootstrap/css/bootstrap.min.css"
type="text/css" media="screen, print">
<link rel=stylesheet href="http://worker.oklahomawatersurvey.org/portal/css/bootstrap/css/cybercommons.css"
type="text/css" media="screen, print">
<link rel=stylesheet href="style.css" type="text/css" media="screen, print">
<script type="text/javascript" src="http://worker.oklahomawatersurvey.org/portal/js/simpleCart.min.js"></script>
<!--1.7.2-->
<script src="http://worker.oklahomawatersurvey.org/portal/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="http://worker.oklahomawatersurvey.org/portal/js/jquery.blockUI.js"></script>
<script type="text/javascript"
src="http://worker.oklahomawatersurvey.org/portal/css/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript"
src="http://worker.oklahomawatersurvey.org/portal/js/OpenLayers-2.11/OpenLayers.js"></script>
<script type="text/javascript"
src="http://worker.oklahomawatersurvey.org/portal/js/flot/jquery.flot.min.js"></script>
<script type="text/javascript"
src="http://worker.oklahomawatersurvey.org/portal/js/flot/jquery.flot.selection.min.js"></script>
<script type="text/javascript"
src="http://worker.oklahomawatersurvey.org/portal/flotlabels/jquery.flot.axislabels.js"></script>
<script type="text/javascript"
src="http://worker.oklahomawatersurvey.org/portal/js/jquery-ui-1.8.10.custom.min.js"></script>
<script
src="http://maps.google.com/maps/api/js?v=3.6&sensor=false&key=AIzaSyB1OApFshSYU6P8eUk7BpF6_oPMD9Du8yI"></script>
<script type="text/javascript" src="map.js"></script>
<script type="text/javascript" src="portal.js"></script>
<script type="text/javascript" src="cctasks.js"></script>
<script type="javascript">
jQuery(document).ready(function ($) {
$('#myTab').tab();
OpenLayers.Handler.Feature.prototype.activate = function () {
var activated = false;
if (OpenLayers.Handler.prototype.activate.apply(this, arguments)) {
//this.moveLayerToTop(); //override to not have switch
this.map.events.on({
"removelayer": this.handleMapEvents,
"changelayer": this.handleMapEvents,
scope: this
});
activated = true;
}
return activated;
};
/*$('.hasTooltip').each(function () { // Notice the .each() loop, discussed below
$(this).qtip({
content: {
text: $(this).next('div') // Use the "div" element next to this for the content
}
});
});*/
});
</script>
</head>
<body>
<div class="navbar">
<div class="navbar-inner" style="background: #1A5A80;">
<div class="container-fluid">
<div style="width:30%;display:inline">
<a class="brand" href="#" onclick="window.location.reload();" style="font-size:32px; color:white;">
<img src="ows_logo1.png" alt="Oklahoma Water Survey"/></a>
</div>
<div class="nav-collapse push-middle">
<!--<div class="sdpan6"> </div>-->
<ul class="nav top_mar">
<li><a href="#" onclick="window.location.reload();">Home</a></li>
<li><a id="about" href="#">About</a></li>
<li><a id="contact" href="#">Contact</a></li>
<li><a id="help" href="#">Help</a></li>
</ul>
</div>
<ul class="nav pull-right top_mar">
<li class="dropdown hide"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Sign In <b
class="caret"></b></a>
<div class="dropdown-menu">
<form action="" id="form_login" style="margin: 0; padding: 3px 15px" accept-charset="utf-8"
method="post">
<fieldset class="control-group">
<label for="form_username" class="control-label">Username</label>
<div class="input-prepend" style="white-space: nowrap">
<span class="add-on"><i class="icon-user"></i></span>
<input type="username" name="username" id="form_username" autocomplete="on"
class="span2">
</div>
</fieldset>
<fieldset class="control-group">
<label for="form_password" class="control-label">Password</label>
<div class="input-prepend" style="white-space: nowrap">
<span class="add-on"><i class="icon-lock"></i></span>
<input type="password" name="password" id="form_password" class="span2">
</div>
</fieldset>
<label class="checkbox"> <input type="checkbox" name="remember" value="true"/> Remember me
</label>
<p class="navbar-text">
<button type="submit" class="btn btn-primary">Login</button>
</p>
</form>
</div>
</li>
</ul>
</div>
</div>
</div>
<div id='header'>
<div class="cartInfo"><span class="simpleCart_quantity"></span> items</div>
<div id="cartPopover">
<div id="triangle">▲</div>
<div class="simpleCart_items"></div>
<div id="cartData" class="clearfix">
<div class="left"><strong>Total Data Items: </strong><span class="simpleCart_quantity">1</span></div>
</div>
<div id="popoverButtons" class="clearfix">
<div id="containspinner" style="float:left;padding-top:1px;width:20px;height:20px">
<div id="spinner" style="float:left;"><img src="/static/img/spinner.gif" id="img-spinnger"
alt="Loading" width="20px" height="20px"/></div>
</div>
<div id="status" class="label label-warning" style="line-height:2em;float:left;">Task Submitted</div>
<a href="javascript:;" style="float:right;" class="simpleCart_checkout hudbtn primary right">Submit</a>
</div>
</div>
</div>
<div class="container-fluid">
<ul id='myTab' class="nav nav-tabs">
<li class="active"><a href="#home" data-toggle="tab">Data Portal</a></li>
<li><a href="#dashboard" data-toggle="tab">Watershed Dashboards</a></li>
</ul>
<div id="myTabContent" class="tab-content" style="margin-bottom:0px">
<div class="tab-pane active" id="home">
<div class="row-fluid">
<div class="span3">
<div class="well sidebar-nav" style="padding:10px;">
<ul class="nav nav-list" style="padding-left:1px;padding-right:1px;">
<li class="nav-header"><h4>Data Portal</h4>Search Options</li>
<li class="divider"></li>
<div class="btn-group">
<button id="data-btn" class="btn my-nav-btn1"><span class="icon-plus"></span>Data
</button>
<button id="watershed-btn" class="btn my-nav-btn2"><span class="icon-filter"></span>Watersheds
</button>
<button id="aquifer-btn" class="btn my-nav-btn3"><span class="icon-filter"></span>Aquifers
</button>
</div>
<li class="divider"></li>
<li class="nav-header">Data Sources</li>
<div id="currentSource">
<ul id="sourceFilt" class="nav" style="padding-left:1px;padding-right:1px;">
</ul>
</div>
<div id='curretnfilter' style="margin-left:5px;margin-bottom:15px;">
<ul id="currentFilt_wshd" class="nav filter">
<span class="nav-header">Watersheds Filters:</span>
</ul>
<ul id="currentFilt_aquifer" class="nav filter">
<span class="nav-header">Aquifer Filters:</span>
</ul>
<ul id="currentFilt_type" class="nav filter">
<span id="type-title" class="nav-header">Type:</span>
</ul>
<span class="nav-header">Last Activity Date:</span>
<div class="btn-group">
<button id="last-act-btn" class="btn btn-small"><span class="icon-filter"></span>Filter
</button>
<span id="setact" style="display:none" align="center">
<i class="icon-remove-circle" rel="tooltip" id="blah"
data-original-title="Remove Date"></i>
<a href="#">Site Activty >= </a></span>
</div>
<ul id="currentFilt" class="nav nav-list">
</ul>
</div>
</ul>
<img src="ows_logo1.png" alt="Oklahoma Water Survey"/>
</div>
<div class="well alert-success">
<div id="totmsg"></div>
<div id="msg"></div>
</div>
<div class="accordion" id="selAccordion"></div>
</div>
<div class="span9">
<div class="well">
<input type="radio" name="type" value="select" id="noneToggle" onclick="toggleControl(this);"/>
Navigate <b>Select by:</b>
<input type="radio" name="type" value="circle" id="circleToggle"
onclick="toggleControl(this);"/> Circle
<input type="radio" name="type" value="polygon" id="polygonToggle"
onclick="toggleControl(this);"/> Polygon
<input type="radio" name="type" value="box" id="boxToggle" onclick="toggleControl(this);"/> Box
<div id="map" class="smallmap" style="height: 700px;"></div>
</div>
</div>
</div>
</div>
<!--end of data portal tab-->
<div class="tab-pane" id="dashboard">
<h2>Oklahoma Watershed Dashboards</h2>
<ol id="waterdash" style="float:left;margin:10px;margin-left:50px;">
</ol>
<ol id="waterdash2" style="float:left;margin:10px;margin-left:100px;" start="6">
</ol>
<ol id="waterdash3" style="float:left;margin:10px;margin-left:30px;" start="10">
</ol>
<div id="wshedscript"></div>
</div>
<!--end of dashboard portal tab-->
</div>
<hr>
<footer>
<p>© Oklahoma Water Survey 2013</p>
</footer>
</div>
<div id="selinfo">
<div id="seldivname">Name: <input id="selname" type="text" value=""/> <span id="srchmsg"></span></div>
<table id="sites" class="table table-striped table-bordered table-condensed">
<thead>
<tr class="ui-widget-header">
<th>Site No</th>
<th>Sitename</th>
<th style="text-align:center;">Status</th>
<th style="text-align:right;">Organization</th>
<th style="text-align:right;">Type</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<div id="dialog-filter">
<h5 id="label5" class="nav-header" style="margin-left:-7px;">Data Type Filter</h5>
</div>
<div id="dialog-data">
<div id="datasource"></div>
</div>
<div id="dialog-geo">
<div id="watershd" class="HIDE_ALL WSHED"></div>
<div id="aquifers" class="HIDE_ALL AQRS"></div>
</div>
<div id="dialog-last-act">
<div id="last_act">
<span><b>Set Last activity date filter:</b></br></span>
<div id="dp3">
<span style="padding:10px; ">
<label for="set_date" style="display:inline;">Filter Date: </label><input id="set_date"
class="span2 setdate"
size="18" type="text"
readonly>
</span>
<p>Sites with activity on or after date will be visible.</p>
<div class="btn-group" style="float: right;">
<button id="set-last-date" class="btn btn-small btn-right"><span class="icon-plus"></span>Add</button>
</div>
</div>
</div>
</div>
<script src="http://worker.oklahomawatersurvey.org/portal/js/underscore/underscore-min.js" type="text/javascript"></script>
<script src="http://worker.oklahomawatersurvey.org/portal/js/backbone/backbone-min.js" type="text/javascript"></script>
<script src="man.js" type="text/javascript"></script>
</body>
</html>