neuer stand
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<title>{% block title %}AStA-Inventarsystem{% endblock %}</title>
|
||||
</head>
|
||||
<body>
|
||||
<a href=/>Home</a> Logged in as {{session.full_name}} ({{session.username}})<br>
|
||||
{% block content %}{% endblock %}
|
||||
</body
|
||||
</html>
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
Logged in as {{session.full_name}} ({{session.username}})
|
||||
|
||||
<a href=/oes>Show OEs</a>
|
||||
{% endblock %}
|
||||
|
||||
8
inventorysystem/templates/list_oes.html
Normal file
8
inventorysystem/templates/list_oes.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>OEs</h1>
|
||||
|
||||
{% for id,name in dbresult %}
|
||||
<a href=/inventory/{{ id }}>{{name}}</a>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
8
inventorysystem/templates/show_inventory.html
Normal file
8
inventorysystem/templates/show_inventory.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>Inventar</h1>
|
||||
<h2>{{oe_name}}</h2>
|
||||
{% for entry in dbresult %}
|
||||
{{entry}}<br>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user