-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (79 loc) · 3.42 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bus Map</title>
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/leaflet.css"
integrity="sha512-hoalWLoI8r4UszCkZ5kL8vayOGVae1oxXe/2A4AO6J9+580uKHDO3JdHb7NzwwzK5xr/Fs0W40kiNHxM9vyTtQ=="
crossorigin="" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/leaflet.js"
integrity="sha512-BB3hKbKWOc9Ez/TAwyWxNXeoV9c1v6FIeYiBieIWkpLjauysF18NzgR1MBNBXf8/KABdlkX68nAhlwcDFLGPCQ=="
crossorigin=""></script>
<!-- <script src="https://unpkg.com/[email protected]"></script> -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/leaflet.rotatedMarker.min.js"
integrity="sha512-5tkvmD3NSqJ4P0aMjhDfl+59qR/obRMDrwwqiMu2OhN3nMFIJI1PZSphRipIvk76RMCBq5GXN9tv4/iFVLYLXA=="
crossorigin=""></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Turbo87/[email protected]/css/leaflet-sidebar.min.css"
integrity="sha512-Bo/LHp4yQDNtCJHL+/JRRSD9iHfFAASfWNN+0y63pa3ia9S47Qrl0we/y/ISI/w9iVONX0+OtP7sMNFgmA4P6A=="
crossorigin="">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/font-awesome.min.css"
integrity="sha512-77kidyGDJGWWmJ0MVO0CRp+6nRgZRK67frUVBRvnL1zCcmcw9FkCQxpDHq52SebW+KWTAnnuX0Qk2/MQWogWoQ=="
crossorigin="">
<!-- <link href="style.css" rel="stylesheet"> -->
<style>
body {
padding: 0;
margin: 0;
}
html,
body,
#map {
height: 100%;
font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}
.lorem {
font-style: italic;
color: #AAA;
}
/* button {
padding: 7px;
border: none;
border-radius: 4px;
cursor: pointer;
background-color: #435561;
} */
</style>
</head>
<body>
<div id="sidebar" class="sidebar sidebar-left leaflet-touch collapsed">
<div class="sidebar-tabs">
<ul role="tablist">
<li><a href="#home" role="tab"><i class="fa fa-bars"></i></a></li>
<li><a href="javascript:void(0);" role="tab" onclick="refreshBuses()"><i class="fa fa-refresh"></i></a></li>
</ul>
</div>
<div class="sidebar-content">
<div class="sidebar-pane" id="home">
<h1 class="sidebar-header">
bus-map
<span class="sidebar-close"><i class="fa fa-caret-left"></i></span>
</h1>
<div id="bus-refresh-button"></div>
<!-- <button onclick="refreshBuses()">Refresh</button> -->
<p class="lorem">Lorem ipsum dolor sit amet consectetur adipisicing elit. Eum, praesentium. Eum voluptate esse
molestiae, natus reprehenderit consectetur doloribus dignissimos quasi. Odit in similique dignissimos repellat
tempore blanditiis officia molestias ex?</p>
</div>
</div>
</div>
<div id="map"
class="sidebar-map leaflet-container leaflet-touch leaflet-retina leaflet-fade-anim leaflet-grab leaflet-touch-drag leaflet-touch-zoom"
style="width: 100%; height: 100%; position: relative;" width="70%"></div>
<script src="https://cdn.jsdelivr.net/gh/Turbo87/[email protected]/js/leaflet-sidebar.js"
integrity="sha512-ICZYxuyE3HG8sLZG4WQ0FRsl0bU/o9ty59Kddnul+HzhLVPN76Gh0jSQuRonyNEbO+McYh4qMOvIJc+GmBmz2A=="
crossorigin=""></script>
<script src="main.js"></script>
</body>
</html>