init
This commit is contained in:
8
inventorysystem/templates/base.html
Normal file
8
inventorysystem/templates/base.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>{% block title %}AStA-Inventarsystem{% endblock %}</title>
|
||||
</head>
|
||||
<body>
|
||||
{% block content %}{% endblock %}
|
||||
</body
|
||||
</html>
|
||||
4
inventorysystem/templates/index.html
Normal file
4
inventorysystem/templates/index.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
Logged in as {{session.full_name}} ({{session.username}})
|
||||
{% endblock %}
|
||||
15
inventorysystem/templates/login.html
Normal file
15
inventorysystem/templates/login.html
Normal 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 %}
|
||||
4
inventorysystem/templates/message.html
Normal file
4
inventorysystem/templates/message.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
{{message}}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user