aktueller stand

This commit is contained in:
2022-10-06 13:36:57 +02:00
parent 8092e8b6bb
commit 7f5503dfcc
4 changed files with 87 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
{% extends "base.html" %}
{% block content %}
<h1>Inventareintrag löschen</h1>
{% for key,value in dbresult %}
{{key}}: {{value}} <br>
{% endfor %}
<form method=post>
<input type=submit value=Löschen>
</form>
{% endblock %}

View File

@@ -8,6 +8,7 @@
{% for entry in table.headers %}
<th>{{entry}}</th>
{% endfor %}
<th>Actions<th>
</tr>
{% for entry in table.rows %}
@@ -15,6 +16,7 @@
{% for x in entry %}
<td>{{x}}</td>
{% endfor %}
<td><a href={{url_for("delete_inventory", id=entry[0])}}>Löschen</a></td>
</tr>
{% endfor %}