-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (57 loc) · 2.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Food Cart</title>
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="style.css"/>
<!--<script src='http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false&language=en&v=3.17'></script>-->
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/lodash/lodash.min.js"></script>
<script src="bower_components/angular-google-maps/dist/angular-google-maps.min.js"></script>
<script src="dist/all.js"></script>
</head>
<body ng-app="foodApp" ng-controller="mapCtrl">
<script type="text/ng-template" id="searchbox.tpl.html">
<input type="text" id="pac-input" placeholder="Search Box">
</script>
<ui-gmap-google-map center='map.center' zoom='map.zoom' bounds="map.bounds" pan="true" events="map.events">
<ui-gmap-search-box template="searchbox.template" events="searchbox.events"></ui-gmap-search-box>
<ui-gmap-marker model="marker" coords="marker.location" idKey="'place'" visible="'show'"></ui-gmap-marker>
<ui-gmap-markers idKey="'objectid'" coords="'location'" models="map.markers" icon="'icon'" doCluster="true" events="'events'">
</ui-gmap-markers>
</ui-gmap-google-map>
<div ng-show="markers.length == 0" id="goback">
<button class="btn" ng-click="reset()">Go back to SF</button>
</div>
<div id="legend" ng-hide="(markers.length == 0)">
<div>
<label for="truck">
<input type="checkbox" id="truck" ng-model="filter.truck"/>
<img src="assets/food-truck.png" alt="truck"/> Truck
</label>
</div>
<div>
<label for="push-cart">
<input type="checkbox" id="push-cart" ng-model="filter.push_cart"/>
<img src="assets/push-cart.png" alt="push-cart"/> Push Cart
</label>
</div>
</div>
<div id="info" class="flex-column" ng-show="selected.show">
<div class="flex-row spaced">
<p id="head">{{selected.name}}</p>
</div>
<div class="column">
<p>Address: {{selected.address}}</p>
<span>Items:-</span>
<p>{{selected.serve}}</p>
</div>
<div id="close" ng-click="closeinfo()">
✖
</div>
</div>
</body>
</html>