4b412d3a26
minor styling. added success and fail message to top of /signup screen modified open_registration to boolean value in database
22 lines
No EOL
619 B
HTML
22 lines
No EOL
619 B
HTML
{{ define "title" }}Login · drone.io{{ end }}
|
|
|
|
{{ define "content" }}
|
|
<h1>Login</h1>
|
|
<div>
|
|
<input type="text" name="username" placeholder="Email address" autocomplete="off" spellcheck="false" class="form-control" />
|
|
<input type="password" name="password" placeholder="Password" class="form-control" />
|
|
</div>
|
|
<div>
|
|
<input type="submit" value="Sign in" />
|
|
</div>
|
|
<div>
|
|
{{ if .Settings }}
|
|
<a href="/signup">request invitation</a> | <a href="/forgot">forgot password</a>
|
|
{{ else }}
|
|
<a href="/forgot">forgot password</a>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
{{ define "script" }}
|
|
{{ end }} |