create sample login page
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<!-- Source for this example: https://dev.to/hmlon/creating-a-landing-page-in-django-20pg -->
|
||||
|
||||
<title>Lyux - Landing</title>
|
||||
<title>PyHub - Landing</title>
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'css/landing.css' %}">
|
||||
<link rel="shortcut icon" href="{% static 'img/logo.ico' %}"/>
|
||||
<meta name-="viewport" content="width=device-width, initial-scale=1">
|
||||
@@ -17,6 +17,7 @@
|
||||
<a href="/"><img id="logo" src="{% static 'img/logo.png' %}" alt="Logo"></a>
|
||||
</div>
|
||||
<div class="header-text">Sign in:</div>
|
||||
<a href="/login" class="header-link">PyHub</a>
|
||||
<a href="#" class="header-link">Github</a>
|
||||
<a href="#" class="header-link">Twitter</a>
|
||||
</header>
|
||||
@@ -24,7 +25,7 @@
|
||||
<section class="landing-section landing-bg">
|
||||
<div class="landing-section-content">
|
||||
<div class="landing-section-content-inner shade">
|
||||
<h1 class="brand">PyHub</h1>
|
||||
<h1 class="brand"><PyHub></h1>
|
||||
<!--
|
||||
<h2>
|
||||
<span class="brand-text">Land</span>ing
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
{% 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"><PyHub Login></h1>
|
||||
<form class="login-form" method="post" action="">
|
||||
<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>
|
||||
Reference in New Issue
Block a user