guichet/templates/login.html

41 lines
1.1 KiB
HTML
Raw Normal View History

2023-07-25 15:41:16 +00:00
{{define "title"}}Login{{end}}
2020-02-09 14:44:18 +00:00
2023-07-23 15:14:32 +00:00
{{define "admenu"}}
{{end}}
2023-07-19 05:54:28 +00:00
2023-07-23 14:56:16 +00:00
{{define "body"}}
2023-07-19 05:54:28 +00:00
<center>
2023-07-21 05:40:24 +00:00
<img src="/static/image/outilsinformatiques.svg" class="lesgv hero">
2023-07-19 05:54:28 +00:00
</center>
2023-07-21 14:18:40 +00:00
<h2>S'identifier</h2>
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}}
2023-07-25 19:35:22 +00:00
{{if .Common.ErrorMessage}}
2020-02-09 15:46:26 +00:00
<div class="alert alert-danger">Impossible de se connecter.
2023-07-25 19:35:22 +00:00
<div style="font-size: 0.8em">{{ .Common.ErrorMessage }}</div>
2020-02-09 15:46:26 +00:00
</div>
{{end}}
<div class="form-group">
2022-07-19 08:35:14 +00:00
<label for="username">Identifiant :</label>
2023-07-25 19:42:00 +00:00
<input type="text" name="username" id="username" class="form-control" />
2020-02-09 15:46:26 +00:00
</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
2023-07-23 11:49:24 +00:00
<p><strong><a href="/gpas">Mot de passe perdu</a></strong></p>
2020-02-10 08:44:18 +00:00
2023-07-23 11:49:24 +00:00
<p><strong><a href="/invite/new_account">S'enregistrer</a></strong></p>
2020-02-10 08:44:18 +00:00
2020-02-09 14:44:18 +00:00
{{end}}