2023-10-28 10:52:06 +02:00
|
|
|
{{define "rows"}}
|
|
|
|
{{range .OTD}}
|
2023-10-07 18:32:33 +02:00
|
|
|
<tr>
|
2023-10-28 10:52:06 +02:00
|
|
|
<td>{{.InstructorFirstName}}</td>
|
|
|
|
<td>{{.InstructorLastName}}</td>
|
|
|
|
<td>{{.BriefingDate}}</td>
|
|
|
|
<td>{{.BriefingTime}}</td>
|
|
|
|
<td>{{.BriefingLocation}}</td>
|
|
|
|
<td>{{.BriefingDocumentName}}</td>
|
|
|
|
<td>{{.BriefingAsOf}}</td>
|
|
|
|
<td>{{.ParticipantFirstName}}</td>
|
|
|
|
<td>{{.ParticipantLastName}}</td>
|
|
|
|
<td>{{.ParticipantCompany}}</td>
|
2023-10-07 18:32:33 +02:00
|
|
|
</tr>
|
2023-10-28 10:52:06 +02:00
|
|
|
{{end}}
|
|
|
|
{{end}}
|
2023-10-07 18:32:33 +02:00
|
|
|
|
2023-10-28 10:52:06 +02:00
|
|
|
{{define "content"}}
|
2023-10-07 18:32:33 +02:00
|
|
|
<form>
|
|
|
|
<label for="search-input">Suche</label>
|
2023-10-30 11:38:56 +01:00
|
|
|
<input type="text" name="search" id="search-input" hx-post="/search/{{.SessionID}}/" hx-target="#results">
|
2023-10-08 10:36:16 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<form>
|
2023-10-30 11:38:56 +01:00
|
|
|
<button type="submit" hx-post="/new-briefing/{{.SessionID}}/" hx-target="#content">
|
2023-10-08 10:36:16 +02:00
|
|
|
Neue Unterweisung
|
|
|
|
</button>
|
2023-10-07 18:32:33 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<table>
|
2023-10-08 10:36:16 +02:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2023-10-08 15:12:52 +02:00
|
|
|
<th colspan="2">Unterweiser</th>
|
2023-10-08 10:36:16 +02:00
|
|
|
<th>Datum</th>
|
|
|
|
<th>Uhrzeit</th>
|
|
|
|
<th>Ort</th>
|
2023-10-19 19:59:38 +02:00
|
|
|
<th>Dokument</th>
|
|
|
|
<th>Stand</th>
|
2023-10-08 15:12:52 +02:00
|
|
|
<th colspan="2">Teilnehmer</th>
|
2023-10-08 10:36:16 +02:00
|
|
|
<th>Firma</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2023-10-07 18:32:33 +02:00
|
|
|
|
2023-10-08 10:36:16 +02:00
|
|
|
<tbody id="results">
|
2023-10-28 10:52:06 +02:00
|
|
|
{{template "rows" .}}
|
2023-10-08 10:36:16 +02:00
|
|
|
</tbody>
|
2023-10-07 18:32:33 +02:00
|
|
|
</table>
|
2023-10-28 10:52:06 +02:00
|
|
|
{{end}}
|