This commit is contained in:
Pierre-Olivier Mercier
2018-12-30 12:52:34 +01:00
parent 1a8301657c
commit 1d3ad672cb
29 changed files with 67 additions and 11361 deletions

View File

@@ -1,25 +1,12 @@
{{template "header"}}
<form method="post" action="lost">
<md-card-title>
<md-card-title-text style="text-align:center">
<span class="md-headline">Forgot your password?</span>
<span class="md-subhead">We'll send you a link by e-mail to reset it!</span>
</md-card-title-text>
</md-card-title>
<h1 class="display-4">Forgot your password? <small class="text-muted">We'll send you a link by e-mail to reset it!</small></h1>
<md-card-content layout="column" class="layout-column">
{{if .error}}<div class="q-error" aria-hidden="true">{{.error}}</div>{{end}}
<div>
<md-input-container class="md-block">
<input name="login" required="" class="md-input" id="input_0" type="text" placeholder="Email" autofocus><div class="md-errors-spacer"></div>
</md-input-container>
</div>
</md-card-content>
<md-card-actions layout="column" class="layout-column">
<button class="md-primary md-raised md-button md-ink-ripple" type="submit">Reset my password</button>
<div class="q-forgot">
<a href="/change">Just want to change your password?</a>
</div>
</md-card-actions>
</form>
<form method="post" action="lost">
{{if .error}}<div class="alert alert-danger" role="alert">{{.error}}</div>{{end}}
<div class="form-group">
<input name="login" required="" class="form-control" id="input_0" type="text" placeholder="Login" autofocus>
</div>
<button class="btn btn-primary" type="submit">Reset my password</button>
<a href="/change" class="btn btn-outline-success">Just want to change your password?</a>
</form>
{{template "footer"}}