This repository has been archived on 2025-05-16. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
pi-race-timer/app/templates/fahrerverwaltung.html
2025-04-29 23:36:37 +02:00

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>