2020-02-20 16:28:55 +03:00
|
|
|
<html>
|
|
|
|
|
2020-05-24 11:37:31 +03:00
|
|
|
{{ template "head.tpl.html" . }}
|
2020-02-20 16:28:55 +03:00
|
|
|
|
2020-03-31 11:47:22 +03:00
|
|
|
<body class="bg-gray-800 text-gray-700 p-4 pt-10 flex flex-col min-h-screen max-w-screen-xl mx-auto justify-center">
|
2020-05-24 14:41:19 +03:00
|
|
|
<div class="flex items-center justify-center">
|
|
|
|
<h1 class="font-semibold text-2xl text-white m-0 border-b-4 border-green-700">Login</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ template "alerts.tpl.html" . }}
|
|
|
|
|
|
|
|
<main class="mt-10 flex-grow flex justify-center w-full" id="grid-container">
|
|
|
|
<div class="flex-grow max-w-lg mt-12">
|
2020-05-24 17:55:44 +03:00
|
|
|
<form action="login" method="post">
|
2020-05-24 14:41:19 +03:00
|
|
|
<div class="mb-8">
|
|
|
|
<label class="inline-block text-sm mb-1 text-gray-500" for="username">Username</label>
|
2020-05-24 17:34:32 +03:00
|
|
|
<input class="shadow appearance-none bg-gray-800 focus:bg-gray-700 text-gray-300 border-green-700 focus:border-gray-500 border rounded w-full py-1 px-3"
|
|
|
|
type="text" id="username"
|
|
|
|
name="username" placeholder="Enter your username" required>
|
2020-02-20 17:39:56 +03:00
|
|
|
</div>
|
2020-05-24 14:41:19 +03:00
|
|
|
<div class="mb-8">
|
|
|
|
<label class="inline-block text-sm mb-1 text-gray-500" for="password">Password</label>
|
2020-05-24 17:34:32 +03:00
|
|
|
<input class="shadow appearance-none bg-gray-800 focus:bg-gray-700 text-gray-300 border-green-700 focus:border-gray-500 border rounded w-full py-1 px-3"
|
|
|
|
type="password" id="password"
|
2020-05-24 14:41:19 +03:00
|
|
|
name="password" placeholder="******" required>
|
2020-02-20 17:39:56 +03:00
|
|
|
</div>
|
2020-05-24 14:41:19 +03:00
|
|
|
<div class="flex justify-between">
|
2020-05-24 17:55:44 +03:00
|
|
|
<a href="signup">
|
2020-05-24 17:34:32 +03:00
|
|
|
<button type="button" class="py-1 px-3 rounded border border-green-700 text-white text-sm">Sign up</button>
|
|
|
|
</a>
|
2020-05-24 14:41:19 +03:00
|
|
|
<button type="submit" class="py-1 px-3 rounded bg-green-700 hover:bg-green-800 text-white text-sm">Log in</button>
|
2020-02-20 17:39:56 +03:00
|
|
|
</div>
|
2020-05-24 14:41:19 +03:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</main>
|
2020-02-20 16:28:55 +03:00
|
|
|
|
2020-05-24 14:41:19 +03:00
|
|
|
{{ template "footer.tpl.html" . }}
|
2020-02-20 16:28:55 +03:00
|
|
|
|
2020-05-24 14:41:19 +03:00
|
|
|
{{ template "foot.tpl.html" . }}
|
2020-02-20 16:28:55 +03:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|