2023-05-25 19:22:46 -04:00
|
|
|
{{ define "index-html" }}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="fr">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>
|
|
|
|
AGECEM | Bottin
|
|
|
|
</title>
|
2023-05-26 02:09:18 -04:00
|
|
|
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
/* Center the form on the page */
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 400px;
|
|
|
|
/* Form outline */
|
|
|
|
padding: 1em;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
form li + li {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
/* Uniform size & alignment */
|
|
|
|
display: inline-block;
|
|
|
|
width: 90px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
textarea {
|
|
|
|
/* To make sure that all text fields have the same font settings
|
|
|
|
By default, textareas have a monospace font */
|
|
|
|
font: 1em sans-serif;
|
|
|
|
|
|
|
|
/* Uniform text field size */
|
|
|
|
width: 300px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
/* Match form field borders */
|
|
|
|
border: 1px solid #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:focus,
|
|
|
|
textarea:focus {
|
|
|
|
/* Additional highlight for focused elements */
|
|
|
|
border-color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
/* Align multiline text fields with their labels */
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
/* Provide space to type some text */
|
|
|
|
height: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
/* Align buttons with the text fields */
|
|
|
|
padding-left: 90px; /* same size as the label elements */
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
/* This extra margin represent roughly the same space as the space
|
|
|
|
between the labels and their text fields */
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
2023-05-25 19:22:46 -04:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<h2>
|
|
|
|
Bottin des membres de l'AGECEM
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Scannez la carte étudiante d'unE membre<br>
|
|
|
|
-ou-<br>
|
|
|
|
Entrez manuellement le code à 7 chiffres
|
|
|
|
</p>
|
|
|
|
|
2023-05-25 22:07:53 -04:00
|
|
|
<form action="/membre" method="get">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<label for="membre_id">Numéro étudiant:</label>
|
2023-05-25 23:15:57 -04:00
|
|
|
<input type="text" id="membre_id" name="membre_id" autofocus/>
|
2023-05-25 22:07:53 -04:00
|
|
|
</li>
|
|
|
|
<li class="button">
|
|
|
|
<button type="submit">Rechercher</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2023-05-25 19:22:46 -04:00
|
|
|
</form>
|
2023-05-25 22:07:53 -04:00
|
|
|
|
2024-06-20 19:34:27 -04:00
|
|
|
<p class="result">{{ .Message }}</p>
|
2023-05-25 19:22:46 -04:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
|
|
|
{{ end }}
|