27 lines
994 B
HTML
27 lines
994 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Fahrerverwaltung</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
|
|
<script src="{{ url_for('static', filename='js/fahrer.js') }}"></script>
|
|
</head>
|
|
<body>
|
|
<h2>Fahrer verwalten</h2>
|
|
<form id="fahrerForm">
|
|
<div id="fahrerListe">
|
|
{% for f in fahrer %}
|
|
<div class="fahrer-eintrag">
|
|
<label>Fahrer {{ loop.index }}:
|
|
<input type="text" name="name" value="{{ f.name }}">
|
|
<input type="number" name="nummer" value="{{ f.nummer }}">
|
|
<input type="color" name="farbe" value="{{ f.farbe }}">
|
|
</label>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
<button type="button" onclick="addFahrer()">+ Fahrer hinzufügen</button>
|
|
<button type="submit" class="green">Speichern</button>
|
|
</form>
|
|
<a href="{{ url_for('main.index') }}">Zurück</a>
|
|
</body>
|
|
</html>
|