Squashed into initial commit

This commit is contained in:
Victor Lacasse-Beaudoin 2023-03-06 14:01:18 -05:00
commit c74e093a3b
19 changed files with 1728 additions and 0 deletions

10
embed/embed.go Normal file
View file

@ -0,0 +1,10 @@
package embed
import _ "embed"
//go:embed html/index.html
var Html_index string
func ReadHtml() string {
return Html_index
}

29
embed/html/index.html Normal file
View file

@ -0,0 +1,29 @@
<html>
<head>
<title>
AGECEM | Bottin
</title>
</head>
<body>
<h2>
Bottin de numéros d&#39étudiantEs
</h2>
<h4>
Scannez la carte étudiante d&#39unE membre<br>
-ou-<br>
Entrez manuellement le code à 7 chiffres
</h4>
<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>