2014-03-02 16:31:06 +09:00
|
|
|
{{template "base/head" .}}
|
|
|
|
{{template "base/navbar" .}}
|
|
|
|
<div class="container" id="gogs-body">
|
2014-03-04 09:03:08 +09:00
|
|
|
<form action="/user/login" method="post" class="form-horizontal gogs-card" id="gogs-login-card">
|
2014-03-03 21:35:44 +09:00
|
|
|
<h3>Log in</h3>{{if .Error}}
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-md-6 col-md-offset-3 alert alert-danger text-center"><strong>{{.Error}}</strong></div>
|
|
|
|
</div>{{end}}
|
2014-03-02 16:31:06 +09:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-4 control-label">Username or Email: </label>
|
|
|
|
<div class="col-md-6">
|
2014-03-03 21:35:44 +09:00
|
|
|
<input name="account" class="form-control" placeholder="Type your username or e-mail address" value="{{.Account}}" required="required">
|
2014-03-02 16:31:06 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-4 control-label">Password: </label>
|
|
|
|
<div class="col-md-6">
|
2014-03-03 21:35:44 +09:00
|
|
|
<input name="passwd" type="password" class="form-control" placeholder="Type your password" required="required">
|
2014-03-02 16:31:06 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-md-offset-4 col-md-6">
|
|
|
|
<button type="submit" class="btn btn-lg btn-primary">Log In</button>
|
|
|
|
<a href="/forget-password/">Forgot your password?</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-md-offset-4 col-md-6">
|
2014-03-04 09:03:08 +09:00
|
|
|
<a href="/user/sign_up">Need an account? Sign up free.</a>
|
2014-03-02 16:31:06 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group text-center" id="gogs-social-login">
|
|
|
|
<a class="btn btn-default btn-lg">Social Login</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|