-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoods.html
54 lines (53 loc) · 2.19 KB
/
foods.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Quantified Self - Manage Foods</title>
<script src="jquery-3.1.1.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
<body>
<div class="container text-center">
<h3>Manage Foods</h3>
<div class="row">
<div class="col-md-4">
</div>
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-body">
<div id="food-form" class="form-group">
<div class="form-inline">Name:
<input id="foodname" name="Name" class="form-control">
<p class="error-message" id="name-error"></p>
</div>
<div class="form-inline">Calories:
<input id="caloriecount" name = "Calories" class="form-control">
<p class="error-message" id="calories-error"></p>
</div>
<input type="submit" id="new-food-button" value="Add Food" class="btn btn-warning">
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-body">
<div class="form-inline">Filter by Name:
<input id="filter" class="form-control">
<p>
</div>
<table id="foods-table" class="table table-bordered">
<tr class="active">
<th>Name</th>
<th>Calories</th>
<th></th>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<script src="main.bundle.js"></script>
</body>
</html>