-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.html
45 lines (45 loc) · 2.6 KB
/
custom.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link type="text/css" rel="stylesheet" href="styles/custom.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Relevant firebase script imports -->
<script src="https://www.gstatic.com/firebasejs/7.2.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.2.2/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.2.2/firebase-firestore.js"></script>
<script src="https://cdn.firebase.com/libs/firebaseui/3.5.2/firebaseui.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/3.5.2/firebaseui.css" />
<!-- Our app's firebase configuration -->
<script src="./scripts/firebaseConfig.js"></script>
<link rel="shortcut icon" type="image/png" href="./images/logo_favicon.png">
</head>
<body>
<!-- Beginning of header html -->
<header id="universalHeader">
<figure id="figureHeader"><img id="imageHeader" src="./images/logo_transparent.png" alt="logo" onclick="location.href='./main.html'"></figure>
<button onclick="location.href='./main.html'" id="homeHead">Home</button>
<button onclick="location.href='./reminders.html'" id="remindersHead">Reminders</button>
<button onclick="location.href='./profile.html'" id="profileHead">Profile</button>
</header>
<!-- End of header html -->
<section>Create Your Exercise</section>
<!-- Form that contains all the inputs necessary to create a custom routine -->
<form id="form">
<input type="text" id="name" placeholder="Enter Exercise Name *" required>
<input type="text" id="description" placeholder="Enter Exercise Description">
<input type="number" id="sets" placeholder="Enter Number of Sets">
<input type="number" id="reps" placeholder="Enter Number of Reps"><br/>
<label for="routineNumber">Choose routine to append to</label>
<select id="routineNumber">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select><br/>
<button type="button" onclick="handleSubmit()" id="submit">Create Exercise</button>
</form>
<script src="scripts/customSubmission.js"></script>
</body>
</html>