aboutsummaryrefslogtreecommitdiff
path: root/templates/beerpage.jinja2
diff options
context:
space:
mode:
authorSean Dolan <sed9182@rit.edu>2019-07-27 22:37:37 -0400
committerSean Dolan <sed9182@rit.edu>2019-07-27 22:37:37 -0400
commite3fbc5b232dfad18d9b23e7636e655acacbe7f63 (patch)
treee8903bacbaa3219da3c678ea94a132350e11a12e /templates/beerpage.jinja2
parenta5a4efe60cb0878150ef5e5d19cd578ade757e60 (diff)
At work I have to have good commit messages
Diffstat (limited to 'templates/beerpage.jinja2')
-rw-r--r--templates/beerpage.jinja220
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/beerpage.jinja2 b/templates/beerpage.jinja2
new file mode 100644
index 0000000..f743d1b
--- /dev/null
+++ b/templates/beerpage.jinja2
@@ -0,0 +1,20 @@
+{% extends "base.html" %}
+{% block content %}
+ <div id="title" class="text-center">
+ <h2>{{ beer_data['name'] if beer_data != None else 'DELICOUS BEER' }}</h2>
+ </div>
+ <div id="stats">
+ <table class="table">
+ <tr>
+ <th scope="col">Parent Style</th>
+ <th scope="col">Specific Style</th>
+ <th scope="col">Alcohol by Volume </th>
+ </tr>
+ <tr>
+ <td>{{ beer_data['parent_style'] if beer_data != None else 'ASS BEER' }}</td>
+ <td>{{ beer_data['parent_style'] if beer_data != None else 'TURBO ASS BEER' }}</td>
+ <td>{{ beer_data['parent_style'] if beer_data != None else 'BETWEEN 0 and 100' }}</td>
+ </tr>
+ </table>
+ </div>
+{% endblock %} \ No newline at end of file