github.com/robryk/drone@v0.2.1-0.20140602202253-40fe4305815d/pkg/template/pages/login.html (about)

     1  {{ define "title" }}Login ยท drone.io{{ end }}
     2  
     3  {{ define "content" }}
     4  	<h1>Login</h1>
     5  	<div>
     6  		<input type="email" name="username" placeholder="Email address" autocomplete="off" spellcheck="false" class="form-control" />
     7  		<input type="password" name="password" placeholder="Password" class="form-control"  />
     8  	</div>
     9  	<div>
    10  		<input type="submit" value="Sign in" />
    11  	</div>
    12  	<div>
    13          {{ if .Settings.OpenInvitations }}
    14          <a href="/signup">request invitation</a> | <a href="/forgot">forgot password</a>
    15          {{ else }}
    16  		<a href="/forgot">forgot password</a>
    17  		{{ end }}
    18  	</div>
    19  {{ end }}
    20  
    21  {{ define "script" }}
    22  <script>
    23  	$(function() {
    24  		$("input").first().focus()
    25  	})
    26  </script>
    27  {{ end }}