-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (71 loc) · 3.34 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="de">
<head>
<meta charset="utf-8">
<!-- Für Mobilgeräte initialen Zoom abschalten -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Angaben für Suchmaschinen -->
<!-- Beschreibung -->
<meta name="description" content="A location based TODO list">
<!-- Stichwörter -->
<meta name="keywords" content="HTML, CSS, Javascript">
<title>
Geo Todo
</title>
<!-- Leaflet map library -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""/>
<!-- Make sure you put this AFTER Leaflet's CSS -->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script defer src="scripts/map.js" type="text/javascript"></script>
<script defer src="scripts/gps.js" type="text/javascript"></script>
<script defer src="scripts/todos.js" type="text/javascript"></script>
<script defer src="scripts/lightSensor.js" type="text/javascript"></script>
<script defer src="scripts/index.js" type="text/javascript"></script>
<!-- https://github.com/CliffCloud/Leaflet.EasyButton -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet-easybutton@2/src/easy-button.css">
<script src="https://cdn.jsdelivr.net/npm/leaflet-easybutton@2/src/easy-button.js"></script>
<link id="jquery-theme-link" rel="stylesheet" href="//code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css">
<link id="css" rel="stylesheet" type="text/css" href="styles/index.css">
<link href="styles/light-theme.css" rel="stylesheet" id="theme-link">
<!-- material icons -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="https://code.jquery.com/ui/1.13.1/jquery-ui.js"></script>
<script>
$( function() {
$( "#list" ).accordion();
} );
</script>
</head>
<body>
<main>
<div class="container">
<div id="list-panel" class="list-panel" >
<div id="list-section" class="list-section">
<h3>TODOs</h3>
<!-- <p id="item_add_hint">Click location on map to add a new TODO item</p> -->
<div id="list" class="list"></div>
</div>
<div class="theme-section">
<p>Theme:</p>
<input type="radio" id="radio-light-theme" name="radio-theme" onchange="setTheme('light')" value="light" checked>
<label for="radio-light-theme">Light</label>
<input type="radio" id="radio-dark-theme" name="radio-theme" onchange="setTheme('dark')" value="dark">
<label for="radio-dark-theme">Dark</label>
<input type="radio" id="radio-auto-theme" name="radio-theme" onchange="setTheme('auto')" value="auto">
<label for="radio-auto-theme">Auto</label>
</div>
</div>
<div id="map-panel" class="map-panel">
<button class="collapseBtn material-icons" onclick="toggleListSection()">list</button>
<div id="map"> </div>
</div>
</div>
</main>
</body>
</html>