2014-02-07 10:10:01 +00:00
|
|
|
{{ define "title" }}Login · drone.io{{ end }}
|
|
|
|
|
|
|
|
{{ define "content" }}
|
|
|
|
<h1>Login</h1>
|
|
|
|
<div>
|
2014-04-11 21:00:30 +00:00
|
|
|
<input type="email" name="username" placeholder="Email address" autocomplete="off" spellcheck="false" class="form-control" />
|
2014-02-07 10:10:01 +00:00
|
|
|
<input type="password" name="password" placeholder="Password" class="form-control" />
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<input type="submit" value="Sign in" />
|
|
|
|
</div>
|
|
|
|
<div>
|
2014-02-17 19:40:03 +00:00
|
|
|
{{ if .Settings.OpenInvitations }}
|
2014-02-16 01:56:48 +00:00
|
|
|
<a href="/signup">request invitation</a> | <a href="/forgot">forgot password</a>
|
|
|
|
{{ else }}
|
2014-02-07 10:10:01 +00:00
|
|
|
<a href="/forgot">forgot password</a>
|
2014-02-16 01:56:48 +00:00
|
|
|
{{ end }}
|
2014-02-07 10:10:01 +00:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "script" }}
|
2014-03-06 12:35:57 +00:00
|
|
|
<script>
|
|
|
|
$(function() {
|
|
|
|
$("input").first().focus()
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
{{ end }}
|