summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2021-10-28 23:37:45 +0800
committerFrederick Yin <fkfd@fkfd.me>2021-10-28 23:37:45 +0800
commit2c6f41f6f27c88fb26f0c54f14156ac9c7466f0f (patch)
tree7c741cef271903f9268ee0059884f96993630f1f
parentf6f23314955e13015db7f3e80b48d0fd2458990d (diff)
Stylize /admin/logs
-rw-r--r--jimbrella/static/jimbrella.css8
-rw-r--r--jimbrella/templates/admin/logs.html2
2 files changed, 7 insertions, 3 deletions
diff --git a/jimbrella/static/jimbrella.css b/jimbrella/static/jimbrella.css
index 1407253..8c39ba4 100644
--- a/jimbrella/static/jimbrella.css
+++ b/jimbrella/static/jimbrella.css
@@ -68,14 +68,18 @@ input.db-edit {
background-color: #e99fd3;
}
-.lent, .blue {
+.lent, .takeaway, .blue {
background-color: #9fd3e9;
}
-.available, .green {
+.available, .giveback, .green {
background-color: #d3e99f;
}
+.admin_modify_db, .yellow {
+ background-color: #;
+}
+
.proportion {
display: inline;
}
diff --git a/jimbrella/templates/admin/logs.html b/jimbrella/templates/admin/logs.html
index 6f0ed71..2d3bcb5 100644
--- a/jimbrella/templates/admin/logs.html
+++ b/jimbrella/templates/admin/logs.html
@@ -20,7 +20,7 @@
</thead>
<tbody>
{% for log in logs %}
- <tr class="{{ log.event }}">
+ <tr class="{{ log.event|lower }}">
<td>{{ log.date_str }}</td>
<td>{{ log.description }}</td>
<td>{{ log.note }}</td>