-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (79 loc) · 3.99 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Neighborhood Map</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-slider/9.7.2/css/bootstrap-slider.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="wrapper" data-bind="css: toggleClass">
<!-- Sidebar -->
<div id="sidebar-wrapper">
<div>
<ul class="sidebar-nav">
<li class="sidebar-brand" id="sidebar-title">
<a href="/">Neighborhood Map</a>
</li>
<form id="sidebar-search" class="input-group">
<input type="text" class="form-control" data-bind="textInput: search" placeholder="Search for...">
<span class="input-group-btn"><button class="btn btn-default" data-bind="click: find" type="submit"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></button>
</span>
</form>
<div class="filters">
<p>Show restaurants that has:</p>
<form>
<div class="checkbox">
<label><input type="checkbox" data-bind="checked: isNameChecked">Name</label>
</div>
</form>
</div>
</ul>
</div>
<div id="style-1">
<ul id="locations-list" class="sidebar-nav">
<li data-bind="foreach: locations">
<a data-bind="click: listClick, text: $data.name"></a>
</li>
</ul>
</div>
<footer class="footer">
<p class="text-muted">© <a href="http://soheilhamidi.com/" target="_blank">Soheil</a> 2017</p>
</footer>
</div>
<!-- /#sidebar-wrapper -->
<!-- Static navbar -->
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="pull-left navbar-toggle collapsed navbar-left" id="menu-toggle" data-bind="click: toggleMenu">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Neighborhood Map</a>
</div>
<ul id="api-info">
<h4><span class="glyphicon glyphicon-info-sign info-button" data-bind="click: showInfo"></span></h4>
</ul>
<!--/.nav-collapse -->
</div>
<!--/.container-fluid -->
</nav>
<!-- Page Content -->
<div id="map"></div>
<!-- /#page-content-wrapper -->
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.4.1/knockout-min.js"></script>
<!-- /#wrapper -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="js/script.js"></script>
<script async src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCoYRyCKiLeL2Cu2Dadb2OboPtaGzvWldQ&callback=initialize" onerror="googleError()"></script>
</body>
</html>