summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-02-27 15:22:43 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-02-27 15:22:43 +0800
commitcd2367d5176514a0c7c134b3c03aa1cd199f5ba3 (patch)
tree758f4d42ef22052224056b97c5dc26cf43748ffc
parenta8fd0531d4f795374373e13e63245ec4c58075e7 (diff)
Color instead of border for UI line separationHEADmain
-rw-r--r--jimbrella/static/jimbrella.css4
-rw-r--r--jimbrella/templates/admin/admin_logs.html10
2 files changed, 5 insertions, 9 deletions
diff --git a/jimbrella/static/jimbrella.css b/jimbrella/static/jimbrella.css
index 9a06502..9c5bb2f 100644
--- a/jimbrella/static/jimbrella.css
+++ b/jimbrella/static/jimbrella.css
@@ -52,10 +52,6 @@ table.data {
margin: 1em;
}
-.top-border td {
- border-top: 1px solid;
-}
-
td {
padding: 1em;
}
diff --git a/jimbrella/templates/admin/admin_logs.html b/jimbrella/templates/admin/admin_logs.html
index 2706e2d..f2f201a 100644
--- a/jimbrella/templates/admin/admin_logs.html
+++ b/jimbrella/templates/admin/admin_logs.html
@@ -26,16 +26,16 @@
</thead>
<tbody>
{% for log in logs %}
- <tr class="top-border">
- <td rowspan=2>{{ log.date }}</td>
- <td rowspan=2>{{ log.actor }}</td>
- <td rowspan=2>{{ log.id }}</td>
+ <tr>
+ <td class="yellow" rowspan=2>{{ log.date }}</td>
+ <td class="yellow" rowspan=2>{{ log.actor }}</td>
+ <td class="yellow" rowspan=2>{{ log.id }}</td>
<td class="red grey"><s>{{ log.status_a }}</s></td>
<td class="red"><s>{{ log.tenant_name_a }}</s></td>
<td class="red"><s>{{ log.tenant_id_a }}</s></td>
<td class="red"><s>{{ log.tenant_phone_a }}</s></td>
<td class="red"><s>{{ log.lent_at_a }}</s></td>
- <td rowspan=2>{{ log.note }}</td>
+ <td class="yellow" rowspan=2>{{ log.note }}</td>
</tr>
<tr>
<td class="green"><b>{{ log.status_b }}</b></td>