-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (89 loc) · 3.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="shortcut icon" href="/assets/icon.png" />
<link
href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="/styles/style.css" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""/>
<script defer src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin="">
</script>
<script defer src="https://kit.fontawesome.com/587543eaa2.js" crossorigin="anonymous"></script>
<script defer src="/src/script.js"></script>
<title>Map your Workouts</title>
</head>
<body>
<div id="map"></div>
<div class="sidebar">
<img src="/assets/logo.png" alt="Logo" class="logo" />
<div class="btnContainer">
<button class="workouts__deleteAll">Delete All</button>
<select class="sort-by" >
<option value="" selected disabled hidden>Sort By</option>
<option value="distance">Distance</option>
<option value="duration">Duration</option>
<option value="date">Date</option>
</select>
</div>
<ul class="workouts">
<div class="instructions">
<h1>Getting Started!</h1>
<ul class="gettingStarted__list">
<li>Allow location once the page loads. Only then you will be able to see the map and use the application.</li>
<li>Click on the map to start adding workouts.</li>
<li>Enter your workout infromation then press ENTER.</li>
<li>You have succesfully created a workout.</li>
<li>Click on newly created workout list item to center the workout location on the map.</li>
<li>For more details visit
<a href="https://github.com/HAZberi/workout-log-app" target="_blank">Github Documentation</a>.
</li>
</ul>
</div>
<form class="form hidden">
<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">Duration</label>
<input
class="form__input form__input--duration"
placeholder="min"
/>
</div>
<div class="form__row">
<label class="form__label">Cadence</label>
<input
class="form__input form__input--cadence"
placeholder="step/min"
/>
</div>
<div class="form__row form__row--hidden">
<label class="form__label">Elev Gain</label>
<input
class="form__input form__input--elevation"
placeholder="meters"
/>
</div>
<input type="submit" class="form__btn" />
</form>
</ul>
</div>
</body>
</html>