2023-04-08 00:42:55 +02:00
|
|
|
@extends(templates/layout_normal)
|
|
|
|
|
|
|
|
@section(main)
|
|
|
|
<h2>Login</h2>
|
2023-05-01 19:18:48 +02:00
|
|
|
<div class="box compactBox">
|
2023-04-16 20:54:29 +02:00
|
|
|
<form id="loginForm" action="<?= Container::$routeCollection->getRoute('login-action')->generateLink() ?>" method="post" data-redirect-on-success="<?= $redirectUrl ?>">
|
2023-05-02 19:51:15 +02:00
|
|
|
<p class="formLabel">Email address / Username</p>
|
|
|
|
<input type="text" class="text big fullWidth" name="email" autocomplete="username" required autofocus>
|
|
|
|
<p class="formLabel marginTop">Password</p>
|
|
|
|
<input type="password" class="text big fullWidth" name="password" autocomplete="current-password" required minlength="6">
|
2023-04-08 00:42:55 +02:00
|
|
|
<p id="loginFormError" class="formError justify marginTop"></p>
|
|
|
|
<div class="right marginTop">
|
2023-05-06 21:42:43 +02:00
|
|
|
<button type="submit"><i class="fa-solid fa-arrow-right-to-bracket"></i> Login</button>
|
2023-04-08 00:42:55 +02:00
|
|
|
</div>
|
2023-05-02 00:02:38 +02:00
|
|
|
<p class="center marginTop"><a href="<?= Container::$routeCollection->getRoute('password.requestReset')->generateLink() ?>" title="Request password reset">Forgot your password?</a></p>
|
2023-04-08 00:42:55 +02:00
|
|
|
<hr>
|
|
|
|
<div class="center">
|
2023-05-06 21:42:43 +02:00
|
|
|
<a class="button yellow" href="<?= Container::$routeCollection->getRoute('login.google')->generateLink() ?>" title="Login with Google"><i class="fa-brands fa-google"></i> Login with Google</a>
|
2023-04-08 00:42:55 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
@endsection
|