Victor Lacasse-Beaudoin
3aa7faa2f6
Ignore .swp files Rename serverCmd to apiCmd (the web client is technically a server too) Add webCmd for html routes hosting Add embedding and templating for web client Add webhandlers Fix some variables not being filled automatically by viper Change flags and reorganize config structure
31 lines
581 B
HTML
31 lines
581 B
HTML
{{ define "index-html" }}
|
|
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>
|
|
AGECEM | Bottin
|
|
</title>
|
|
</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>
|
|
|
|
<form action="/membre/">
|
|
<label>#
|
|
<input type="text" name="num_etud" id="num_etud" autofocus>
|
|
</label>
|
|
<button formmethod="get" type="submit">Valider</button>
|
|
</form>
|
|
</body>
|
|
|
|
</html>
|
|
{{ end }}
|