-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (31 loc) · 1.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
<!DOCTYPE html>
<html>
<head>
<title>Yamanote Line Stations</title>
<meta name="viewport" content="initial-scale=1.0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"><meta charset="utf-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-2">
<label>Filter Stations</label>
<input id="filter-list-text" type="text" data-bind="value: filter, valueUpdate: 'afterkeydown'" placeholder="Eg. Shinjuku Station">
<div id="location-list" name="value" data-bind="foreach: $root.filteredItems">
<button class="btn btn-sm" id="location-button" data-bind="text: title, click: $parent.clickLocation"></button><br>
</div>
</div>
<div class="col-10">
<p>ff</p>
</div>
<div class="col-10" id="map"></div>
</div>
</div>
<script src="https://cdnjs.cloudflare.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="script.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?libraries=drawing,geometry&key=AIzaSyC-K7DGV4PIjCi-soEpw41GUawwxEM4IaE&callback=initMap"
async defer onerror="mapError()"></script>
</body>
</html>