This commit is contained in:
Nabeel 2019-02-25 16:39:25 +01:00
commit 213a6c0fd4
3 changed files with 27 additions and 0 deletions

View File

@ -5,3 +5,12 @@ 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("/regninger")
def serve_regninger():
return render_template("regninger.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 %}

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