-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add login screen, redirect when unauthorized
- Loading branch information
Showing
6 changed files
with
116 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<%inherit file="base.mako" /> | ||
|
||
|
||
<!-- Page Content --> | ||
<div id="page-wrapper"> | ||
<div id="login-page"> | ||
<div id="login-card"> | ||
<h4 class=" w-100 font-weight-bold">Log in</h4> | ||
<form method="POST" id="loginForm"> | ||
<div class="mx-3"> | ||
<!-- Field to show if the username or password is wrong --> | ||
<p class="text-danger" id="loginErrorField"> </p> | ||
<div class="md-form mb-2"> | ||
<label data-error="wrong" data-success="right" for="username"> | ||
Username | ||
</label> | ||
<input type="text" id="username" name="username" class="form-control"> | ||
</div> | ||
<div class="md-form mb-2"> | ||
<label data-error="wrong" data-success="right" for="password"> | ||
Password | ||
</label> | ||
<input type="password" id="password" name="password" class="form-control"> | ||
</div> | ||
|
||
</div> | ||
<div class="d-flex justify-content-center"> | ||
<button class="btn btn-primary pull-right">Login</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> |