-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
104 lines (102 loc) · 3.58 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
<!DOCTYPE html>
<html class="h-100" lang="en">
<head>
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<link href="src/styles/reset.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/x-icon" href="/itinerary/favicon.png" />
<title></title>
</head>
<body class="w-100 h-100 d-flex">
<button id="info-opener" data-test="open-info-button">≡</button>
<div id="app-info" class="p-3 flex-column d-none" data-test="app-info">
<span>Press <em>a</em> to select all groups (may take a while).</span>
<span>Press <em>n</em> to de-select all groups.</span>
<span>Press <em>i</em> to toggle image visibility.</span>
<span>Press <em>m</em> to toggle map visibility.</span>
<span>Press <em>l</em> to toggle itinerary visibility.</span>
<span id="imprint" class="mt-3 bold"></span>
<span class="mt-3 bold"
>Made with IGI:
<a
href="https://github.com/fafeitsch/imaginary-geo-itinerary"
target="_blank"
>Github</a
></span
>
<span id="app-version"></span>
<span id="app-license">
License:
<a
class="bold"
href="https://github.com/fafeitsch/imaginary-geo-itinerary/blob/main/LICENSE"
target="_blank"
>MIT License</a
>
</span>
<div class="mt-3">
<span>Dependencies: </span>
<ul
class="list-style-type-circle list-style-position-inside"
id="app-dependencies"
>
<li>
<a
href="https://github.com/Leaflet/Leaflet/blob/main/LICENSE"
target="_blank"
>Leaflet (BSD-2 License)</a
>
</li>
<li>
<a
href="https://github.com/mpetazzoni/leaflet-gpx/blob/main/LICENSE"
target="_blank"
>leaflet-gpx (BSD-2 License)
</li>
<li>
<a
href="https://github.com/ReactiveX/rxjs/blob/master/LICENSE.txt"
target="_blank"
>rxjs (Apache 2.0)</a
>
</li>
</ul>
</div>
</div>
<div
class="p-3 d-flex flex-column gap-3 flex-shrink-0 overflow-auto"
id="itinerary"
></div>
<div class="d-flex flex-column flex-grow-1 gap-3">
<div
class="d-flex flex-grow-1 overflow-hidden"
id="media-container"
style="max-height: 64vh; flex-basis: 64%"
data-test="media-container"
></div>
<div class="flex-grow-1" id="map" style="flex-basis: 34%"></div>
</div>
<script src="/src/main.ts" type="module"></script>
</body>
</html>
<template id="group-item-template">
<div class="group-item d-flex flex-column p-3 gap-3 pointer-cursor" data-test="itinerary-group-item">
<span class="title" data-test="itinerary-group-item-title"></span>
<div class="d-flex flex-column p-3 gap-2 tracks-container"></div>
</div>
</template>
<template id="track-item-template">
<div class="d-flex align-items-center gap-3" data-test="itinerary-track">
<div
class="indicator d-flex align-items-center justify-content-center"
data-test="itinerary-track-indicator"
></div>
<div class="d-flex flex-column gap-2 w-100">
<span class="name" data-test="itinerary-track-name"></span>
<div class="d-flex gap-3">
<span class="distance text-disabled" data-test="itinerary-track-distance"></span>
<span class="info text-disabled" data-test="itinerary-track-info"></span>
</div>
</div>
</div>
</template>