forked from kapilsaini/Anydash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
255 lines (212 loc) · 12.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
<!DOCTYPE html>
<html ng-app="anyViewer">
<head>
<meta charset="utf-8">
<link href="bower_components/jquery-ui/themes/base/all.css" rel="stylesheet" type="text/css"/>
<link href="bower_components/bootstrap/dist/css/bootstrap.css" rel="stylesheet" type="text/css"/>
<link href="bower_components/fontawesome/css/font-awesome.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="bower_components/angular-ui-select/dist/select.css"/>
<link rel="stylesheet" href="bower_components/select2/select2.css">
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBCRLbtsuuKx5cdY2ydiri2r4ji3FTYdbY&libraries=places">
</script>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/jquery-ui/jquery-ui.min.js"></script>
<script type="text/javascript" src="libs/markerclusterer.js"></script>
<script type="text/javascript" src="bower_components/angular/angular.min.js"></script>
<script type="text/javascript" type="text/javascript" src="bower_components/angular-route/angular-route.min.js"></script>
<script type="text/javascript" src="bower_components/angular-ui-select/dist/select.js"></script>
<script type="text/javascript" src="bower_components/angular-sanitize/angular-sanitize.min.js"></script>
<!-- Must come after jquery/ui imports -->
<script type="text/javascript" src="bower_components/jqueryui-touch-punch/jquery.ui.touch-punch.min.js"></script>
<title>Anyplace Dashboard</title>
<script type="text/javascript" src="bower_components/angular-bootstrap/ui-bootstrap.min.js"></script>
<script type="text/javascript" src="bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<script type="text/javascript" src="bower_components/angular-loading-bar/src/loading-bar.js"></script>
<link rel="stylesheet" href="bower_components/angular-loading-bar/src/loading-bar.css">
<script type="text/javascript" src="bower_components/add-to-homescreen/src/addtohomescreen.min.js"></script>
<link rel="stylesheet" type="text/css" href="bower_components/add-to-homescreen/style/addtohomescreen.css"/>
</head>
<body>
<div id="control-bar" class="box-shadow-1 ng-cloak" ng-controller="ControlBarController as ctrlBarCtrl" ng-cloak>
<div class="container-fluid" id="gray-bg">
<div class="col-md-1 col-sm-2 col-xs-2 " id="div-logo">
<img style="width: 75px; height: auto" src="build/images/anyplace_logo_text_white3_4.png"/>
</div>
<!-- BUILDINGS -->
<div ng-hide="anyService.selectedBuilding" class="col-md-8 col-sm-7 col-xs-10" id="ctrl-bar-buildings"
ng-controller="BuildingController as buildingCtrl">
<div class="bold-f" style="color:transparent; pointer-events:none;">_</div>
<!--<select id="building-select-list" ng-model="anyService.selectedBuilding" class="form-control"-->
<!--ng-options="building.name for building in myBuildings | orderBy:'name'" title="Buildings">-->
<!--</select>-->
<!--<input type="text" ng-model="anyService.selectedBuilding"-->
<!--typeahead="b as b.name for b in myBuildings | filter:$viewValue | limitTo: 10" class="form-control">-->
<ui-select ng-model="anyService.selectedBuilding" theme="bootstrap" ng-disabled="disabled">
<ui-select-match placeholder="Select a Building...">{{$select.selected.name}}</ui-select-match>
<ui-select-choices
repeat="b in myBuildings | orderBy : orderByDistCentre | propsFilter: { name: $select.search, description: $select.search }">
<div ng-bind-html="b.name | highlight: $select.search"></div>
<small>
{{b.description}}
</small>
</ui-select-choices>
</ui-select>
</div>
<!-- FLOORS -->
<div ng-show="false" id="ctrl-bar-floors" ng-controller="FloorController as floorCtrl">
<!--<div class="bold-f">Floor:</div>-->
<!--<select id="floor-select-list" ng-model="anyService.selectedFloor" class="form-control"-->
<!--ng-options="floor.floor_number for floor in xFloors | orderBy:orderByFloorNo"-->
<!--title="Floors">-->
<!--</select>-->
</div>
<!-- POIS -->
<div ng-show="anyService.selectedBuilding" class="col-md-8 col-sm-7 col-xs-10" id="ctrl-bar-pois"
ng-controller="PoiController as poiCtrl"
ng-show="anyService.selectedBuilding !== undefined && anyService.selectedBuilding !== null && anyService.selectedFloor !== undefined && anyService.selectedFloor !== null">
<div class="bold-f one-line-wrap-div">
<button ng-click="unselectBuilding()" id="change-building-btn" class="btn btn-primary"
style="padding: 3px 6px; margin-bottom: 3px; outline-style: none">
<span class="glyphicon glyphicon-remove" id="change-building-box"></span>
</button>
<span id="clear-routes-box" ng-click="clearNavPolylines()"
ng-show="navRoutesShown()"> (Clear Routes)</span>
{{anyService.selectedBuilding.name}}:
</div>
<!--<select id="poi-select-list" ng-model="anyService.selectedPoi" class="form-control"-->
<!--ng-options="poi.name for poi in myPois | filter : { pois_type : '!None' } | orderBy:orderByName"-->
<!--title="POIs">-->
<!--</select>-->
<!--<input type="text" ng-model="anyService.selectedPoi"-->
<!--typeahead="p as p.name for p in myPois | filter:$viewValue | filter : { pois_type : '!None' } | limitTo: 10"-->
<!--class="form-control">-->
<ui-select ng-model="anyService.selectedPoi" theme="bootstrap" ng-disabled="disabled">
<ui-select-match placeholder="Select a Point of Interest..."><b>[ {{$select.selected.floor_number}}
]</b> : {{$select.selected.name}} | {{$select.selected.description | limitTo : 40}}{{$select.selected.description.length > 40 ? '...' : ''}}
</ui-select-match>
<ui-select-choices
repeat="p in poiCtrl.querySearch($select.search) | filter : { pois_type : '!None' } | orderBy : orderByFloor">
<div ng-bind-html="'['+ p.floor_number +'] : ' + p.name + ' | ' + p.description | highlight: $select.search"></div>
<!--<small>-->
<!--<span ng-bind-html="'[ ' + p.floor_number + ' ] ' | highlight: $select.search"></span>-->
<!--{{p.description}}-->
<!--</small>-->
</ui-select-choices>
</ui-select>
</div>
<div class="col-md-2 col-sm-1 col-xs-2" id="more-menu">
<div class="bold-f" style="color:transparent; pointer-events:none;"
ng-style="{ 'height' : (anyService.selectedBuilding?'2em':null)}">_
</div>
<div ng-controller="DropDownCtrl">
<!-- Single button -->
<div class="btn-group" dropdown is-open="status.isopen">
<button type="button" class="btn btn-primary dropdown-toggle" dropdown-toggle>
<span
class="glyphicon glyphicon-menu-hamburger"> </span>
<!--</span><span class="caret"></span>-->
</button>
<ul id="dropdown-ham-menu" class="dropdown-menu" role="menu">
<!--<li><a href="#">Share URL</a>-->
<!--<span id="share-url-input-outer">-->
<!--<input id="share-url-input" class="form-control" value="..."/>-->
<!--</span>-->
<!--</li>-->
<!--<li class="divider"></li>-->
<li style="text-align: center;">
<a href="https://anyplace.cs.ucy.ac.cy" target="_blank">
<div class="div-logo-menu">
<img style="width: 75px; height: auto" src="build/images/anyplace_logo_text3_4.png"/>
</div>
</a>
</li>
<li><a href="https://anyplace.cs.ucy.ac.cy" target="_blank">About</a></li>
<li><a href="https://anyplace.cs.ucy.ac.cy#contact" target="_blank">Contact</a></li>
<li><a href="https://anyplace.cs.ucy.ac.cy/tos" target="_blank">Terms</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="notification_panel" ng-controller="AlertController as alertCtrl"
ng-show="alerts.length || anyService.isLoading">
<!--<progressbar ng-show="anyService.isLoading" class="progress-striped active"-->
<!--style="margin: 0 10px 0 10px; z-indez: 98" value="100"><span ng-click="hideProgessBar()" id="hide-pb">X</span></progressbar>-->
<alert ng-repeat="alert in alerts" type="{{alert.type}}" close="anyService.closeAlert($index)">
{{alert.msg}}
</alert>
</div>
<div id="android_top_DIV_1" ng-init="showAndroidPrompt()">
<a href="#" id="android_top_A_2" ng-click="hideAndroidBar()"></a>
<a href="#" id="android_top_A_3"></a>
<div id="android_top_DIV_4">
<div id="android_top_DIV_5">
<strong id="android_top_STRONG_7">For superb location accuracy download Anyplace for Android</strong><br
id="android_top_BR_8"/>
</div>
<div id="android_top_DIV_17">
<a href="https://play.google.com/store/apps/details?id=com.dmsl.anyplace" target="_blank"
id="android_top_A_18">Install</a>
</div>
</div>
</div>
</div>
<div id="map-canvas"></div>
<div id="floor-controls">
<div id="DIV_1" ng-show="anyService.selectedBuilding" class="ng-cloak" ng-cloak>
<span ng-click="floorUp()" title="Level up" id="A_2">
<i class="fa fa-building"></i>
<i class="fa fa-caret-up"></i>
</span>
<a id="A_5">
<select id="floor-select-list" ng-model="anyService.selectedFloor"
style="border: none; outline-style: none; width: 45px; font-size: 15px; background-color: white; padding-left: 5px;"
ng-options="floor.floor_number for floor in xFloors | orderBy:orderByFloorNo"
title="Floors">
</select>
</a>
<span ng-click="floorDown()" title="Level Down" id="A_6">
<i class="fa fa-building"></i>
<i class="fa fa-caret-down"></i>
</span>
</div>
</div>
<div id="my-loc-control" class="ng-cloak" ng-cloak>
<div ng-show="anyService.selectedBuilding" ng-click="centerViewToSelectedItem()"
class="center-view-box-parent box-shadow-1">
<div id="center-view-box">
<span>
<img width="25" height="25" src="build/images/any-bullseye.png">
</span>
</div>
</div>
<div ng-click="showUserLocation()" class="find-me-box-parent box-shadow-1">
<div id="find-me-box">
<span>
<img ng-show="getIsUserLocVisible()" width="25" height="25" src="build/images/html5-location-blue.png">
<img ng-hide="getIsUserLocVisible()" width="25" height="25" src="build/images/html5-location-grey.png">
</span>
</div>
</div>
<div ng-show="getIsUserLocVisible()" ng-click="panToUserLocation()" class="pan-find-me-box-parent box-shadow-1">
<div id="pan-find-me-box">
<span>
<img width="25" height="25" src="build/images/bullseye.png">
</span>
</div>
</div>
</div>
</body>
<footer>
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,900,400italic,700italic,900italic" rel="stylesheet"
type="text/css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
<script src="//cdn.flurry.com/js/flurry.js"></script>
<script>FlurryAgent.startSession("CTSR4NQFNXTQZHRR3C3V");</script>
</footer>
</html>