-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·104 lines (82 loc) · 4.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Neighbourhood map using mvc design pattern and google map api">
<meta name="keywords" content="GeneKao, map, full-stack, frontend, web development, HTML, CSS, JS, JavaScript">
<meta name="author" content="Gene Ting-Chun Kao">
<title>Gene's restaurant list</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css"
integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB"
crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<nav class="navbar navbar-fixed-top navbar-light p-0">
<div class="btn-toolbar mr-auto header" role="toolbar">
<button type="button" class="btn btn-default" data-toggle="modal"
data-target="#myModal"><i class="fa fa-bars fa-fw" aria-hidden="true"></i></button>
<a class="nav-link navbar-title"><b>Gene's Restaurant List - Stuttgart</b></a>
</div>
</nav>
<!-- Modal Sidebar -->
<div class="modal left fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog">
<div class="modal-content">
<div id="SideMenu">
<div class="card">
<div class="card-header btn btn-default mh1" data-toggle="collapse" data-target="#Info" data-parent="#SideMenu">
<i class="fa fa-user-secret fa-fw"></i> Info
</div>
<div class="navbar-title collapse hide" id="Info">
<p>A restaurant list is provided by <a href="https://www.linkedin.com/in/kaogene/">Gene Kao</a>,
please contact him if you have any question. See the source code
<a href="https://github.com/GeneKao/neighbourhood-map">here</a>.
To see more my works, you can also visit my website <a href="https://www.geneatcg.com">GENEATCG</a>.</p>
</div>
<div class="input-group input-group-sm">
<form action="javascript:void(0);">
<input id="text-filter" type="text" class="form-control" style="border:1px solid #adadad;"
placeholder="Search..." data-bind="textInput: query, event: {keyup: searchRestaurants}">
</form>
</div>
<div class="card-header btn btn-default mh1" data-toggle="collapse" data-target="#Restaurant" data-parent="#SideMenu">
<i class="fa fa-cutlery fa-fw"></i> Restaurants
</div>
<div id="Restaurant" class="collapse show">
<ul class="card-block list-group mg1" data-parent="#SidMenu" data-bind="foreach: restaurants">
<li>
<a href="#" class ="list-group-item list-group-item-action"
data-bind="text: title, event: {mouseover: $parent.highlight, mouseout: $parent.lowlight}, click: $parent.selectRestaurant">
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="map"></div>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"
integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T"
crossorigin="anonymous"></script>
<script type='text/javascript'
src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.4.2/knockout-min.js"></script>
<script src="js/map-styles.js"></script>
<script src="js/locations.js"></script>
<script src="js/utils.js"></script>
<script src="js/app.js"></script>
<script async defer onerror="errorHandling()"
src="https://maps.googleapis.com/maps/api/js?libraries=places,geometry&key=AIzaSyDBu61KxoB5Tl-k1UHTaTexkdHhQDui9Lw&v=3&callback=initMap">
</script>
</body>
</html>