add /login and /sign-up link for user signing fix typo errortokarchuk/v1.17
parent
9c3a8ff299
commit
ffcfd428b8
@ -1,6 +1,6 @@ |
||||
{{template "base/head" .}} |
||||
{{template "base/navbar" .}} |
||||
<div class="container"> |
||||
<div id="gogs-body" class="container"> |
||||
Website is still in the progress of building...please come back later! |
||||
</div> |
||||
{{template "base/footer" .}} |
@ -0,0 +1,34 @@ |
||||
{{template "base/head" .}} |
||||
{{template "base/navbar" .}} |
||||
<div class="container" id="gogs-body"> |
||||
<form action="/user/signup" method="post" class="form-horizontal" id="gogs-login-card"> |
||||
<h3>Log in</h3> |
||||
<div class="form-group"> |
||||
<label class="col-md-4 control-label">Username or Email: </label> |
||||
<div class="col-md-6"> |
||||
<input name="account" class="form-control" placeholder="Type your username or e-mail address"> |
||||
</div> |
||||
</div> |
||||
<div class="form-group"> |
||||
<label class="col-md-4 control-label">Password: </label> |
||||
<div class="col-md-6"> |
||||
<input name="passwd" type="password" class="form-control" placeholder="Type your password"> |
||||
</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"> |
||||
<a href="/sign-up/">Need an account? Sign up free.</a> |
||||
</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" .}} |
@ -1,43 +1,44 @@ |
||||
{{template "base/head" .}} |
||||
{{template "base/navbar" .}} |
||||
<div class="container"> |
||||
<form action="/user/signup" method="post" class="form-horizontal"> |
||||
<div class="container" id="gogs-body"> |
||||
<form action="/user/signup" method="post" class="form-horizontal" id="gogs-login-card"> |
||||
<h3>Sign Up</h3> |
||||
<div class="form-group"> |
||||
<label class="col-md-4 control-label">Username: </label> |
||||
<div class="col-md-3"> |
||||
<div class="col-md-6"> |
||||
<input name="username" class="form-control" placeholder="Type your username"> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="form-group"> |
||||
<label class="col-md-4 control-label">Email: </label> |
||||
<div class="col-md-3"> |
||||
<div class="col-md-6"> |
||||
<input name="email" class="form-control" placeholder="Type your e-mail address"> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="form-group"> |
||||
<label class="col-md-4 control-label">Password: </label> |
||||
<div class="col-md-3"> |
||||
<div class="col-md-6"> |
||||
<input name="passwd" type="password" class="form-control" placeholder="Type your password"> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="form-group"> |
||||
<label class="col-md-4 control-label">Re-type: </label> |
||||
<div class="col-md-3"> |
||||
<div class="col-md-6"> |
||||
<input type="password" class="form-control" placeholder="Re-type your password"> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="form-group"> |
||||
<div class="col-md-offset-4 col-md-3"> |
||||
<button type="submit" class="btn btn-info">Sign Up</button> |
||||
<div class="col-md-offset-4 col-md-6"> |
||||
<button type="submit" class="btn btn-lg btn-primary">Create an account</button> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="col-md-offset-4 col-md-3"> |
||||
<a href="/user/signin">Already have an account? Sign in now!</a> |
||||
<div class="form-group"> |
||||
<div class="col-md-offset-4 col-md-6"> |
||||
<a href="/sign-up">Already have an account? Sign in now!</a> |
||||
</div> |
||||
</div> |
||||
</form> |
||||
</div> |
||||
|
Loading…
Reference in new issue