generated from appdev-projects/sinatra-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfun.erb
51 lines (46 loc) · 1.29 KB
/
fun.erb
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
<br>
<section>
<label id="nutrition_label" name="nutrition_label">Nutrition</label>
<label name="calories_label">Calories: <%=calories%></label>
<label name="fat_label">Fat: <%=fat%></label>
<label name="sugar_label">Sugar: <%=sugar%></label>
<label name="carbohydrates_label">Carbohydrates: <%=carbohydrates%></label>
<label name="protein_label">Protein: <%=protein%></label>
</section>
<br>
<section>
<label id="additional_label" name="additional_label">Additional Information</label>
<label name="family_label">Family: <%=family%></label>
<label name="order_label">Order: <%=order%></label>
<label name="genus_label">Genus: <%=genus%></label>
</section>
=begin
----moving footer
footer{
display: flex;
justify-content: center;
position: fixed;
bottom: 0;
width: 100%;
height: 30px;
background-color: var(--light-color);
border-top: 3px solid var(--dark-color);
}
----footer at bottom
.page_body{
margin: 0px;
min-height: 100vh;
display: flex;
flex-direction: column;
}
footer{
display: flex;
justify-content: center;
bottom: 0;
width: 100%;
height: 30px;
background-color: var(--light-color);
border-top: 3px solid var(--dark-color);
margin-top: auto;
}
=end