-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoods.html
52 lines (40 loc) · 1.36 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Quantified Self - Manage Foods</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div>
<div class='container'>
<h1>Manage Foods</h1>
<form id='myForm'>
<div class='input-field'>
<input name='name' id='food-name-input' type='text' >
<label class='active' for='food-name-input'>name</label>
</div>
<div class='input-field'>
<input name='calories' id='food-calories-input' type='text'>
<label class='active' for='food-calories-input' >calories</label>
</div>
<a href='#' id='add-food' class='add-food waves-effect waves-light btn'>Add Food</a>
</form>
<div class='input-field'>
<input type='text' id='food-name-filter' name='food-name-filter' placeholder='Filter by Name'>
</div>
<table id='foods-table' class='foods bordered highlight'>
<thead>
<th>Name</th>
<th>Calories</th>
<th></th>
</thead>
<tbody id='foods-table-body'>
</tbody>
</table>
</div>
<script src="foods.bundle.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/js/materialize.min.js"></script>
</body>
</html>