2023-10-04 17:16:20 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="de">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
|
|
|
<title>Sicherheitsunterweisung</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2023-10-04 17:24:20 +02:00
|
|
|
<h1>Sicherheitsunterweisung</h1>
|
2023-10-04 18:55:13 +02:00
|
|
|
|
2023-10-04 17:24:20 +02:00
|
|
|
<form>
|
2023-10-05 16:50:23 +02:00
|
|
|
<div id="instructor">
|
|
|
|
<label for="instructor-first-input">Unterweiser Vorname</label>
|
|
|
|
<input type="text" name="instructor-first" id="instructor-first-input" />
|
|
|
|
|
|
|
|
<label for="instructor-last-input">Unterweiser Nachname</label>
|
|
|
|
<input type="text" name="instructor-last" id="instructor-last-input" />
|
|
|
|
</div>
|
|
|
|
|
2023-10-04 18:55:13 +02:00
|
|
|
<div id="date">
|
|
|
|
<label for="date-input">Datum</label>
|
|
|
|
<input type="date" name="date" id="date-input" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="time">
|
|
|
|
<label for="time-input">Uhrzeit</label>
|
|
|
|
<input type="time" name="time" id="time-input" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="state">
|
|
|
|
<label for="state-input">Stand vom</label>
|
|
|
|
<input type="date" name="state" id="state-input" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="location">
|
|
|
|
<label for="location-input">Ort</label>
|
|
|
|
<input type="text" name="location" id="location-input" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="participants">
|
|
|
|
<button type="button" hx-post="/add-participant/" hx-target="#participants" hx-swap="beforeend"
|
|
|
|
hx-trigger="click">
|
|
|
|
+
|
|
|
|
</button>
|
|
|
|
|
2023-10-04 19:18:52 +02:00
|
|
|
<div id="participant-{{ . }}">
|
|
|
|
<label for="participant-first-input-{{ . }}">Vorname</label>
|
2023-10-05 16:50:23 +02:00
|
|
|
<input type="text" name="participant-first-{{ . }}" id="participant-first-input-{{ . }}" />
|
2023-10-04 18:55:13 +02:00
|
|
|
|
2023-10-04 19:18:52 +02:00
|
|
|
<label for="participant-last-input-{{ . }}">Nachname</label>
|
2023-10-05 16:50:23 +02:00
|
|
|
<input type="text" name="participant-last-{{ . }}" id="participant-last-input-{{ . }}" />
|
2023-10-04 18:55:13 +02:00
|
|
|
|
2023-10-04 19:18:52 +02:00
|
|
|
<label for="participant-company-input-{{ . }}">Firma</label>
|
2023-10-05 16:50:23 +02:00
|
|
|
<input type="text" name="participant-company-{{ . }}" id="participant-company-input-{{ . }}" />
|
2023-10-04 18:55:13 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-10-04 19:26:48 +02:00
|
|
|
<button type="submit" hx-post="/submit/">
|
2023-10-04 19:18:52 +02:00
|
|
|
Senden
|
|
|
|
</button>
|
2023-10-04 17:24:20 +02:00
|
|
|
</form>
|
2023-10-04 18:55:13 +02:00
|
|
|
|
2023-10-04 17:16:20 +02:00
|
|
|
<script src="/static/js/htmx.min.js" type="text/javascript"></script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|