From 34897225ba420403c54118979104874a17836daf Mon Sep 17 00:00:00 2001 From: aaron Date: Sat, 16 Jul 2022 17:40:31 +0200 Subject: [PATCH] add some more mockups and functionality --- .gitignore | 9 ++------- beertap/templates/about.html | 12 ++++++++++++ beertap/templates/base.html | 2 +- beertap/templates/beertap.html | 4 ++-- beertap/templates/statistics.html | 12 ++++++++++++ beertap/views.py | 25 ++++++++++++++++++------- 6 files changed, 47 insertions(+), 17 deletions(-) create mode 100644 beertap/templates/about.html create mode 100644 beertap/templates/statistics.html diff --git a/.gitignore b/.gitignore index 5d381cc..fde6ca1 100644 --- a/.gitignore +++ b/.gitignore @@ -153,10 +153,5 @@ dmypy.json # Cython debug symbols cython_debug/ -# PyCharm -# JetBrains specific template is maintained in a separate JetBrains.gitignore that can -# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore -# and can be added to the global gitignore or merged into this file. For a more nuclear -# option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ - +# vim +.swp diff --git a/beertap/templates/about.html b/beertap/templates/about.html new file mode 100644 index 0000000..134fa87 --- /dev/null +++ b/beertap/templates/about.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} +{% block title %}About{% endblock %} +{% block content %} +
+
+ Cheers +
+
About beertap
+ Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. +
+
+{% endblock %} diff --git a/beertap/templates/base.html b/beertap/templates/base.html index 930fdea..d70c459 100644 --- a/beertap/templates/base.html +++ b/beertap/templates/base.html @@ -20,7 +20,7 @@