diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2022-01-05 11:21:39 +0100 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2022-01-05 11:21:53 +0100 |
commit | 36ae891283213008924630aecbcaba682f65cf6c (patch) | |
tree | a959895965188fda91603c6e32fb4994bdf7ad82 /templates/registration | |
parent | logout user if token expired + set password page (diff) | |
download | scout-subs-36ae891283213008924630aecbcaba682f65cf6c.tar.gz scout-subs-36ae891283213008924630aecbcaba682f65cf6c.zip |
edit password working
Diffstat (limited to 'templates/registration')
-rw-r--r-- | templates/registration/base_simple.html | 2 | ||||
-rw-r--r-- | templates/registration/login.html | 24 |
2 files changed, 25 insertions, 1 deletions
diff --git a/templates/registration/base_simple.html b/templates/registration/base_simple.html index 667a62e..dc36f06 100644 --- a/templates/registration/base_simple.html +++ b/templates/registration/base_simple.html @@ -83,6 +83,8 @@ {% block content %} {% endblock %} </main> + {% block footer %} + {% endblock %} <script type="text/javascript" src="{% static 'materialize.min.js' %}"></script> <script type="text/javascript"> {% block script %} diff --git a/templates/registration/login.html b/templates/registration/login.html index cfa4a2b..cee57d6 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -1,10 +1,21 @@ {% extends 'registration/base_simple.html' %} {% load static %} +{% block style %} + body { + display: flex; + min-height: 100vh; + flex-direction: column; + } + + main { + flex: 1 0 auto; + } +{% endblock %} {% block title %}Login{% endblock %} {% block content %} - <div class="row"> + <div style="margin-top: 50px" class="row"> <div class="col l4 offset-l4 m8 offset-m2 s12"> <div class="card"> <div class="card-content"> @@ -43,4 +54,15 @@ </div> </div> </div> +{% endblock %} +{% block footer %} + <footer class="page-footer {{color}}"> + <div class="container"> + </div> + <div class="footer-copyright"> + <div class="container"> + <a class="grey-text text-lighten-4 right" href="{% url 'about' %}">© 2020-22 Andrea Lepori</a> + </div> + </div> + </footer> {% endblock %}
\ No newline at end of file |