-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (63 loc) · 2.14 KB
/
Copy pathindex.html
File metadata and controls
66 lines (63 loc) · 2.14 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tasks management</title>
<script src="https://cdn.tailwindcss.com"></script>
<style type="text/tailwindcss">
@layer utilities {
* {
min-width: 0;
box-sizing: border-box;
}
body {
background-image: url("./images/background.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
display: flex;
flex-direction: column;
gap: 16px;
width: 100vw;
height: 100vh;
justify-content: center;
align-items: center;
}
.content-auto {
content-visibility: auto;
}
#login-container,
.item-container {
width: calc(100% - 24px);
max-width: 500px;
}
}
</style>
</head>
<body class="hidden">
<h1 class="text-3xl font-bold">Kyçu</h1>
<div id="login-container"
class="p-4 max-h-sm overflow-y-auto bg-white rounded-xl flex flex-col justify-start content-center relative shadow-xl gap-2">
<form method="post" class="flex flex-col w-full gap-4 rounded-lg" onsubmit="event.preventDefault(); login()">
<input id="login-username" minlength="4" maxlength="32" type="text" class="bg-white border p-2 rounded-md !ring-0"
placeholder="Username" required />
<input id="login-password" minlength="7" maxlength="32" type="password"
class="bg-white border p-2 rounded-md !ring-0" placeholder="Fjalëkalimi" required />
<button
class="w-full px-4 bg-black hover:bg-gray-800 text-white py-2 font-semibold rounded-lg transition duration-150"
type="submit">
Kyçu
</button>
</form>
<p id="login-error" class="text-red-500 text-center"></p>
<div class="w-full flex flex-col items-center">
<p>Nuk keni një llogari?</p>
<a class="font-semibold text-blue-500 underline" href="/register.html">
Rregjistrohu
</a>
</div>
</div>
<script src="js/index.js"></script>
</body>
</html>