25 lines
737 B
HTML
25 lines
737 B
HTML
{{ define "index-html" }}
|
|
<!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>
|
|
|
|
{{ 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>
|
|
{{ end }}
|