-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (76 loc) · 3.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Where In Methnab</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<nav class="navbar navbar-dark navbar-static bg-faded">
<button class="navbar-toggler pull-xs-right" id="navbarSideButton" type="button">
☰
</button>
<ul class="nav navbar-nav">
<!-- insert more nav-items if you so choose -->
</ul>
<div class="navbar-side" id="navbarSide">
<h4 class="mx-1 my-3">Filter the locations:</h4>
<input placeholder="Location" class="form-control mx-auto my-2" id="filter" type="text" data-bind="textInput: filter"/>
<ul data-bind="foreach: visibleLocations">
<li class="navbar-side-item locations-list-li mx-auto my-auto" data-bind="text: title, click: $parent.markerAnimation"></li>
</ul>
</div>
<div class="overlay"></div>
</nav>
<div class="container">
<div class="row mb-4 mt-0">
<div class="col text-center">
<h1 class="display-3 text-white where-to-go">Where to go in Almethnab</h1>
</div>
</div>
<div class="row">
<div class="col map-canvas" id="map">
</div>
</div>
</div>
<div class="modal fade" id="errorMsg" tabindex="-1" role="dialog" aria-labelledby="errorMsgTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="errorMsgTitle">Something wrong happend!</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<i class="far fa-frown sad-icon"></i>
<div class="modal-body">
<h5 data-bind="text: errorMsgContentFS" id="errorMsgContent">ERROR:</h5>
<h5 id="errorMsgGoogle">ERROR_FOURSQUARE</h5>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script defer src="js/main.js"></script>
<script defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC-CgJpNAgnvpnuOWifAUChDNmS3a4y470&callback=initMap" onerror="errorMsgGoogle()">
</script>
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
<script>
WebFont.load({
google: {
families: ['El Messiri', 'sans-serif']
}
});
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.4.2/knockout-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
</body>
</html>