2021-07-28 00:42:08 +00:00
|
|
|
|
2021-07-28 01:11:25 +00:00
|
|
|
<!DOCTYPE html>
|
2021-07-21 01:12:26 +00:00
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2021-08-19 05:14:52 +00:00
|
|
|
<meta name="description" content="Sign in to {{'SITE_NAME' | app_config}}">
|
2021-07-21 01:12:26 +00:00
|
|
|
<meta name="author" content="">
|
|
|
|
|
|
|
|
{% block title %}
|
2021-08-19 05:14:52 +00:00
|
|
|
<title>Login - {{'SITE_NAME' | app_config}}</title>
|
2021-07-21 01:12:26 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
|
|
|
|
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
|
|
|
|
|
|
|
<!-- Font Awesome -->
|
|
|
|
<link href="/assets/style/fa.css" rel="stylesheet"> <!--load all styles -->
|
|
|
|
|
2021-08-23 10:22:52 +00:00
|
|
|
<script data-search-pseudo-elements defer src="https://use.fontawesome.com/releases/latest/js/general.js"
|
2021-07-21 01:12:26 +00:00
|
|
|
integrity="sha384-L469/ELG4Bg9sDQbl0hvjMq8pOcqFgkSpwhwnslzvVVGpDjYJ6wJJyYjvG3u8XW7"
|
|
|
|
crossorigin="anonymous"></script>
|
|
|
|
|
2021-08-19 05:14:52 +00:00
|
|
|
<!-- {{'SITE_NAME' | app_config}} CSS -->
|
2021-08-19 05:34:39 +00:00
|
|
|
<link rel="stylesheet" href="/assets/style/{{'DEFAULT_THEME' | app_config}}.css">
|
2021-07-21 01:12:26 +00:00
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body id="login">
|
|
|
|
|
|
|
|
<!-- Navigation -->
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-transparent fixed-top border-0">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<button class="navbar-toggler d-none" type="button" data-toggle="collapse" data-target="#navbarResponsive"
|
|
|
|
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<!-- Page Content -->
|
|
|
|
|
|
|
|
<div class="container-fluid position-absolute h-100 p-0 overflow-auto">
|
|
|
|
<div class="row no-gutters h-100">
|
|
|
|
|
|
|
|
<div class="col-12 col-md-6 my-auto p-3">
|
|
|
|
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
|
|
|
|
<div class="col-10 col-md-7">
|
|
|
|
|
|
|
|
<div class="mb-5">
|
2021-08-19 05:14:52 +00:00
|
|
|
<a href="/" class="text-decoration-none"><span class="h3 text-primary">{{'SITE_NAME' | app_config}}</span></a>
|
2021-07-21 01:12:26 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<div id="login-form" class="">
|
|
|
|
|
|
|
|
<h1 class="h2">Welcome back.</h1>
|
|
|
|
|
|
|
|
<p class="text-muted mb-md-5">Glad to have you back!</p>
|
|
|
|
|
|
|
|
{% if failed %}
|
|
|
|
<div class="alert alert-danger alert-dismissible fade show d-flex my-3" role="alert">
|
|
|
|
<i class="fas fa-exclamation-circle my-auto"></i>
|
|
|
|
<div>
|
|
|
|
Incorrect username, email address, or password.
|
|
|
|
<br>
|
|
|
|
<a href="/forgot" class="alert-link">Forgot password?</a>
|
|
|
|
</div>
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<form action="/login" method="post" class="mt-md-3" id="login">
|
|
|
|
|
|
|
|
<label for="username" class="mt-3">Username or Email Address</label>
|
|
|
|
|
|
|
|
<input class="form-control" id="username" aria-describedby="usernameHelp"
|
|
|
|
type="text" name="username" required="">
|
|
|
|
<input type="hidden" name="redirect" value="{{redirect}}">
|
|
|
|
|
|
|
|
<label for="password" class="mt-3">Password</label>
|
|
|
|
|
|
|
|
<input class="form-control" id="password" aria-describedby="passwordHelp"
|
|
|
|
type="password" name="password" required="">
|
|
|
|
|
|
|
|
|
|
|
|
<small><a href="/forgot">Forgot password?</a></small>
|
|
|
|
|
|
|
|
<button class="btn btn-primary login w-100 mt-3" id="login_button">Sign in</button>
|
|
|
|
|
|
|
|
<div class="text-center text-muted text-small mt-5 mb-3">
|
|
|
|
Don't have an account? <a href="/signup{{'?redirect='+redirect if redirect else ''}}" class="font-weight-bold toggle-login">Sign up</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-12 col-md-6 d-none d-md-block">
|
|
|
|
|
|
|
|
<div class="splash-wrapper">
|
|
|
|
|
|
|
|
<div class="splash-overlay"></div>
|
|
|
|
|
2021-08-20 05:52:52 +00:00
|
|
|
<img class="splash-img" src="/assets/images/{{'SITE_NAME' | app_config}}/cover.gif"></img>
|
2021-07-21 01:12:26 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% include "bootstrap.html" %}
|
|
|
|
|
2021-08-23 10:22:52 +00:00
|
|
|
<script src="/assets/js/general.js"></script>
|
2021-07-21 01:12:26 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
|
2021-08-22 17:00:07 +00:00
|
|
|
</html>
|