Current user: {{ user.email }}
+ + {% else %} +Gebruik onderstaande knop om in te loggen.
+Als je geen inloggegevens hebt, meld je dan bij de beheerder van deze site.
+ + {% endif %} +diff --git a/playlist/static/img/login.png b/playlist/static/img/login.png new file mode 100644 index 0000000..9d69b7e Binary files /dev/null and b/playlist/static/img/login.png differ diff --git a/playlist/static/style.css b/playlist/static/style.css index f96cfcb..c3b484e 100644 --- a/playlist/static/style.css +++ b/playlist/static/style.css @@ -38,6 +38,11 @@ body { min-width: 300px; } +.window.popup.login { + width: 380px; + left: calc(50% - 190px); +} + .window.popup .window-body { display: flex; flex-flow: row nowrap; @@ -58,6 +63,11 @@ body { background-image: url('img/check.png'); } +.window.popup .window-body .icon.login { + background-image: url('img/login.png'); + background-attachment:unset; +} + .window.popup .window-body .icon.error { background-image: url('img/error.png'); } diff --git a/playlist/templates/Base.html b/playlist/templates/Base.html index 2eb6a6a..4ce0c6a 100644 --- a/playlist/templates/Base.html +++ b/playlist/templates/Base.html @@ -25,9 +25,6 @@
Current user: {{ user.email }}
- - {% else %} - Login - {% endif %} -{% endblock %} +{% load static %} + + + {% include "head.html" %} + + +Current user: {{ user.email }}
+ + {% else %} +Gebruik onderstaande knop om in te loggen.
+Als je geen inloggegevens hebt, meld je dan bij de beheerder van deze site.
+ + {% endif %} +