Files
BibelTresor/templates/index.html
T
2025-04-05 09:09:38 +02:00

24 lines
801 B
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BibelTresor</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
</head>
<body>
<h1>Meine Bücher</h1>
<ul>
{% for buch in buecher %}
<li>{{ buch.titel }} von {{ buch.autor }} ({{ buch.jahr }}) -
<a href="{{ url_for('bearbeiten', id=buch.id) }}">Bearbeiten</a> -
<a href="{{ url_for('loeschen', id=buch.id) }}">Löschen</a>
</li>
{% endfor %}
</ul>
<p><a href="{{ url_for('hinzufuegen') }}">Neues Buch hinzufügen</a></p>
<script src="{{ url_for('static', filename='js/bootstrap.bundle.min.js') }}"></script>
</body>
</html>