-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrack.html
47 lines (37 loc) · 1.55 KB
/
track.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
<!-- Bus Tracking screen -->
<!-- Back button, page header -->
<div class="row">
<div class="col">
<button type="button" ng-click="busCtrl.clearRoute()" class="btn btn-outline-success">Back</button>
</div>
<div class="col">
<span class="route-name text-center">Route: {{busCtrl.routeName}}</span>
</div>
</div>
<!-- Map -->
<div class="row">
<div class="col">
<div id="map"></div>
</div>
</div>
<div class="row">
<!-- Direction Selection -->
<div class="col">
<div class="btn-group align-middle">
<!-- <button >Tracking:</button> -->
<button class="btn btn-secondary" ng-click="busCtrl.setDirectionFilter(-1)">
<input type="radio" ng-model="busCtrl.directionFilter" ng-change="busCtrl.getVehicles()" ng-value="-1" > All Busses
</button>
<button class="btn btn-secondary" ng-click="busCtrl.setDirectionFilter(0)">
<input type="radio" ng-model="busCtrl.directionFilter" ng-change="busCtrl.getVehicles()" ng-value="0" >
{{busCtrl.directionNames[0]}} to {{busCtrl.directionDest[0]}}
<img ng-src="{{busCtrl.markerFiles[0]}}"/>
</button>
<button class="btn btn-secondary" ng-click="busCtrl.setDirectionFilter(1)">
<input type="radio" ng-model="busCtrl.directionFilter" ng-change="busCtrl.getVehicles()" ng-value="1" >
{{busCtrl.directionNames[1]}} to {{busCtrl.directionDest[1]}}
<img ng-src="{{busCtrl.markerFiles[1]}}"/>
</button>
</div>
</div>
</div>