summaryrefslogtreecommitdiff
path: root/jimbrella
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-10-27 11:28:52 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-10-27 11:28:52 +0800
commit00e4e6ecc80f8e3654bd176ec7067ab35b55d6f6 (patch)
tree76f3e575658f24a2a22aaf107ca1de81804b0a3d /jimbrella
parent3fdc1d0b91cf4be7768e940cf930e74005768177 (diff)
Frontend: admin/umbrellas error message
Diffstat (limited to 'jimbrella')
-rw-r--r--jimbrella/static/blue_tiger.jpgbin0 -> 343703 bytes
-rw-r--r--jimbrella/static/jimbrella.css4
-rw-r--r--jimbrella/templates/admin/umbrellas.html5
3 files changed, 9 insertions, 0 deletions
diff --git a/jimbrella/static/blue_tiger.jpg b/jimbrella/static/blue_tiger.jpg
new file mode 100644
index 0000000..1594367
--- /dev/null
+++ b/jimbrella/static/blue_tiger.jpg
Binary files differ
diff --git a/jimbrella/static/jimbrella.css b/jimbrella/static/jimbrella.css
index 58a32a8..8f694d4 100644
--- a/jimbrella/static/jimbrella.css
+++ b/jimbrella/static/jimbrella.css
@@ -60,6 +60,10 @@ input.db-edit {
max-width: 10em;
}
+.error {
+ background-color: #e89d9d;
+}
+
.overdue {
background-color: #e99fd3;
}
diff --git a/jimbrella/templates/admin/umbrellas.html b/jimbrella/templates/admin/umbrellas.html
index 09b329a..500a386 100644
--- a/jimbrella/templates/admin/umbrellas.html
+++ b/jimbrella/templates/admin/umbrellas.html
@@ -23,6 +23,11 @@
<h1>All Umbrellas</h1>
<div id="container">
{% include "admin/tabs.html" %}
+ {% if error %}
+ <div class="banner-container">
+ <div class="banner error">{{ error }}</div>
+ </div>
+ {% endif %}
{% block table %}{% endblock %}
</div>
</body>