Laget kvittering.html

This commit is contained in:
Glenn Petter Pettersen 2019-02-25 16:26:49 +01:00
parent 59c9fbc106
commit 715b0c8ea3
2 changed files with 15 additions and 0 deletions

View File

@ -5,3 +5,8 @@ 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("/kvittering")
def serve_kvittering():
return render_template("kvittering.html")

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 %}