This commit is contained in:
2022-10-03 19:21:59 +02:00
commit 930064c9d2
9 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<html>
<head>
<title>{% block title %}AStA-Inventarsystem{% endblock %}</title>
</head>
<body>
{% block content %}{% endblock %}
</body
</html>

View File

@@ -0,0 +1,4 @@
{% extends "base.html" %}
{% block content %}
Logged in as {{session.full_name}} ({{session.username}})
{% endblock %}

View File

@@ -0,0 +1,15 @@
{% extends "base.html" %}
{% block title %}Login{% endblock %}
{% block content %}
<form method=post>
<label>
Username
<input type=text name=user>
</label>
<label>
Password
<input type=password name=pass>
</label>
<input type=submit>
</form>
{% endblock %}

View File

@@ -0,0 +1,4 @@
{% extends "base.html" %}
{% block content %}
{{message}}
{% endblock %}