Added bill.html and changes to routes.py

This commit is contained in:
Steffan Svartkjønneng 2019-02-25 16:40:28 +01:00
commit 71ce9ef435
3 changed files with 29 additions and 0 deletions

View File

@ -6,6 +6,17 @@ from objects import glob # Global sharing of python objects in a manageable way
def home():
return render_template("home.html")
<<<<<<< HEAD
@glob.app.route("/bill")
def serve_bill():
return render_template("bill.html")
=======
@glob.app.route("/regninger")
def serve_regninger():
return render_template("regninger.html")
@glob.app.route("/kvittering")
def serve_kvittering():
return render_template("kvittering.html")
>>>>>>> dfe81abec52f41c399ef7c2d0c5e9a7c13c13943

10
templates/kvittering.html Normal file
View File

@ -0,0 +1,10 @@
{% set title = "Kvitteringer" %}
{% extends "layout/bootstrap.html" %}
{% block content %}
<p>Tester siden!</p>
<p>KVITTERINGER FOR FAEN!</p>
{% endblock %}

8
templates/regninger.html Normal file
View File

@ -0,0 +1,8 @@
{% set title = "Regninger" %}
{% extends "layout/bootstrap.html" %}
{% block content %}
<p>Regninger :D</p>
<p>test</p>
{% endblock %}