-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmap.html
More file actions
74 lines (60 loc) · 3.52 KB
/
map.html
File metadata and controls
74 lines (60 loc) · 3.52 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
<!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:ng="http://angularjs.org" id="ng-app" ng-app="maps">
<head>
<title>SMN Map</title>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8"/>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="lib/bootstrap-css-only/css/bootstrap.min.css">
<link rel="stylesheet" href="lib/bootstrap-css-only/css/bootstrap-theme.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="lib/font-awesome/css/font-awesome.min.css">
<!-- Leaflet.js -->
<link rel="stylesheet" href="lib/leaflet-dist/leaflet.css">
<!-- Leaflet Awesome Markers -->
<link rel="stylesheet" href="lib/Leaflet.awesome-markers/dist/leaflet.awesome-markers.css">
<!-- Angular Snap.js -->
<link rel="stylesheet" href="lib/angular-snap/angular-snap.min.css">
<!-- App Specific -->
<link rel="stylesheet" href="css/maps.css">
</head>
<body ng-controller="MapsController" ng-init="loadOutstations()">
<snap-drawer>
<div class="container-fluid">
<div class="row">
<button ng-click="queryLiveness()" class="btn btn-lg btn-block btn-primary col-md-12" ng-disabled="inFlight || (responseCount > 0 && responseCount < 129)"><i class="fa fa-question-circle"></i> Liveness</button>
<button ng-click="querySpeed()" class="btn btn-lg btn-block btn-primary col-md-12" ng-disabled="inFlight || (responseCount > 0 && responseCount < 129)"><i class="fa fa-question-circle"></i> Speed Limit</button>
<button ng-click="queryFlow('day')" class="btn btn-lg btn-block btn-primary col-md-12" ng-disabled="inFlight || (responseCount > 0 && responseCount < 129)"><i class="fa fa-question-circle"></i> Flow Direction (Day)</button>
<button ng-click="queryFlow('hour')" class="btn btn-lg btn-block btn-primary col-md-12" ng-disabled="inFlight || (responseCount > 0 && responseCount < 129)"><i class="fa fa-question-circle"></i> Flow Direction (Hour)</button>
</div>
<div class="row">
<div class="col-md-12" ng-hide="responseCount == 0 || responseCount == 129"><progressbar class="progress-striped active" value="responseCount" max="129"></progressbar></div>
</div>
</div>
</snap-drawer>
<snap-content snap-options="snapOpts">
<button id="drawer-toggle" snap-toggle="left" class="btn btn-primary"><i class="fa fa-bars"></i> Menu</button>
<leaflet width="100%" height="100%" center="center" markers="markers"></leaflet>
</snap-content>
<!-- Base Angular + Bootstrap UI -->
<script src="lib/angular/angular.min.js"></script>
<script src="lib/angular-resource/angular-resource.min.js"></script>
<script src="lib/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<!-- Snap.js + Angular -->
<script src="lib/snapjs/snap.min.js"></script>
<script src="lib/angular-snap/angular-snap.min.js"></script>
<!-- Moment.js + Angular -->
<script src="lib/moment/min/moment.min.js"></script>
<script src="lib/angular-moment/angular-moment.min.js"></script>
<!-- Leaflet.js + Angular + Awesome Markers -->
<script src="lib/leaflet-dist/leaflet.js"></script>
<script src="lib/angular-leaflet/dist/angular-leaflet-directive.min.js"></script>
<script src="lib/Leaflet.awesome-markers/dist/leaflet.awesome-markers.min.js"></script>
<!-- Utilities -->
<script src="lib/lodash/dist/lodash.min.js"></script>
<!-- App Specific -->
<script src="js/maps.js"></script>
</body>
</html>