gvguichet/templates/login.html

30 lines
883 B
HTML
Raw Normal View History

2020-02-09 16:46:26 +01:00
{{define "title"}}{{end}}
2020-02-09 15:44:18 +01:00
{{define "body"}}
2020-02-09 17:45:22 +01:00
<h4>S'identifier</h4>
2020-02-09 15:44:18 +01:00
<form method="POST">
2020-02-09 16:46:26 +01: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">
<label for="username">Nom d'utilisateur:</label>
<input type="text" name="username" id="username" class="form-control" value="{{ .Username }}" />
</div>
<div class="form-group">
<label for="password">Mot de passe:</label>
<input type="password" name="password" id="password" class="form-control" />
</div>
<button type="submit" class="btn btn-primary">Se connecter</button>
2020-02-09 15:44:18 +01:00
</form>
2020-02-10 09:44:18 +01:00
<hr class="mt-4" />
<p><strong>Mot de passe oublié ?</strong>
Écrivez à <code>coucou at deuxfleurs point fr</code>
ou contactez directement votre administrateur favori.</p>
2020-02-09 15:44:18 +01:00
{{end}}