diff options
author | 2019-10-06 14:26:43 +0100 | |
---|---|---|
committer | 2019-10-06 14:26:43 +0100 | |
commit | b437c261512c0753c738457804e4d4ac5f4bd8c9 (patch) | |
tree | f19a0fb63fd3f5022c4062fb8047139b9a8072c9 /pydis_site/templates/wiki/base.html | |
parent | Move messages to the top right (diff) |
Message styling (default to light for now)
Diffstat (limited to 'pydis_site/templates/wiki/base.html')
-rw-r--r-- | pydis_site/templates/wiki/base.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pydis_site/templates/wiki/base.html b/pydis_site/templates/wiki/base.html index da4d5de1..2f92d83b 100644 --- a/pydis_site/templates/wiki/base.html +++ b/pydis_site/templates/wiki/base.html @@ -15,6 +15,7 @@ <link rel="stylesheet" href="{% static "css/wiki/simplemde-fixes.css" %}"> <link rel="stylesheet" href="{% static "css/wiki/style.css" %}"> <link rel="stylesheet" href="{% static "css/pygments/darcula.css" %}"> + <link rel="stylesheet" href="{% static "css/base/notification.css" %}"> {% endblock %} {% block content %} @@ -24,6 +25,18 @@ {% block wiki_navbar %}{% endblock %} + {% if messages %} + <div class="messages"> + {% for message in messages %} + <div class="notification {% if message.tags %}is-{{ message.tags }}{% endif %}"> + <button class="delete"></button> + + {{ message }} + </div> + {% endfor %} + </div> + {% endif %} + {% block wiki_breadcrumbs %} {% include "wiki/includes/breadcrumbs.html" %} {% endblock %} |