guichet/templates/login.html

36 lines
1.1 KiB
HTML
Raw Normal View History

2020-02-09 15:46:26 +00:00
{{define "title"}}{{end}}
2020-02-09 14:44:18 +00:00
{{define "body"}}
2020-02-09 16:45:22 +00:00
<h4>S'identifier</h4>
2020-02-09 14:44:18 +00:00
<form method="POST">
{{if .WrongUser}}
2022-07-19 08:35:14 +00:00
<div class="alert alert-danger">Identifiant invalide.</div>
{{end}}
{{if .WrongPass}}
<div class="alert alert-danger">Mot de passe invalide.</div>
{{end}}
2020-02-09 15:46:26 +00:00
{{if .ErrorMessage}}
<div class="alert alert-danger">Impossible de se connecter.
<div style="font-size: 0.8em">{{ .ErrorMessage }}</div>
</div>
{{end}}
<div class="form-group">
2022-07-19 08:35:14 +00:00
<label for="username">Identifiant :</label>
2020-02-09 15:46:26 +00:00
<input type="text" name="username" id="username" class="form-control" value="{{ .Username }}" />
</div>
<div class="form-group">
2022-07-19 08:35:14 +00:00
<label for="password">Mot de passe :</label>
2020-02-09 15:46:26 +00:00
<input type="password" name="password" id="password" class="form-control" />
</div>
<button type="submit" class="btn btn-primary">Se connecter</button>
2020-02-09 14:44:18 +00:00
</form>
2020-02-10 08:44:18 +00:00
<hr class="mt-4" />
<p><strong>Mot de passe oublié ?</strong>
2021-07-01 12:38:37 +00:00
Écrivez à <samp>coucou</samp><img src="static/image/at_sign.svg" style="height: 1em" alt="arobase" /><samp>deuxfleurs.fr</samp>
2022-07-19 08:35:14 +00:00
ou contactez directement votre opérateur·ice préféré·e.</p>
2020-02-10 08:44:18 +00:00
2020-02-09 14:44:18 +00:00
{{end}}