2023-09-17 01:25:45 -04:00
|
|
|
{{ define "index-html" }}
|
2023-09-17 16:32:40 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>AGECEM | Assemblée Générale</title>
|
|
|
|
<script src="/public/js/htmx.min.js"></script>
|
|
|
|
<script src="/public/js/membreid-selected-and-cleared.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h2>Présences en Assemblée Générale</h2>
|
2023-09-17 01:12:46 -04:00
|
|
|
|
2023-09-17 16:32:40 -04:00
|
|
|
{{ if .Error }}<h3>Error: {{ .Error }}</h3>{{ end }}
|
|
|
|
|
|
|
|
<form action="" hx-post="/scan" hx-target="#app-content">
|
|
|
|
<label for="membre_id">Numéro étudiant:</label>
|
|
|
|
<input id="membre_id" name="membre_id" value="" required />
|
|
|
|
<button type="submit">enregistrer</button>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<div id="app-content">
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
2023-09-17 01:25:45 -04:00
|
|
|
{{ end }}
|