beer_recipe 0.3.0 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,78 @@
1
+ ---
2
+ information: Information
3
+ style: Ölstil
4
+ type: Typ
5
+ grains: Maltvikt
6
+ kilograms: kg
7
+ hops: Humle
8
+ grams: gr
9
+ equipment: Utrustning
10
+ brew_date: Bryggdatum
11
+ brewer: Bryggare
12
+ assisted_by: med hjälp av %{assistant}
13
+ notes: Anteckningar
14
+ recipe_details: Ölrecept
15
+ batch_size: Mängd
16
+ boil_time: Koktid
17
+ ibu: IBU
18
+ og: OG
19
+ fg: FG
20
+ abv: ABV
21
+ calories_per_liter: Kalorier / L
22
+ color: Färg
23
+ liter_abbr: L
24
+ degrees: '°C'
25
+ minutes: min
26
+ sg: SG
27
+ percent: '%'
28
+ percent_sign: '%'
29
+ ebc: EBC
30
+ fermentables: Malt
31
+ fermentable_name: Namn
32
+ fermentable_amount: Mängd
33
+ fermentable_type: Typ
34
+ fermentable_color: Färg
35
+ Grain: Malt
36
+ Dry Extract: Extrakt
37
+ Sugar: Socker
38
+ Adjunct: Adjunkt
39
+ hops_name: Namn
40
+ hops_amount: Mängd
41
+ hops_time: Tid
42
+ hops_use: Användning
43
+ hops_form: Form
44
+ hops_alpha: Alfa
45
+ hops_ibu: IBU
46
+ Pellet: Pellet
47
+ Leaf: Kottar
48
+ Plug: Puck
49
+ days: dgr
50
+ min: min
51
+ Dry Hop: Torrhumling
52
+ Boil: Kok
53
+ Aroma: Arom
54
+ yeasts: Jäst
55
+ yeast_name: Namn
56
+ yeast_product_id: Produkt ID
57
+ yeast_lab: Labb
58
+ yeast_form: Form
59
+ yeast_attenuation: Attenuering
60
+ yeast_temperature: Temperatur
61
+ Dry: Torr
62
+ Liquid: Flytande
63
+ mash: Mäskning
64
+ mash_name: Namn
65
+ mash_type: Typ
66
+ mash_infuse_amount: Vatten
67
+ mash_step_temp: Stegtemperatur
68
+ mash_ramp_time: Höjningstid
69
+ mash_step_time: Stegtid
70
+ Temperature: Temperatur
71
+ Infusion: Infusion
72
+ Mash In: Inmäskning
73
+ Protein Rest: Proteinrast
74
+ Saccharification: Försockringsrast
75
+ Low Saccharification: Låg försockring
76
+ High Saccharification: Hög försockring
77
+ Mash Out: Utmäskning
78
+ generated_by: Genererad av
@@ -0,0 +1,380 @@
1
+ <!DOCTYPE HTML>
2
+ <!--
3
+ Strongly Typed by HTML5 UP
4
+ html5up.net | @n33co
5
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
6
+ -->
7
+ <html>
8
+ <head>
9
+ <link href='http://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
10
+ <title><%= name %> - Exalted Beer</title>
11
+ <meta charset="utf-8" />
12
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
13
+ <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
14
+ <link rel="stylesheet" href="assets/css/main.css" />
15
+ <link rel="stylesheet" href="assets/css/beer.css" />
16
+ <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
17
+
18
+ <meta name="twitter:card" content="summary_large_image">
19
+ <meta name="twitter:site" content="@ollej">
20
+ <meta name="twitter:creator" content="@ollej">
21
+ <meta name="twitter:title" content="<%= name %> - Exalted Beer">
22
+ <meta name="twitter:description" content="<%= style.name %> - Hembryggd öl av Olle Johansson">
23
+ <meta name="twitter:image" content="http://www.exalted.beer/images/beers/<%= file_name %>.jpg">
24
+
25
+ </head>
26
+ <body class="no-sidebar">
27
+ <div id="page-wrapper">
28
+
29
+ <!-- Header -->
30
+ <div id="header-wrapper">
31
+ <div id="header" class="container">
32
+
33
+ <!-- Logo -->
34
+ <h1 id="logo" itemprop="name"><a href="index.html"><%= name %></a></h1>
35
+ <p><%= style.name %></p>
36
+
37
+ <!-- Nav -->
38
+ <nav id="nav">
39
+ <ul>
40
+ <li><a class="icon fa-home" href="index.html"><span>Hemsida</span></a></li>
41
+ <li>
42
+ <a href="beers.html" class="icon fa-beer"><span>Öl</span></a>
43
+ <ul>
44
+ <li>
45
+ <a href="#">Öl (A-J)</a>
46
+ <ul>
47
+ <li><a href="amerikatt.html">Amerikatt</a></li>
48
+ <li><a href="apokalypsmas.html">Apokalypsmas</a></li>
49
+ <li><a href="b2.html">B2</a></li>
50
+ <li><a href="beer_geek_homebrew.html">Beer Geek Homebrew</a></li>
51
+ <li><a href="beige_katt.html">Beige Katt</a></li>
52
+ <li><a href="bonnen_lager.html">Bonnen Lager</a></li>
53
+ <li><a href="bonnen_pils.html">Bonnen Pils</a></li>
54
+ <li><a href="gul_katt.html">Gul Katt</a></li>
55
+ <li><a href="gul_katt_brustablett.html">Gul Katt (Brustablett)</a></li>
56
+ <li><a href="gra_katt.html">Grå Katt</a></li>
57
+ <li><a href="heffaklump.html">Heffaklump</a></li>
58
+ </ul>
59
+ </li>
60
+ <li>
61
+ <a href="#">Öl (K-Ö)</a>
62
+ <ul>
63
+ <li><a href="karmen.html">Karmen</a></li>
64
+ <li><a href="katt.html">Katt</a></li>
65
+ <li><a href="krubban.html">Krubban</a></li>
66
+ <li><a href="mans.html">Måns</a></li>
67
+ <li><a href="rod_katt.html">Röd Katt</a></li>
68
+ <li><a href="soderhjarta.html">Söderhjärta</a></li>
69
+ <li><a href="soderkallan.html">Söderkällan</a></li>
70
+ <li><a href="svart_katt.html">Svart Katt</a></li>
71
+ <li><a href="v2.html">V2</a></li>
72
+ <li><a href="vit_katt.html">Vit Katt</a></li>
73
+ </ul>
74
+ </li>
75
+ <li>
76
+ <a href="#">Samarbeten</a>
77
+ <ul>
78
+ <li><a href="12_belgare.html">12 Belgare</a></li>
79
+ <li><a href="dark_experiment.html">Dark Experiment</a></li>
80
+ <li><a href="hopkok.html">Hopkok</a></li>
81
+ <li><a href="hop_om_sommaren.html">Hop om sommaren</a></li>
82
+ <li><a href="rod_alg.html">Röd Älg</a></li>
83
+ </ul>
84
+ </li>
85
+ </ul>
86
+ </li>
87
+ <li><a class="icon fa-photo" href="adelso_olfestival.html"><span>Adelsö Ölfestival</span></a></li>
88
+ </ul>
89
+ </nav>
90
+
91
+ </div>
92
+ </div>
93
+
94
+ <!-- Main -->
95
+ <div id="main-wrapper">
96
+ <div id="main" class="container">
97
+ <div id="content">
98
+
99
+ <!-- Post -->
100
+ <article class="box post beer_recipe" itemscope itemtype="http://schema.org/Recipe">
101
+ <meta itemprop="author" content="<%= brewer %>"/>
102
+ <meta itemprop="recipeCategory" content="beverage"/>
103
+ <meta itemprop="totalTime" content="<%= total_time_period %>"/>
104
+ <meta itemprop="cookTime" content="<%= boil_time_period %>">
105
+
106
+ <div class="row">
107
+ <div class="6u 12u(mobile)">
108
+ <span class="image featured"><img src="images/beers/<%= file_name %>.jpg" alt="<%= name %> label" itemprop="image"></span>
109
+ </div>
110
+ <div class="6u 12u(mobile)">
111
+ <span class="image featured"><img src="images/photos/bottles/<%= file_name %>_bottle.jpg" alt="<%= name %> bottle" itemprop="image"></span>
112
+ </div>
113
+ </div>
114
+
115
+ <aside class="recipe_information">
116
+ <h2><%= I18n.t(:information) %></h2>
117
+
118
+ <div class="recipe_style">
119
+ <h3><%= I18n.t(:style) %></h3>
120
+ <p><%= style.name %> (<%= style_code %> / <%= style.style_guide %>)</p>
121
+ </div>
122
+
123
+ <div class="recipe_type">
124
+ <h3><%= I18n.t(:type) %></h3>
125
+ <p><%= style.type %></p>
126
+ </div>
127
+
128
+ <div class="recipe_grains">
129
+ <h3><%= I18n.t(:grains) %></h3>
130
+ <p><%= '%.2f' % total_grains %> <%= I18n.t(:kilograms) %></p>
131
+ </div>
132
+
133
+ <div class="recipe_hops">
134
+ <h3><%= I18n.t(:hops) %></h3>
135
+ <p><%= '%.0f' % total_hops %> <%= I18n.t(:grams) %></p>
136
+ </div>
137
+
138
+ <div class="recipe_equipment">
139
+ <h3><%= I18n.t(:equipment) %></h3>
140
+ <p><%= equipment.name %> (<%= equipment.tun_volume %><%= I18n.t(:liter_abbr) %>)</p>
141
+ </div>
142
+
143
+ <div class="recipe_date">
144
+ <h3><%= I18n.t(:brew_date) %></h3>
145
+ <p><%= date %></p>
146
+ </div>
147
+
148
+ <div class="recipe_brewer">
149
+ <h3><%= I18n.t(:brewer) %></h3>
150
+ <p>
151
+ <%= brewer %> <% unless asst_brewer.blank? %>(<%= I18n.t(:assisted_by, assistant: asst_brewer) %>)<% end %>
152
+ </p>
153
+ </div>
154
+
155
+ </aside>
156
+
157
+ <section class="recipe_details">
158
+ <h2><%= I18n.t(:recipe_details) %></h2>
159
+ <table>
160
+ <thead>
161
+ <tr>
162
+ <th><%= I18n.t(:batch_size) %></th>
163
+ <th><%= I18n.t(:boil_time) %></th>
164
+ <th><%= I18n.t(:ibu) %></th>
165
+ <th><%= I18n.t(:og) %></th>
166
+ <th><%= I18n.t(:fg) %></th>
167
+ <th><%= I18n.t(:abv) %></th>
168
+ <th><%= I18n.t(:calories_per_liter) %></th>
169
+ <th><%= I18n.t(:color) %></th>
170
+ </tr>
171
+ </thead>
172
+ <tbody>
173
+ <tr>
174
+ <td class="recipe_batch_size format_number" itemprop="recipeYield"><%= '%.1f' % batch_size %> <%= I18n.t(:liter_abbr) %></td>
175
+ <td class="recipe_boil_time format_number"><%= '%.0f' % boil_time %> <%= I18n.t(:minutes) %></td>
176
+ <td class="recipe_ibu format_number"><%= '%.0f' % ibu %></td>
177
+ <td class="recipe_og format_number"><%= '%.3f' % og %> <%= I18n.t(:sg) %></td>
178
+ <td class="recipe_fg format_number"><%= '%.3f' % fg %> <%= I18n.t(:sg) %></td>
179
+ <td class="recipe_abv format_number"><%= '%.1f' % abv %><%= I18n.t(:percent_sign) %></td>
180
+ <td class="recipe_calories format_number" itemprop="nutrition" itemscope
181
+ itemtype="http://schema.org/NutritionInformation">
182
+ <span itemprop="calories"><%= '%.0f' % calories %></span>
183
+ <meta itemprop="servingSize" content="1 L">
184
+ </td>
185
+ <td class="recipe_color format_number">
186
+ <%= '%.0f' % color_ebc %> <%= I18n.t(:ebc) %>
187
+ <div class="colorbox" style="background-color: <%= color_hex %>">&nbsp;</div>
188
+ <!-- <div class="colorbox <%= color_class %>">&nbsp;</div> --></td>
189
+ </tr>
190
+ </tbody>
191
+ </table>
192
+ </section>
193
+
194
+ <section class="recipe_fermentables">
195
+ <h2><%= I18n.t(:fermentables) %></h2>
196
+ <table>
197
+ <thead>
198
+ <tr>
199
+ <th><%= I18n.t(:percent) %></th>
200
+ <th><%= I18n.t(:fermentable_name) %></th>
201
+ <th><%= I18n.t(:fermentable_amount) %></th>
202
+ <th><%= I18n.t(:fermentable_type) %></th>
203
+ <th><%= I18n.t(:fermentable_color) %></th>
204
+ </tr>
205
+ </thead>
206
+ <tbody>
207
+ <% fermentables.each do |f| %>
208
+ <meta itemprop="recipeIngredient"
209
+ content="<%= f.formatted_amount %> <%= I18n.t(:kilograms) %> <%= f.name %>">
210
+ <tr>
211
+ <td class="fermentable_percent format_number"><%= '%.1f' % f.amount_percent %><%= I18n.t(:percent_sign) %></td>
212
+ <td class="fermentable_name"><%= f.name %></td>
213
+ <td class="fermentable_amount format_number"><%= f.formatted_amount %> <%= I18n.t(:kilograms) %></td>
214
+ <td class="fermentable_type"><%= I18n.t(f.type, default: f.type) %></td>
215
+ <td class="fermentable_color format_number">
216
+ <%= '%.0f' % f.color_ebc %> <%= I18n.t(:ebc) %>
217
+ <div class="colorbox" style="background-color: <%= f.color_hex %>">&nbsp;</div>
218
+ <!-- <div class="colorbox <%= f.color_class %>">&nbsp;</div> --></td>
219
+ </tr>
220
+ <% end %>
221
+ </tbody>
222
+ </table>
223
+ </section>
224
+
225
+ <section class="recipe_hops">
226
+ <h2><%= I18n.t(:hops) %></h2>
227
+ <table>
228
+ <thead>
229
+ <tr>
230
+ <th><%= I18n.t(:percent_sign) %></th>
231
+ <th><%= I18n.t(:hops_name) %></th>
232
+ <th><%= I18n.t(:hops_amount) %></th>
233
+ <th><%= I18n.t(:hops_time) %></th>
234
+ <th><%= I18n.t(:hops_use) %></th>
235
+ <th><%= I18n.t(:hops_form) %></th>
236
+ <th><%= I18n.t(:hops_alpha) %></th>
237
+ <th><%= I18n.t(:hops_ibu) %></th>
238
+ </tr>
239
+ </thead>
240
+ <tbody>
241
+ <% hops.each do |hop| %>
242
+ <meta itemprop="recipeIngredient"
243
+ content="<%= hop.formatted_amount %> <%= I18n.t(:grams) %> <%= hop.name %> (<%= I18n.t(hop.use, default: hop.use) %> <%= hop.formatted_time %> <%= I18n.t(hop.time_unit, default: hop.time_unit) %>)">
244
+ <tr>
245
+ <td class="hops_percent format_number"><%= '%.1f' % hop.amount_percent %><%= I18n.t(:percent_sign) %></td>
246
+ <td class="hops_name"><%= hop.name %></td>
247
+ <td class="hops_amount format_number"><%= hop.formatted_amount %> <%= I18n.t(:grams) %></td>
248
+ <td class="hops_time format_number"><%= hop.formatted_time %> <%= I18n.t(hop.time_unit, default: hop.time_unit) %></td>
249
+ <td class="hops_use"><%= I18n.t(hop.use, default: hop.use) %></td>
250
+ <td class="hops_form"><%= I18n.t(hop.form, default: hop.form) %></td>
251
+ <td class="hops_alpha format_number"><%= hop.alpha %><%= I18n.t(:percent_sign) %></td>
252
+ <td class="hops_ibu format_number"><%= hop.formatted_ibu %></td>
253
+ </tr>
254
+ <% end %>
255
+ </tbody>
256
+ </table>
257
+ </section>
258
+
259
+ <section class="yeasts">
260
+ <h2><%= I18n.t(:yeasts) %></h2>
261
+ <table>
262
+ <thead>
263
+ <tr>
264
+ <th><%= I18n.t(:yeast_name) %></th>
265
+ <th><%= I18n.t(:yeast_product_id) %></th>
266
+ <th><%= I18n.t(:yeast_lab) %></th>
267
+ <th><%= I18n.t(:yeast_form) %></th>
268
+ <th><%= I18n.t(:yeast_attenuation) %></th>
269
+ <th><%= I18n.t(:yeast_temperature) %></th>
270
+ </tr>
271
+ </thead>
272
+ <tbody>
273
+ <% yeasts.each do |yeast| %>
274
+ <tr>
275
+ <meta itemprop="name" content="<%= yeast.name %> (<%= yeast.product_id %>) <%= yeast.laboratory %>">
276
+ <td class="yeast_name"><%= yeast.name %></td>
277
+ <td class="yeast_product_id"><%= yeast.product_id %></td>
278
+ <td class="yeast_laboratory"><%= yeast.laboratory %></td>
279
+ <td class="yeast_form"><%= I18n.t(yeast.form, default: yeast.form) %></td>
280
+ <td class="yeast_attenuation format_number"><%= yeast.formatted_attenuation %></td>
281
+ <td class="yeast_temperatures format_number"><%= yeast.formatted_temperatures %></td>
282
+ </tr>
283
+ <% end %>
284
+ </tbody>
285
+ </table>
286
+ </section>
287
+
288
+ <section class="recipe_mash" itemprop="recipeInstructions"
289
+ itemscope itemtype="https://schema.org/ItemList">
290
+ <h2><%= I18n.t(:mash) %></h2>
291
+ <table>
292
+ <thead>
293
+ <tr>
294
+ <th><%= I18n.t(:mash_name) %></th>
295
+ <th><%= I18n.t(:mash_type) %></th>
296
+ <th><%= I18n.t(:mash_infuse_amount) %></th>
297
+ <th><%= I18n.t(:mash_step_temp) %></th>
298
+ <th><%= I18n.t(:mash_ramp_time) %></th>
299
+ <th><%= I18n.t(:mash_step_time) %></th>
300
+ </tr>
301
+ </thead>
302
+ <tbody>
303
+ <% mash.steps.each do |step| %>
304
+ <tr>
305
+ <meta itemprop="name" content="<%= I18n.t(step.name, default: step.name) %> (<%= I18n.t(step.type, default: step.type) %>) <%= step.formatted_step_temp %><%= I18n.t(:degrees) %> @ <%= step.formatted_step_time %> <%= I18n.t(:minutes) %>">
306
+ <td class="mash_name"><%= I18n.t(step.name, default: step.name) %></td>
307
+ <td class="mash_type"><%= I18n.t(step.type, default: step.type) %></td>
308
+ <td class="mash_infuse_amount format_number"><%= step.formatted_infuse_amount %> <%= I18n.t(:liter_abbr) %></td>
309
+ <td class="mash_step_temp format_number"><%= step.formatted_step_temp %><%= I18n.t(:degrees) %></td>
310
+ <td class="mash_ramp_time format_number"><%= step.formatted_ramp_time %> <%= I18n.t(:minutes) %></td>
311
+ <td class="mash_step_time format_number"><%= step.formatted_step_time %> <%= I18n.t(:minutes) %></td>
312
+ </tr>
313
+ <% end %>
314
+ </tbody>
315
+ </table>
316
+ </section>
317
+
318
+ </article>
319
+
320
+
321
+ </div>
322
+ </div>
323
+ </div>
324
+
325
+ <!-- Footer -->
326
+ <div id="footer-wrapper">
327
+ <div id="footer" class="container">
328
+ <header>
329
+ <h2>Kontaktinformation</h2>
330
+ </header>
331
+ <div class="row">
332
+ <div class="12u 12u(mobile)">
333
+ <section>
334
+ <div class="row">
335
+ <div class="4u 12u(mobile)">
336
+ <ul class="icons">
337
+ <li class="icon fa-envelope">
338
+ <a href="mailto:brewmaster@exalted.beer">brewmaster@exalted.beer</a>
339
+ </li>
340
+ </ul>
341
+ </div>
342
+ <div class="4u 12u(mobile)">
343
+ <ul class="icons">
344
+ <li class="icon fa-twitter">
345
+ <a href="http://www.twitter.com/ollej">@ollej</a>
346
+ </li>
347
+ </ul>
348
+ </div>
349
+ <div class="4u 12u(mobile)">
350
+ <ul class="icons">
351
+ <li class="icon fa-google-plus">
352
+ <a href="http://homebrew.space">Google+ community</a>
353
+ </li>
354
+ </ul>
355
+ </div>
356
+ </div>
357
+ </section>
358
+ </div>
359
+ </div>
360
+ </div>
361
+ <div id="copyright" class="container">
362
+ <ul class="links">
363
+ <li>&copy; Exalted Beer. All rights reserved.</li><li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
364
+ </ul>
365
+ </div>
366
+ </div>
367
+
368
+ </div>
369
+
370
+ <!-- Scripts -->
371
+ <script src="assets/js/jquery.min.js"></script>
372
+ <script src="assets/js/jquery.dropotron.min.js"></script>
373
+ <script src="assets/js/skel.min.js"></script>
374
+ <script src="assets/js/skel-viewport.min.js"></script>
375
+ <script src="assets/js/util.js"></script>
376
+ <!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
377
+ <script src="assets/js/main.js"></script>
378
+
379
+ </body>
380
+ </html>