add stub login page

This commit is contained in:
Seth Ladygo
2019-03-12 17:36:40 -07:00
parent 043b10c2d2
commit c543d64726
4 changed files with 50 additions and 1 deletions

22
templates/base.html Normal file
View File

@ -0,0 +1,22 @@
{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TITLE</title>
<link rel="stylesheet" href="{% static 'main.css' %}">
</head>
<body>
{% block navigation %}
<div class="container navigation">
NAV
</div>
{% endblock%}
{% block content %}
{% endblock %}
<script src="{% static 'app.js' %}"></script>
</body>
</html>

View File

@ -0,0 +1,12 @@
{% extends 'base.html' %}
{% block title %}Login{% endblock %}
{% block content %}
<h2>Login</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Login</button>
</form>
{% endblock %}