diff options
Diffstat (limited to '')
-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 |