From b1ffd5220866dc9479fa284dfb2f0a0e111a6031 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Tue, 20 Sep 2022 17:58:27 -0400 Subject: auth --- app/templates/base.html | 36 ++++++++++++++++++++++++++++++++++++ app/templates/index.html | 5 +++++ app/templates/login.html | 14 ++++++++++++++ app/templates/register.html | 5 +++++ 4 files changed, 60 insertions(+) create mode 100644 app/templates/base.html create mode 100644 app/templates/index.html create mode 100644 app/templates/login.html create mode 100644 app/templates/register.html (limited to 'app/templates') diff --git a/app/templates/base.html b/app/templates/base.html new file mode 100644 index 0000000..d905156 --- /dev/null +++ b/app/templates/base.html @@ -0,0 +1,36 @@ + + + + + nccd + {% assets "scss" %} + + {% endassets %} + + + + +
+ + {% with messages = get_flashed_messages() %} + {% if messages %} + + {% endif %} + {% endwith %} + + {% block content %} + + Whoops! This page is still being worked on. + + {% endblock %} +
+ + diff --git a/app/templates/index.html b/app/templates/index.html new file mode 100644 index 0000000..3c69e80 --- /dev/null +++ b/app/templates/index.html @@ -0,0 +1,5 @@ +{% extends "base.html" %} + +{% block content %} + +{% endblock %} diff --git a/app/templates/login.html b/app/templates/login.html new file mode 100644 index 0000000..21ce281 --- /dev/null +++ b/app/templates/login.html @@ -0,0 +1,14 @@ +{% extends 'base.html' %} + +{% block content %} +
+ {{ form.csrf_token }} +
+ {{form.username.label }}{{form.username}} +
+
+ {{form.password.label}}{{form.password}} +
+ {{form.submit}} +
+{% endblock %} diff --git a/app/templates/register.html b/app/templates/register.html new file mode 100644 index 0000000..56d9855 --- /dev/null +++ b/app/templates/register.html @@ -0,0 +1,5 @@ +{% extends 'base.html' %} + +{% block content %} + +{% endblock %} -- cgit v1.2.3