aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki/base.html
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-10-06 14:26:43 +0100
committerGravatar Gareth Coles <[email protected]>2019-10-06 14:26:43 +0100
commitb437c261512c0753c738457804e4d4ac5f4bd8c9 (patch)
treef19a0fb63fd3f5022c4062fb8047139b9a8072c9 /pydis_site/templates/wiki/base.html
parentMove 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.html13
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 %}