init
This commit is contained in:
commit
b15b95781c
108 changed files with 14802 additions and 0 deletions
38
web/templates/pages/login.gohtml
Normal file
38
web/templates/pages/login.gohtml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{{define "content"}}
|
||||
<section class="hero">
|
||||
<p class="eyebrow">{{.Eyebrow}}</p>
|
||||
<h1>{{.Heading}}</h1>
|
||||
<p class="lede">{{.Description}}</p>
|
||||
</section>
|
||||
|
||||
{{if .Login.Error}}
|
||||
<section class="alert-card alert-error">
|
||||
<p>{{.Login.Error}}</p>
|
||||
</section>
|
||||
{{end}}
|
||||
|
||||
{{if .Login.SetupHint}}
|
||||
<section class="alert-card">
|
||||
<p>{{.Login.SetupHint}}</p>
|
||||
</section>
|
||||
{{end}}
|
||||
|
||||
<section class="form-shell">
|
||||
<form class="stack-form" method="post" action="{{.Login.Action}}">
|
||||
{{template "csrf_field" .}}
|
||||
<input type="hidden" name="next" value="{{.Login.Next}}">
|
||||
|
||||
<label class="field">
|
||||
<span>Email</span>
|
||||
<input type="email" name="email" value="{{.Login.Email}}" autocomplete="username" required>
|
||||
</label>
|
||||
|
||||
<label class="field">
|
||||
<span>Password</span>
|
||||
<input type="password" name="password" autocomplete="current-password" required>
|
||||
</label>
|
||||
|
||||
<button class="button" type="submit">Log in</button>
|
||||
</form>
|
||||
</section>
|
||||
{{end}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue