-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
102 lines (73 loc) · 2.98 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
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calorie Tracker</title>
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/jquery-ui.structure.css">
<link rel="stylesheet" href="css/jquery-ui.theme.css">
<link rel="stylesheet" href="css/simplegrid.css">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<header>
<div class="main-box">
<h1 class="app-name">DAILY CALORIE TRACKER</h1>
<h4 class="app-name-ultimate">ULTIMATE PREMIUM PRO 9000</h4>
<h4 class="app-name-platinum">PLATINUM EDITION</h4>
</div>
<ul class="main-box instructions">
<li>1. Search foods from Nutritionix DB </li>
<li>2. Add them to the daily list </li>
<li>3. Monitor your daily calorie intake </li>
</ul>
</header>
<div class="app-main">
<div class="main-box search-section">
<form>
<input type="search" placeholder="Search foods items..." class="search-input">
<input type="button" value="Search" class="submit-button"></input>
<button class="clear-button">Clear</button>
</form>
<ul class="search-results"></ul>
</div>
<div class="grid grid-pad main-box day-section">
<div class="col-4-12">
<div class="datepicker"></div>
</div>
<div class="col-8-12">
<div class="adding-section">
<ol class="added-items-list"></ol>
</div>
<div class="total-cal-section">
<h1>Day's Total Calories: <span class="total-calories">0</span></h1>
</div>
</div>
</div>
</div>
</div>
<script type="text/template" class="search-item-template">
<span><%= brand %> ---- <%= name %> </span> ---- <span><%= calories %> Cal</span>
</script>
<script type="text/template" class="added-item-template">
<div class="li-left"><p><%= name %></p><p><%= brand %></p></div>
<div class="li-right cal-number"><%= calories %> cal</div><div class="li-right"><button class="remove-button"></button></div>
</script>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components\jqueryUI\jquery-ui.min.js"></script>
<script src="bower_components/underscore/underscore-min.js"></script>
<script src="bower_components/backbone/backbone-min.js"></script>
<!-- Firebase -->
<script src="https://cdn.firebase.com/js/client/2.4.1/firebase.js"></script>
<!-- BackboneFire -->
<script src="https://cdn.firebase.com/libs/backbonefire/0.5.1/backbonefire.min.js"></script>
<script src="js/search/search-model.js"></script>
<script src="js/search/search-col.js"></script>
<script src="js/search/search-view.js"></script>
<script src="js/sumtable/sumtable-model.js"></script>
<script src="js/sumtable/sumtable-col.js"></script>
<script src="js/sumtable/sumtable-view.js"></script>
<script src="js/app.js"></script>
</body>
</html>