server/configs/dex-templates/templates/password.html

38 lines
1.2 KiB
HTML
Raw Normal View History

2021-09-05 10:39:36 +00:00
{{ template "header.html" . }}
<div class="theme-panel">
<h2 class="theme-heading">
Bienvenue au challenge Forensic&nbsp;!
</h2>
<form method="post" action="{{ .PostURL }}">
<div class="theme-form-row">
<div class="theme-form-label">
<label for="userid">Votre équipe</label>
</div>
<input tabindex="1" required id="login" name="login" class="theme-form-input" placeholder="votre équipe" autofocus />
2021-09-05 10:39:36 +00:00
</div>
<div class="theme-form-row">
<div class="theme-form-label">
<label for="password">Mot de passe</label>
</div>
<input tabindex="2" required id="password" name="password" type="password" class="theme-form-input" placeholder="mot de passe" {{ if .Invalid }} autofocus {{ end }}/>
</div>
{{ if .Invalid }}
<div id="login-error" class="dex-error-box">
Identifiants incorrects.
</div>
{{ end }}
<button tabindex="3" id="submit-login" type="submit" class="dex-btn theme-btn--primary">C'est parti&nbsp;!</button>
</form>
{{ if .BackLink }}
<div class="theme-link-back">
<a class="dex-subtle-text" href="{{ .BackLink }}">Sélectionner une autre méthode d'authentification.</a>
</div>
{{ end }}
</div>
{{ template "footer.html" . }}