harness-drone/pkg/template/pages/login.html
Brad Rydzewski 4b412d3a26 added code to prevent panic if /login is reached but no settings exist
minor styling. added success and fail message to top of /signup screen
modified open_registration to boolean value in database
2014-02-15 18:56:48 -07:00

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 }}