aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/css/gril.css4
-rw-r--r--views/gril.html32
2 files changed, 36 insertions, 0 deletions
diff --git a/assets/css/gril.css b/assets/css/gril.css
index 409ef51..e22364a 100644
--- a/assets/css/gril.css
+++ b/assets/css/gril.css
@@ -1,4 +1,8 @@
1h1 > small { 1h1 > small {
2 padding-left: 8px; 2 padding-left: 8px;
3 font-size: 50%; 3 font-size: 50%;
4}
5
6.card-title {
7 font-size: 36px !important;
4} \ No newline at end of file 8} \ No newline at end of file
diff --git a/views/gril.html b/views/gril.html
index 3983061..f3b7148 100644
--- a/views/gril.html
+++ b/views/gril.html
@@ -16,6 +16,38 @@
16 {{ $tag }} 16 {{ $tag }}
17 </div> 17 </div>
18 {{ end }} 18 {{ end }}
19 <br />
20 <br />
21 <div class="row">
22 {{ if $gril.Age.Valid }}
23 <div class="col s6 m2 l2">
24 <div class="card">
25 <div class="card-content purple-text text-lighten-2 center-align">
26 <span class="card-title">{{ $gril.Age.Value }}</span>
27 <p>years old</p>
28 </div>
29 </div>
30 </div>
31 {{ end }}
32 {{ if $gril.Birthday.Valid }}
33 <div class="col s6 m2 l2">
34 <div class="card">
35 <div class="card-content purple-text text-lighten-2 center-align">
36 <span class="card-title">{{ $gril.Birthday.Value}}</span>
37 <p>birthday</p>
38 </div>
39 </div>
40 </div>
41 {{ end }}
42 <div class="col s12 m4 l4">
43 <div class="card">
44 <div class="card-content purple-text text-lighten-2 center-align">
45 <span class="card-title">{{ $gril.UpdatedAt.Format "Jan 02, 2006" }}</span>
46 <p>last updated</p>
47 </div>
48 </div>
49 </div>
50 </div>
19 </div> 51 </div>
20 </body> 52 </body>
21</html> 53</html>