2023-07-25 15:41:16 +00:00
|
|
|
{{define "title"}}G Pas (Je n'ai pas mon mal de passe){{end}}
|
2023-07-23 06:29:01 +00:00
|
|
|
|
2023-07-23 15:18:29 +00:00
|
|
|
{{define "admenu"}}
|
|
|
|
{{end}}
|
|
|
|
|
2023-07-23 06:29:01 +00:00
|
|
|
{{define "body"}}
|
2023-07-23 06:22:09 +00:00
|
|
|
<h2>G Pas</h2>
|
|
|
|
|
|
|
|
<p>Refaire son mot de passe</p>
|
|
|
|
|
|
|
|
{{if .ErrorMessage}}
|
|
|
|
<div class="alert alert-danger">Impossible
|
|
|
|
<div style="font-size: 0.8em">{{ .ErrorMessage }}</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
{{if .Success}}
|
|
|
|
<div class="alert alert-success mt-4">
|
|
|
|
Email envoyé au courriel de secours.
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
|
2023-07-23 11:51:13 +00:00
|
|
|
<p>Merci de renseigner au moins un des champs ci-dessous.</p>
|
|
|
|
|
2023-07-23 06:22:09 +00:00
|
|
|
<form method="POST">
|
|
|
|
<div class="form-group">
|
2023-07-23 11:51:13 +00:00
|
|
|
<label for="username">Ou identifiant :</label>
|
2023-07-23 06:22:09 +00:00
|
|
|
<input type="text" name="username" id="username" class="form-control" value="{{ .Username }}" />
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-07-23 11:51:13 +00:00
|
|
|
<label for="mail">ou mail (interne aux GV) :</label>
|
2023-07-23 06:22:09 +00:00
|
|
|
<input type="text" name="mail" id="mail" class="form-control" value="{{ .Mail }}" />
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-07-23 11:51:13 +00:00
|
|
|
<label for="othermailbox">ou mail de secours :</label>
|
2023-07-23 06:22:09 +00:00
|
|
|
<input type="text" name="othermailbox" id="othermailbox" class="form-control" value="{{ .OtherMailbox }}" />
|
2023-07-23 06:29:01 +00:00
|
|
|
</div>
|
2023-07-23 06:34:06 +00:00
|
|
|
<button type="submit" class="btn btn-primary">Refaire son mal de passe</button>
|
|
|
|
</form>
|
|
|
|
<script src="/static/javascript/minio.js"></script>
|
2023-07-23 06:29:01 +00:00
|
|
|
{{end}}
|