From 6f0d860439d0c04357b7d0b3ad11c68909394d6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffan=20Svartkj=C3=B8nneng?= Date: Mon, 25 Feb 2019 16:33:56 +0100 Subject: [PATCH] Added bill.html and changes to routes.py --- routes.py | 4 ++++ templates/bill.html | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 templates/bill.html diff --git a/routes.py b/routes.py index ae7338c..a0b51ac 100644 --- a/routes.py +++ b/routes.py @@ -5,3 +5,7 @@ from objects import glob # Global sharing of python objects in a manageable way @glob.app.route("/home") def home(): return render_template("home.html") + +@glob.app.route("/bill") +def serve_bill(): + return render_template("bill.html") diff --git a/templates/bill.html b/templates/bill.html new file mode 100644 index 0000000..ea43231 --- /dev/null +++ b/templates/bill.html @@ -0,0 +1,11 @@ +{% set title = "bill:)" %} + +{% extends "layout/bootstrap.html" %} + +{% block content %} +

lotsa bills

+

many bills

+ + + +{% endblock %} \ No newline at end of file