-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreateWorkout.html
235 lines (215 loc) · 6.39 KB
/
createWorkout.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./styles.css" />
<link rel="stylesheet" href="./fontawesome-free-5.9.0-web/css/all.css" />
<script src="./createWorkout.js" type="module"></script>
<title>Create Workout | GymHype</title>
</head>
<body class="body-relative">
<div class="alert" data-alertOpen='false'>
<i class="fas fa-exclamation-triangle"></i>
<p class="alert-message" data-alertMsg>This feature will be available in the future (or not)</p>
</div>
<header class="header" data-header>
<!-- <div class="blur"></div> -->
<p class="header-fixed-title" data-headerTitle>routines</p>
<div class="center flex">
<div
class="
header-button-container
space-between
header-button-container--create-wo-page
"
>
<button class="header-btn sort-btn" data-headerBtn="cancel">
cancel
</button>
<div class="right-btn-container">
<button class="header-btn " data-headerBtn="add">add</button>
<button class="header-btn hide" data-headerBtn="save">save</button>
</div>
</div>
</div>
</header>
<main class="main-window">
<div class="center">
<h1 class="section-title" data-sectionTitle>
routine <span>XX1</span>
</h1>
<form action="" class="routine-info-form" data-routineInfoForm>
<!-- <button class="header-btn save-btn" type="submit" data-headerBtn="save">save</button> -->
<p class="days-title fs-text--small bg-clr-grey">Days of the Week</p>
<div class="days-input flex space-between bg-clr-grey">
<label for="sunday" class="fs-text--medium"
>s
<input
type="checkbox"
class="checkbox-input"
name="daysOfWeek"
id="sunday"
/></label>
<label for="monday" class="fs-text--medium"
>m
<input
type="checkbox"
class="checkbox-input"
name="daysOfWeek"
id="monday"
/></label>
<label for="tuesday" class="fs-text--medium"
>t
<input
type="checkbox"
class="checkbox-input"
name="daysOfWeek"
id="tuesday"
/></label>
<label for="wednesday" class="fs-text--medium"
>w
<input
type="checkbox"
class="checkbox-input"
name="daysOfWeek"
id="wednesday"
/></label>
<label for="thursday" class="fs-text--medium"
>t
<input
type="checkbox"
class="checkbox-input"
name="daysOfWeek"
id="thursday"
/></label>
<label for="friday"
>f
<input
type="checkbox"
class="checkbox-input"
name="daysOfWeek"
id="friday"
/></label>
<label for="saturday"
>s
<input
type="checkbox"
class="checkbox-input"
name="daysOfWeek"
id="saturday"
/></label>
</div>
<div class="form-info-inputs">
<div class="form-input-row">
<label for="name">name</label
><input
type="text"
name="name"
id="name"
placeholder="(optional)"
/>
</div>
<div class="form-input-row">
<label for="goal">goal</label
><input
type="text"
name="goal"
id="goal"
placeholder="Type your goal"
/>
</div>
<div class="form-input-row">
<label for="stretches">stretches</label
><input
type="text"
name="stretches"
id="stretches"
placeholder="(optional)"
/>
</div>
<div class="form-input-row">
<label for="renewal">renewal</label
><input
type="date"
name="renewal"
id="renewal"
placeholder="(optional)"
/>
</div>
<div class="form-input-row">
<label for="notes">notes</label
><textarea
name="notes"
id="notes"
placeholder="(optional)"
cols="30"
rows="5"
></textarea>
</div>
</div>
<h2 class="exercise-list-title fs-text--medium center">exercises</h2>
<div class="module exercise-list bg-clr-grey">
<button class="add-exercise-btn btn" data-addExerciseBtn>
<i class="fas fa-plus plus-icon"></i>
Add exercise
</button>
<ul data-exerciseListRoutines>
</ul>
</div>
</form>
</div>
</main>
<div
class="module bg-clr-grey add-exercise-modal"
data-exerciseModalOpen="false"
>
<header class="modal-header center">
<h1 class="section-title">exercises</h1>
<div class="modal-instructions modal-instructions--exercise-modal fs-text--small">
<p>
Tick the boxes next to the exercises you want to include in your
routine and press 'Add' to add them to your routine.
</p>
</header>
<form class="exercise-modal-form" method="post" data-exerciseModalForm>
<input type="text" class="center exercise-search" data-exerciseSearch placeholder="Type to search for an exercise">
<ul data-exerciseList class="exercise-modal-list">
<li class="link-item exercise-list-item">
<i class="fas fa-dumbbell exercise-list-item-icon"></i>
<div class="routine-item-info exercise-list-item-info">
<h2 class="routine-item-title exercise-list-item-title">ab machine</h2>
<p class="routine-item-goal exercise-list-item-category">abdominal</p>
</div>
<input type="checkbox" class="exercise-list-item-checkbox css-checkbox dark-check-green" name="checkbox" id="">
</li>
</ul>
</form>
</div>
<footer class="footer-menu hf-style">
<ul class="flex">
<button class="footer-menu-btn" data-footerMenuBtn="routines">
<i class="fas fa-clipboard"></i>
<p>routines</p>
</button>
<button class="footer-menu-btn" data-footerMenuBtn="explore">
<i class="fas fa-th-large"></i>
<p>explore</p>
</button>
<button class="footer-menu-btn" data-footerMenuBtn="history">
<i class="fas fa-history"></i>
<p>history</p>
</button>
<button class="footer-menu-btn" data-footerMenuBtn="measures">
<i class="fas fa-child"></i>
<p>measures</p>
</button>
<button class="footer-menu-btn" data-footerMenuBtn="more">
<i class="fas fa-ellipsis-h"></i>
<p>more</p>
</button>
</ul>
</footer>
</body>
</html>