From 00e4e6ecc80f8e3654bd176ec7067ab35b55d6f6 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 27 Oct 2021 11:28:52 +0800 Subject: Frontend: admin/umbrellas error message --- jimbrella/static/blue_tiger.jpg | Bin 0 -> 343703 bytes jimbrella/static/jimbrella.css | 4 ++++ jimbrella/templates/admin/umbrellas.html | 5 +++++ 3 files changed, 9 insertions(+) create mode 100644 jimbrella/static/blue_tiger.jpg diff --git a/jimbrella/static/blue_tiger.jpg b/jimbrella/static/blue_tiger.jpg new file mode 100644 index 0000000..1594367 Binary files /dev/null and b/jimbrella/static/blue_tiger.jpg 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 @@

All Umbrellas

{% include "admin/tabs.html" %} + {% if error %} + + {% endif %} {% block table %}{% endblock %}
-- cgit v1.2.3