-
Notifications
You must be signed in to change notification settings - Fork 1
/
exercises.html
70 lines (66 loc) · 2.76 KB
/
exercises.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Quantified Self - Manage Exercises</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="/css/styles.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/css/materialize.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.min.js"></script>
</head>
<body>
<div class="fixed-action-btn horizontal click-to-toggle">
<a class="btn-floating btn-large red">
<i class="material-icons">menu</i>
</a>
<ul>
<li><a class="btn-floating red" href="./foods.html"><i class="material-icons">shopping_cart</i></a></li>
<li><a class="btn-floating yellow darken-1" href="./exercises.html"><i class="material-icons">av_timer</i></a></li>
<li><a class="btn-floating blue" href="./index.html"><i class="material-icons">language</i></a></li>
</ul>
</div>
<div class="container">
<h3 style="text-align: center;">Manage Exercises</h3>
<div class="row">
<div class="col s6">
<form class="exercise-input-container" action="exercises.html" method="post">
<div class="exercise-input-container">
<div class="exercise-label">
<div><label for="exercise-name">Name</label></div>
<input type="text" name="exercise-name" class="exercise-input" id="exercise-name">
<p id="exercise-warning"></p>
</div>
<div class="exercise-label">
<div><label for="exercise-calories">Calories</label></div>
<input type="number" name="exercise-calories" class="exercise-input" id="exercise-calories">
<p id="exercise-calories-warning"></p>
</div>
<input class="waves-effect waves-light btn" type="submit" id="add-exercise" value="Add Exercise" style="float: right; position: relative;">
</div>
</form>
</div>
<div class="col s6">
<div class="exercise-label">
<div><label for="exercise-filter">Filter by Name</label></div>
<input type="text" name="exercise-filter" value="" id="exercise-filter">
</div>
<table id="exercise-table" class="highlight responsive-table">
<thead class="exercise-table-header">
<tr>
<th>Name</th>
<th>Calories</th>
</tr>
</thead>
<tbody id="exercise-body">
<tr>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
<script src="main.bundle.js"></script>
<script src="exercises.bundle.js"></script>
</html>