2022-06-07 09:26:22 +00:00
|
|
|
|
{%- import 'util/helpers.html' as help -%}
|
2022-10-21 18:39:45 +00:00
|
|
|
|
{%- import 'html_head.html' as html_head with context -%}
|
2022-05-04 23:09:46 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
2022-10-21 18:39:45 +00:00
|
|
|
|
{{html_head.html_head(true, false, false, none, 'Login', '', '', false)}}
|
2022-05-04 23:09:46 +00:00
|
|
|
|
<body id="login">
|
|
|
|
|
|
|
|
|
|
<div class="container-fluid position-absolute h-100 p-0 overflow-auto">
|
2022-07-14 03:19:47 +00:00
|
|
|
|
<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">
|
|
|
|
|
<a href="/" class="text-decoration-none"><span class="h3 text-primary"></span></a>
|
|
|
|
|
</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 class="close" data-bs-dismiss="alert" aria-label="Close">
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
2022-07-14 03:19:47 +00:00
|
|
|
|
<form action="/login" method="post" class="mt-md-3" id="login">
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
2022-07-14 03:19:47 +00:00
|
|
|
|
<label for="username" class="mt-3">Username or Email Address</label>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
2022-07-14 03:19:47 +00:00
|
|
|
|
<input autocomplete="off" class="form-control" id="username" aria-describedby="usernameHelp"
|
|
|
|
|
type="text" name="username" required="">
|
|
|
|
|
<input type="hidden" name="redirect" value="{{redirect}}">
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
2022-07-14 03:19:47 +00:00
|
|
|
|
<label for="password" class="mt-3">Password</label>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
2022-07-14 03:19:47 +00:00
|
|
|
|
<input autocomplete="off" class="form-control" id="password" aria-describedby="passwordHelp"
|
|
|
|
|
type="password" name="password" required="">
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
|
|
|
|
|
2022-10-16 08:26:19 +00:00
|
|
|
|
<small class="d-block my-3"><a href="/forgot">Forgot password?</a></small>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
2022-07-14 03:19:47 +00:00
|
|
|
|
<button class="btn btn-primary login w-100 mt-3" id="login_button">Sign In</button>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
2022-07-14 03:19:47 +00:00
|
|
|
|
<div class="text-center text-muted text-small mt-5 mb-3">
|
2022-08-30 19:03:49 +00:00
|
|
|
|
Don't have an account? <a href="/signup{{'?redirect='+redirect if redirect else ''}}" class="font-weight-bold toggle-login">Sign up</a>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
</div>
|
2022-07-14 03:19:47 +00:00
|
|
|
|
</form>
|
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
2022-07-14 03:19:47 +00:00
|
|
|
|
{% endblock %}
|
2022-05-04 23:09:46 +00:00
|
|
|
|
</div>
|
2022-07-14 03:19:47 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
2022-07-14 03:19:47 +00:00
|
|
|
|
<div class="col-12 col-md-6 d-none d-md-block">
|
|
|
|
|
<div class="splash-wrapper">
|
|
|
|
|
<div class="splash-overlay"></div>
|
2022-09-24 07:14:20 +00:00
|
|
|
|
<img alt="cover" loading="lazy" class="splash-img" src="{{'cover.webp' | asset_siteimg}}"></img>
|
2022-07-14 03:19:47 +00:00
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
</div>
|
2022-07-14 03:19:47 +00:00
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>
|