-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (83 loc) · 3.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="img/logo.ico" />
<link rel="stylesheet" href="style.css">
<title>TrackMap</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" />
<script defer src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
<script defer src="script.js"></script>
</head>
<body>
<!-- Loader -->
<div class="loader-container">
<div class="loader"></div>
</div>
<div class="message-container message-container-error hide"></div>
<div class="message-container message-container-success hide"></div>
<div class="top">
<img src="img/logo-top.png" alt="Logo Top">
<div class="tooltip">Click on the map</div>
</div>
<div id="map" class="map" onclick="showInfo()"></div>
<div id="info" class="info">
<button id="close-btn">✖</button>
<button class="info__btn--deleteAll actions">
<i class="fa fa-trash-alt info__btn--deleteAll__icon icons"></i>
<div class="tooltip__deleteAll">Delete All</div>
</button>
<img src="img/logo.png" alt="Logo" class="logo">
<ul class="activities">
<form class="form">
<div class="form__row">
<label class="form__label">Type</label>
<select class="form__input form__input--type">
<option value="running">Running</option>
<option value="cycling">Cycling</option>
</select>
</div>
<div class="form__row">
<label class="form__label">Distance</label>
<input class="form__input form__input--distance" placeholder="km" />
</div>
<div class="form__row">
<label class="form__label">Time</label>
<input class="form__input form__input--time" placeholder="min" />
</div>
<div class="form__row">
<label class="form__label">Pace</label>
<input class="form__input form__input--pace" placeholder="step/min" />
</div>
<div class="form__row form__row--hidden">
<label class="form__label">Elevation</label>
<input class="form__input form__input--elevation" placeholder="meters" />
</div>
<button class="form__btn">Submit</button>
</form>
</ul>
<!-- Search country -->
<div class="search-container">
<input type="text" id="search-box" placeholder=" Search for a location" autocomplete="off">
<button id="search-btn"><i class="fas fa-search-location"></i></button>
</div>
<div id="suggestions" class="suggestions-box"></div>
</div>
<div class="footer">
<div class="sort-controls">
<button class="sort-btn" data-sort="distance">↓ Distance</button>
<button class="sort-btn" data-sort="time">↓ Time</button>
<button class="sort-btn" data-sort="pace">↓ Pace</button>
<button class="sort-btn" data-sort="type">↓ Type</button>
<button class="sort-btn" data-sort="elevationGain">↓ Elevation</button>
</div>
<div class="fit-bound-container">
<button class="fit-bounds-btn">Fit to Workouts</button>
</div>
</div>
</body>
</html>