Spaces:
Sleeping
Sleeping
Create login.html
Browse files- templates/login.html +73 -0
templates/login.html
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="cs">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Přihlášení - Koala BETA</title>
|
7 |
+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
|
8 |
+
<style>
|
9 |
+
body {
|
10 |
+
background-color: hsl(var(--background));
|
11 |
+
color: hsl(var(--foreground));
|
12 |
+
}
|
13 |
+
.login-container {
|
14 |
+
max-width: 400px;
|
15 |
+
width: 90%;
|
16 |
+
padding: 2rem;
|
17 |
+
background-color: hsl(var(--card));
|
18 |
+
border: 1px solid hsl(var(--border));
|
19 |
+
border-radius: var(--radius);
|
20 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
21 |
+
}
|
22 |
+
.input-field {
|
23 |
+
width: 100%;
|
24 |
+
padding: 0.5rem 1rem;
|
25 |
+
margin-bottom: 1rem;
|
26 |
+
border: 1px solid hsl(var(--border));
|
27 |
+
border-radius: var(--radius);
|
28 |
+
background-color: hsl(var(--background));
|
29 |
+
color: hsl(var(--foreground));
|
30 |
+
}
|
31 |
+
.submit-button {
|
32 |
+
width: 100%;
|
33 |
+
padding: 0.5rem 1rem;
|
34 |
+
background-color: hsl(var(--primary));
|
35 |
+
color: hsl(var(--primary-foreground));
|
36 |
+
border-radius: var(--radius);
|
37 |
+
border: none;
|
38 |
+
cursor: pointer;
|
39 |
+
transition: background-color 0.2s;
|
40 |
+
}
|
41 |
+
.submit-button:hover {
|
42 |
+
background-color: hsl(var(--primary) / 0.9);
|
43 |
+
}
|
44 |
+
.error-message {
|
45 |
+
color: hsl(var(--destructive));
|
46 |
+
margin-bottom: 1rem;
|
47 |
+
text-align: center;
|
48 |
+
}
|
49 |
+
</style>
|
50 |
+
</head>
|
51 |
+
<body class="min-h-screen flex items-center justify-center" style="
|
52 |
+
background: #22252a;
|
53 |
+
">
|
54 |
+
<div class="login-container" style="
|
55 |
+
background: #272a30;
|
56 |
+
border-radius: 10px;
|
57 |
+
border-color: #2e3138;
|
58 |
+
--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
|
59 |
+
--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
|
60 |
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
61 |
+
color: white;
|
62 |
+
">
|
63 |
+
<h1 class="text-2xl font-bold text-center mb-6">Koala BETA</h1>
|
64 |
+
{% if error %}
|
65 |
+
<div class="error-message">{{ error }}</div>
|
66 |
+
{% endif %}
|
67 |
+
<form method="POST" action="{{ url_for('login') }}">
|
68 |
+
<input style=" background-color: #2e3138; border-radius: 10px; text-align: center; " type="password" name="password" placeholder="Zadejte heslo" class="input-field" required>
|
69 |
+
<button style=" background: #22252a; color: #cbcbcb; border-radius: 10px; text-transform: uppercase; font-weight: 600; font-size: 12px; letter-spacing: 1px; " type="submit" class="submit-button">Přihlásit se</button>
|
70 |
+
</form>
|
71 |
+
</div>
|
72 |
+
</body>
|
73 |
+
</html>
|