-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
111 lines (111 loc) · 4.77 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> trekungen </title>
<link rel="stylesheet" href="common/style/ol.css">
<link rel="stylesheet" href="common/style/bootstrap.min.css">
<link rel="stylesheet" href="common/style/bootstrap-icons.min.css">
</head>
<body>
<nav class="navbar navbar-expand-lg fixed-top bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="./">
<i class="bi-compass"></i> trekungen
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navungen" aria-controls="navungen"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navungen">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
</ul>
<ul class="navbar-nav">
<!-- List of open source software used in this web application -->
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Open Source
</a>
<ul class="dropdown-menu dropdown-menu-end shadow">
<li><h6 class="dropdown-header"> Web app: </h6></li>
<li>
<a class="dropdown-item" target="_blank"
href="https://github.com/jeffyactive/trekungen">
<i class="bi-github"></i>/jeffyactive/trekungen
<span class="badge text-bg-info ms-1"> MIT / CC0-1.0 </span>
</a>
</li>
<li><hr class="dropdown-divider"></li>
<li><h6 class="dropdown-header"> Built using: </h6></li>
<li>
<a class="dropdown-item" target="_blank"
href="https://openlayers.org/">
<i class="bi-code-slash"></i> OpenLayers
<span class="badge text-bg-info ms-1"> 2-Clause BSD </span>
</a>
</li>
<li>
<a class="dropdown-item" target="_blank"
href="https://getbootstrap.com/">
<i class="bi-bootstrap"></i> Bootstrap
<span class="badge text-bg-info ms-1"> MIT </span>
</a>
</li>
<li>
<a class="dropdown-item" target="_blank"
href="https://icons.getbootstrap.com/">
<i class="bi-bootstrap"></i> Bootstrap Icons
<span class="badge text-bg-info ms-1"> MIT </span>
</a>
</li>
<li><hr class="dropdown-divider"></li>
<li><h6 class="dropdown-header"> Open data from: </h6></li>
<li>
<a class="dropdown-item" target="_blank"
href="https://openstreetmap.org/">
<i class="bi-database"></i> OpenStreetMap
<span class="badge text-bg-info ms-1"> ODbL </span>
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!-- OpenStreetMap fills the screen -->
<div id="map" class="map vw-100 vh-100"></div>
<!-- Offcanvas in which the selected trek summary is displayed -->
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvas"
aria-labelledby="offcanvasTitle">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasTitle"></h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas"
aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<h3 id="trekTitle" class="mb-3"></h3>
<div class="ratio ratio-16x9 mb-3">
<iframe id="trekYouTube" src="" title="YouTube video player"
frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen></iframe>
</div>
<p>
<a href="" id="trekWebPage" class="btn btn-primary"
hidden> Trek Page </a>
</p>
<p>
<i class="bi-github"></i>
<a href="" target="_blank" id="trekGitHub"> Source </a>
</p>
</div>
</div>
<script src="common/js/bootstrap.bundle.min.js"></script>
<script src="common/js/ol.js"></script>
<script type="module" src="common/js/trekungen.js"></script>
</body>
</html>