-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWorkouts.html
121 lines (106 loc) · 5.08 KB
/
Workouts.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
<!DOCTYPE html>
<html>
<meta charset="UTF - 8">
<meta name = "description" content = "Workout Tracker">
<meta name = "keywords" content = "HTML, CSS, PHP">
<meta name = "author" content = "Dylan Stewart">
<meta name = "viewport" content = "width=device-width, intital-scaled=1.0">
<!-- Search bar -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Workout Tracker</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- fontawesome icon cdn -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.1/css/all.css">
<!-- Search bar ends here -->
<!-- CSS Bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<!-- <title class="text-center">Registration</title> -->
<!-- <link rel="stylesheet" href="styles.css"> -->
<!--<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> -->
<script src="config.js" type="text/javascript"></script>
<!-- Link to my css styling -->
<link rel="stylesheet" href="styling.css">
<style>
body {
background-image: url('images/photo-1428908728789-d2de25dbd4e2.jpg');
background-size: cover;
background-size: 100% 100%;
}
</style>
<body>
<nav class="navbar navbar-expand-md navbar-dark bg-dark">
<a href="#" class="navbar-brand mb-0 h1" style="position:absolute; top:10px; left:20px;">Workout Tracker</a>
<button type="button" data-bs-toggle="collapse" data-bs-target="" class="navbar-toggler" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item"><a href="Home.html" class="nav-link">Home</a></li>
<li class="nav-item"><a href="Workouts.html" class="nav-link">Workouts</a></li>
<li class="nav-item"><a href="Contact.html" class="nav-link">Contact</a></li>
</ul>
</div>
</nav>
<!-- <section class="py-5 mt-5">
<div class="container py-5">
<div class="row mb-5"> -->
</div>
<div class="col-md-8 col-xl-6 text-center mx-auto">
<body>
<main>
<div class = "ExerciseText">
<label>Exercise:</label>
<input type="text" id="name-input">
<label>Sets:</label>
<input type="number" id="sets-input">
<label>Reps:</label>
<input type="number" id="reps-input">
<button id="add-name-btn" class="btn btn-success">Add Exercise</button>
</div>
<div>
<input placeholder="Search your workouts..." id="search-input">
<!-- <button id="search-btn">Search</button> OLD SEARCH BUTTON-->
</div>
<table id="table">
<thead>
<th>ID</th>
<th>Exercise</th>
<th>Date Added</th>
<th>Sets</th>
<th>Reps</th>
<th>Delete</th>
<th>Edit</th>
</thead>
<tbody></tbody>
</table>
<div class = "UpdateText">
<section hidden id="update-row">
<label>Exercise:</label>
<input type="text" id="update-name-input">
<br>
<label>Sets:</label>
<input type="number" id="update-sets-input">
<br>
<label>Reps:</label>
<input type="number" id="update-reps-input">
<br>
<button id="update-row-btn">Update</button>
</section>
</div>
</main>
</body>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<h2>.........................................................................</h2>
</div>
<!-- </div>
</section> -->
<script src="index.js"></script>
</body>
</html>