-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
162 lines (158 loc) · 4.97 KB
/
index.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Quantified Self - Diary</title>
<link rel="stylesheet" type="text/css" href="styles/buttons_and_links.css">
<link rel="stylesheet" type="text/css" href="styles/search_forms.css">
<link rel="stylesheet" type="text/css" href="styles/layout.css">
<link rel="stylesheet" type="text/css" href="styles/nav.css">
</head>
<body>
<div class="topnav" id="myTopnav">
<a href="index.html">Home</a>
<a href="foods.html">Foods</a>
</div>
<h2>Diary</h2>
<section class="diary-foods">
<table class="meal breakfast unsorted" data-name="breakfast">
<h3 class="badge1" data-badge="400">Breakfast</h3>
<tr class="breakfast-foods">
<!-- empty tag to make space for the empty checkbox tag of a food row -->
<th></th>
<th>Name</th>
<th class="calorie-header-breakfast">Calories</th>
<th></th>
</tr>
<tr>
<th></th>
<th>Total Calories</th>
<td class="sum"></td>
<td></td>
</tr>
<tr>
<th></th>
<th>Remaining Calories</th>
<td class="breakfast-remaining-calories remaining-calories green"></td>
<td></td>
</tr>
</table>
<table class="meal lunch unsorted" data-name="lunch">
<h3 class="badge1" data-badge="600">Lunch</h3>
<tr class="lunch-foods">
<th></th>
<th>Name</th>
<th class="calorie-header-lunch">Calories</th>
<th></th>
</tr>
<tr>
<th></th>
<th>Total Calories</th>
<td class="sum"></td>
<td></td>
</tr>
<tr>
<th></th>
<th>Remaining Calories</th>
<td class="lunch-remaining-calories remaining-calories green"></td>
<td></td>
</tr>
</table>
<table class="meal dinner unsorted" data-name="dinner">
<h3 class="badge1" data-badge="800">Dinner</h3>
<tr class="dinner-foods">
<th></th>
<th>Name</th>
<th class="calorie-header-dinner">Calories</th>
<th></th>
</tr>
<tr>
<th></th>
<th>Total Calories</th>
<td class="sum"></td>
<td></td>
</tr>
<tr>
<th></th>
<th>Remaining Calories</th>
<td class="dinner-remaining-calories remaining-calories green"></td>
<td></td>
</tr>
</table>
<table class="meal snack unsorted" data-name="snack">
<h3 class="badge1" data-badge="200">Snack</h3>
<tr class="snack-foods">
<th></th>
<th>Name</th>
<th class="calorie-header-snack">Calories</th>
<th></th>
</tr>
<tr>
<th></th>
<th>Total Calories</th>
<td class="sum"></td>
<td></td>
</tr>
<tr>
<th></th>
<th>Remaining Calories</th>
<td class="snack-remaining-calories remaining-calories green"></td>
<td></td>
</tr>
</table>
<table class="total">
<h3>Total Calories</h3>
<tr class="total-foods">
<th></th>
<th>Name</th>
<th>Calories</th>
<th></th>
</tr>
<tr>
<th></th>
<th>Goal Calories</th>
<td class="goal-calories">2000</td>
<td></td>
</tr>
<tr>
<th></th>
<th>Total Calories Consumed</th>
<td class="total-calories"></td>
<td></td>
</tr>
<tr>
<th></th>
<th class="remaining-calories">Remaining Calories</th>
<td class="total-remaining-calories remaining-calories green"></td>
<td></td>
</tr>
</table>
</section>
<section class="add-foods-to-meals">
<button class="add-foods-to-breakfast">Add to Breakfast</button>
<button class="add-foods-to-lunch">Add to Lunch</button>
<button class="add-foods-to-dinner">Add to Dinner</button>
<button class="add-foods-to-snack">Add to Snack</button>
</section>
<h3>Foods</h3>
<div class="form-button-container">
<form class="form" action="/foods.html">
<input type="submit" value="Create New" class="create-new-food">
</form>
</div>
<br>
<section class="main-foods">
<h2>Search by Name <input id="filterInput" value="Search by Name"></h2>
<br>
<table class="all-foods">
<tr>
<th></th>
<th>Name</th>
<th>Calories</th>
<th></th>
</tr>
</table>
</section>
<script src="main.bundle.js"></script>
</body>
</html>