This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
/
index.html
172 lines (156 loc) · 6.73 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
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html>
<head>
<title>BrewGear</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/jquery.mobile-1.1.0.min.css" />
<link rel="stylesheet" href="css/brewgear.css" />
<script type="text/javascript" src="scripts/js/underscore.js"></script>
<script type="text/javascript" src="scripts/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="scripts/js/mobile-config.js"></script>
<script type="text/javascript" src="scripts/js/jquery.mobile-1.1.0.js"></script>
<script type="text/javascript" src="scripts/js/jquery.tmpl-1.0.0pre.min.js"></script>
</head>
<body>
<section id="recipes" data-role="page">
<header data-role="header">
<h1>BrewGear</h1>
<a href="#/recipes" class="ui-btn-right" data-role="button" data-mini="true" data-icon="add" data-theme="b">Nieuw</a>
</header>
<div data-role="content">
<ul data-role="listview">
</ul>
</div>
<script id="recipe-item" type="text/x-jquery-tmpl">
<li data-id="${batch}"><a href="#/recipes/${batch}">${batch} ${name}</a></li>
</script>
</section>
<section id="recipe" data-role="page">
<header data-role="header">
<a href="#" data-rel="back" data-role="button" data-mini="true" data-icon="back" data-direction="reverse" data-theme="b">Terug</a>
<h1>BrewGear</h1>
<a class="update" href="#" data-role="button" data-mini="true" data-icon="refresh" data-theme="b">Update</a>
</header>
<div data-role="content">
<form>
<fieldset>
<label for="overview-batch">Batch#</label>
<input type="text" name="batch" id="overview-batch" value="${batch}"/>
</fieldset>
<fieldset>
<label for="overview-name">Naam</label>
<input type="text" name="name" id="overview-name" value="${name}"/>
</fieldset>
<fieldset>
<label for="style">Stijl</label>
<select name="style" id="style">
<option value="triple">Triple</option>
<option value="dubble">Dubbel</option>
<option value="bitter">Bitter</option>
</select>
</fieldset>
<fieldset>
<label for="targetVolume">Doel volume (l)</label>
<input type="number" name="targetVolume" id="targetVolume" value=""/>
</fieldset>
<fieldset>
<label for="plannedOg">Gepland OG</label>
<input type="number" min="0" name="plannedOg" id="plannedOg" value="${planned_og}"/>
</fieldset>
<fieldset>
<label for="plannedOg">Gepland FG</label>
<input type="number" min="0" name="plannedFg" id="plannedFg" value="${planned_fg}"/>
</fieldset>
</form>
<ul data-role="listview" data-inset="true">
<li><a class="to-fermentables" href="#/recipes/${batch}?fermentables">Granen en suikers</a></li>
<li><a class="to-hops" href="#/recipes/${batch}?hops">Hop en kruiden</a></li>
<li><a class="to-fermentation" href="#/recipes/${batch}?fermentation">Vergisting</a></li>
</ul>
</div>
</section>
<section id="newrecipe" data-role="dialog">
<header data-role="header">
<h1>Nieuw recept</h1>
</header>
<div data-role="content">
<form>
<label for="batch">Batch#</label>
<input type="text" name="batch" id="batch" value=""/>
<label for="name">Naam</label>
<input type="text" name="name" id="name" value=""/>
<label for="style">Stijl</label>
<select name="style" id="style">
<option value="triple">Triple</option>
<option value="dubble">Dubbel</option>
<option value="bitter">Bitter</option>
</select>
<label for="targetVolume">Doel volume (l)</label>
<input type="number" name="targetVolume" id="targetVolume" value=""/>
<label for="plannedOg">Gepland OG</label>
<input type="number" name="plannedOg" id="plannedOg" value=""/>
<label for="plannedOg">Gepland FG</label>
<input type="number" name="plannedFg" id="plannedFg" value=""/>
<button name="save" type="submit">Opslaan</button>
<a data-role="button" data-rel="back" data-icon="back">Sluiten</a>
</form>
</div>
</section>
<section id="fermentables" data-role="page">
<header data-role="header">
<a href="#" data-rel="back" data-role="button" data-mini="true" data-icon="back" data-theme="b">Back</a>
<h1>Granen en suikers</h1>
<a class="new" href="#/fermentables/new" data-role="button" data-mini="true" data-icon="add" data-theme="b" data-rel="dialog">Add</a>
</header>
<div data-role="content">
<div>
<h3>Hadrianus tripel</h3>
<dl>
<dt>Begin SG:</dt>
<dd>1.043</dd>
<dt>Eind SG:</dt>
<dd>1.043</dd>
</dl>
</div>
<ul data-role="listview" data-theme="e">
<li data-wrapperels="div" data-icon="arrow-r" data-iconpos="right"><a href="#/fermentables/1"><span class="name">Pilsmout</span><span class="color">3 EBC</span><span class="weight">3234 g</span></a></li>
<li><a href="#/fermentables/2"><span class="name">Cara 120</span><span class="color">120 EBC</span><span class="weight">234 g</span></a></li>
<li><a href="#/fermentables/3"><span class="name">Chocolademout</span><span class="color">800 EBC</span><span class="weight">137 g</span></a></li>
</ul>
</div>
<script class="template" type="text/x-jquery-tmpl">
<li><a href="${hash}"><span class="name">${name}</span><span class="color">${color} EBC</span><span class="weight">${amount} g / ${percentage} %</span></a></li>
</script>
</section>
<section id="fermentable" data-role="dialog">
<header data-role="header">
<h1>Grondstof</h1>
</header>
<div data-role="content">
<form>
<fieldset>
<label for="source">Grondstof</label>
<select name="source" id="source">
<option value="mout">Mout</option>
<option value="suiker">Suiker</option>
</select>
</fieldset>
<fieldset>
<label for="percentage">Percentage</label>
<input type="number" min="0" max="100" name="percentage" id="percentage" value=""/>
</fieldset>
<button name="save" type="submit">Opslaan</button>
<a data-role="button" data-rel="back" data-icon="back">Sluiten</a>
</form>
</div>
</section>
<script type="text/javascript" src="scripts/js/coffee-script-1.3.3.js"></script>
<script type="text/javascript" src="scripts/js/date.js"></script>
<!-- the barest of module loaders -->
<script type="text/coffeescript" src="scripts/use.coffee"></script>
<!-- the meat -->
<script type="text/coffeescript" src="scripts/app.coffee"></script>
</body>
<!-- vim:sw=4:et:ai
-->
</html>