You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.5 KiB
HTML

{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Osina</title>
<link rel="stylesheet" type="text/css" href='{% static "dist/output.css" %}'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>
<body class="bg-gray-100">
<div class="w-full flex flex-col justify-center items-center">
<div class="w-full flex justify-center items-center mt-[5%]">
<h1 class="text-[50px] text-slate-800 font-semibold">OSINA</h1>
</div>
<div class="w-[90%] s:w-[500px] h-fit rounded-md bg-white shadow-lg mt-5 flex flex-col items-center pt-3 pb-5 px-3">
<h1 class="text-blue-500 text-[25px] text-center font-light mt-2">Login To Dashboard</h1>
<form class="w-full mt-5" method="post" action="{% url 'signin' %}">
{% csrf_token %}
<input type="text" name="username" placeholder="Username" class="w-full bg-transparent border border-gray-300 rounded-md py-2 px-3 outline-none">
<input type="password" name="password" placeholder="Password" class="w-full bg-transparent border border-gray-300 rounded-md py-2 px-3 outline-none mt-4">
{% if form.non_field_errors %}
<ul class="messages">
<li style="text-align: center; color:red; margin-top:20px;">{{ form.non_field_errors }}</li>
</ul>
{% endif %}
<div class="w-full flex justify-start items-center gap-1 mt-5">
<input type="checkbox" checked>
<p class="text-base text-gray-400 font-light">Keep me logged in</p>
</div>
<div class="w-full flex justify-center items-center mt-5">
<button type="submit" class="w-full h-[45px] bg-blue-500 border border-blue-500 text-white text-base s:text-xl rounded-md font-medium hover:bg-white hover:text-blue-500 duration-300">LOGIN</button>
</div>
<div class="mt-3 w-full flex justify-center items-center">
<p class="text-base text-gray-400 font-light cursor-pointer">Forgot Password?</p>
</div>
</form>
</div>
</div>
</body>
</html>