Django-Learn/djlearn/pages/templates/registration/login.html

48 lines
1.8 KiB
HTML

{% load static %}
<!DOCTYPE html>
<html>
<head>
<title>PyHub - Login</title>
<link rel="stylesheet" type="text/css" href="{% static 'css/login.css' %}">
<link rel="shortcut icon" href="{% static 'img/logo.ico' %}"/>
<meta name-="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<header class="header shade">
<div>
<a href="/"><img id="logo" src="{% static 'img/logo.png' %}" alt="Logo"></a>
</div>
<div class="header-text"></div>
</header>
<section class="login-section login-bg">
<div class="login-section-content shade">
<h1 class="brand">&lt;PyHub Login&gt;</h1>
<form class="login-form" method="post" action="">
{% csrf_token %}
{{ form.as_p }}
<!--
<span><input class="login-input" type="text" name="login" value="" placeholder="Username or Email"></span>
<span><input class="login-input" type="password" name="password" value="" placeholder="Password"></span>
-->
<div class="spaced">
<span class="remember_me">
<label><input type="checkbox" name="remember_me" id="remember_me">Remember me</label>
</span>
<span class="submit"><input type="submit" name="commit" value="Login"></span>
</div>
</form>
<p>Forgot your password? <a href="#">Click here to reset</a>.</p>
</div>
</section>
<footer>
<div>
<p>made using Django ❤️</p>
</div>
</footer>
</body>
</html>