This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
bottin/v4/web/templates/index.html
Victor Lacasse-Beaudoin 3aa7faa2f6 [WIP] Add web client
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
2023-05-25 19:22:46 -04:00

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 }}