aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/registration/base.html19
-rw-r--r--templates/registration/login.html12
2 files changed, 31 insertions, 0 deletions
diff --git a/templates/registration/base.html b/templates/registration/base.html
new file mode 100644
index 0000000..51dad17
--- /dev/null
+++ b/templates/registration/base.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+ <meta charset="utf-8">
+ <title>{% block title %}Scout Brega{% endblock %}</title>
+</head>
+<body>
+ {% block nav %}
+ {% endblock %}
+ <main style="margin-left: 10px;margin-right: 10px;margin-top: 10px;">
+ {% block content %}
+ {% endblock %}
+ </main>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
+</body>
+</html> \ No newline at end of file
diff --git a/templates/registration/login.html b/templates/registration/login.html
new file mode 100644
index 0000000..71880b3
--- /dev/null
+++ b/templates/registration/login.html
@@ -0,0 +1,12 @@
+{% extends 'registration/base.html' %}
+
+{% block title %}Login{% endblock %}
+
+{% block content %}
+<h2>Login</h2>
+<form method="post">
+ {% csrf_token %}
+ {{ form.as_p }}
+ <button class="btn waves-effect waves-light" type="submit">Login</button>
+</form>
+{% endblock %} \ No newline at end of file