-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (44 loc) · 1.95 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
<!DOCTYPE html>
<html>
<head>
<title>Neighbourhood Map</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
<body>
<div class="flex-container">
<div class="options-box">
<h1>Neighbourhood Map: Universities in Astana</h1>
<div>
<button data-bind="click: showListings">Show Listings</button>
<button data-bind="click: hideListings">Hide Listings</button>
</div>
<div id="error"></div>
<div class="locations_list">List of Universities </div>
<p>Type in the name or chose one from the list</p>
<form>
<input placeholder="What are you searching?" data-bind="textInput: searchInput, event: {keyup: search}">
<button type="submit" data-bind="click: clearForm">Clear</button>
</form>
<ul data-bind="foreach: search_result " style="list-style-type: none">
<li data-bind="text: title, click: $parent.clicked">
</li>
<hr>
</ul>
</div>
<div id="map" class="map"></div>
</div>
<br>
<footer> <p> Portions of this page are reproduced from work created and shared by Google and used according to <br> terms described in the Creative Commons 3.0 Attribution License.</p>
</footer>
<script src="js/lib/knockout-3.4.2.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="js/data.js"></script>
<script src="js/app.js"></script>
<!-- Asynchronous to let the whole page to render, while info is loading -->
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAwnv0LEWgGaTZKtPbEIeAv-QFXsth5ZYI&callback=initApp"
onerror="error()">
</script>
</body>
</html>