Added bill.html and changes to routes.py

This commit is contained in:
Steffan Svartkjønneng 2019-02-25 16:33:56 +01:00
parent 59c9fbc106
commit 6f0d860439
2 changed files with 15 additions and 0 deletions

View File

@ -5,3 +5,7 @@ from objects import glob # Global sharing of python objects in a manageable way
@glob.app.route("/home") @glob.app.route("/home")
def home(): def home():
return render_template("home.html") return render_template("home.html")
@glob.app.route("/bill")
def serve_bill():
return render_template("bill.html")

11
templates/bill.html Normal file
View File

@ -0,0 +1,11 @@
{% set title = "bill:)" %}
{% extends "layout/bootstrap.html" %}
{% block content %}
<p>lotsa bills</p>
<p>many bills</p>
<i class="fas fa-user"></i> <!-- uses solid style -->
<i class="far fa-user"></i> <!-- uses regular style -->
<i class="fab fa-github-square"></i> <!-- uses brands style -->
{% endblock %}