-
Notifications
You must be signed in to change notification settings - Fork 3
/
login.html
43 lines (36 loc) · 1.55 KB
/
login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/tailwindcss/dist/tailwind.min.css" rel="stylesheet">
<title>Login</title>
<style>.nunito{font-family: 'Nunito', sans-serif;}</style>
</head>
<body class="bg-grey-lighter h-screen nunito">
<div class="container mx-auto h-full flex justify-center items-center">
<div class="w-1/3">
<h1 class="font-hairline mb-6 text-center">Login to LudoLatin</h1>
<div class="border-teal p-8 border-t-12 bg-white mb-6 rounded-lg shadow-lg">
<form method="post">
{% from 'auth/_form_fields.html' import email, password, submit %}
{{ form.hidden_tag() }}
{{ email(form, type="text") }}
{{ password(form) }}
<div class="flex items-center justify-between">
{{ submit(form) }}
<a class="no-underline inline-block align-baseline text-sm text-blue hover:text-blue-dark float-right" href="{{ url_for('auth.reset_password_request') }}">
Forgot Password?
</a>
</div>
</form>
</div>
<div class="text-center">
<p class="text-grey-dark text-sm">Don't have an account? <a href="{{ url_for('auth.register') }}" class="no-underline text-blue">Create an Account</a>.</p>
</div>
</div>
</div>
</body>
</html>