mapguesser/views/login/login.php

22 lines
1.1 KiB
PHP
Raw Normal View History

2020-06-28 19:32:30 +02:00
@extends(templates/layout_normal)
2020-06-28 19:32:30 +02:00
@section(main)
2020-06-09 02:01:41 +02:00
<h2>Login</h2>
<div class="box">
2023-04-16 17:40:49 +02:00
<form id="loginForm" action="/login" method="post" data-redirect-on-success="<?= $redirectUrl ?>">
<input type="email" class="text big fullWidth" name="email" placeholder="Email address" required autofocus>
<input type="password" class="text big fullWidth marginTop" name="password" placeholder="Password" required minlength="6">
<p id="loginFormError" class="formError justify marginTop"></p>
2020-06-09 02:01:41 +02:00
<div class="right marginTop">
<button type="submit">Login</button>
</div>
<p class="center marginTop"><a href="/password/requestReset" title="Request password reset">Forgot your password?</a></p>
<p class="center marginTop"><a href="/signup" title="Sign up">New to <?= $_ENV['APP_NAME'] ?>?</a></p>
<hr>
<div class="center">
<a class="button yellow" href="/login/google" title="Login with Google">Login with Google</a>
</div>
2020-06-09 02:01:41 +02:00
</form>
</div>
@endsection