summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jimbrella/static/jimbrella.css4
-rw-r--r--jimbrella/templates/admin/admin_logs.html7
-rw-r--r--jimbrella/templates/admin/tabs.html1
3 files changed, 9 insertions, 3 deletions
diff --git a/jimbrella/static/jimbrella.css b/jimbrella/static/jimbrella.css
index 2c6987b..57d7c80 100644
--- a/jimbrella/static/jimbrella.css
+++ b/jimbrella/static/jimbrella.css
@@ -52,6 +52,10 @@ 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 8d31e88..98eb7fc 100644
--- a/jimbrella/templates/admin/admin_logs.html
+++ b/jimbrella/templates/admin/admin_logs.html
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html>
<head>
- <title>JI Umbrella</title>
+ <title>Admin Logs - JI Umbrella</title>
<link rel="stylesheet" href="/static/jimbrella.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
- <h1>JI Umbrella Logs</h1>
+ <h1>Admin Logs</h1>
<div id="container">
{% include "admin/tabs.html" %}
<div class="data-table-container">
@@ -23,9 +23,10 @@
<td>Lent at</td>
<td>Note</td>
</tr>
+ </thead>
<tbody>
{% for log in logs %}
- <tr>
+ <tr class="top-border">
<td rowspan=2>{{ log.date }}</td>
<td rowspan=2>{{ log.actor }}</td>
<td rowspan=2>{{ log.id }}</td>
diff --git a/jimbrella/templates/admin/tabs.html b/jimbrella/templates/admin/tabs.html
index 98923f5..0bb433b 100644
--- a/jimbrella/templates/admin/tabs.html
+++ b/jimbrella/templates/admin/tabs.html
@@ -4,6 +4,7 @@
<td class="tab"><a href="/admin">Overview</a></td>
<td class="tab"><a href="/admin/umbrellas">All</a></td>
<td class="tab"><a href="/admin/logs">Logs</a></td>
+ <td class="tab"><a href="/admin/adminlogs">Admin Logs</a></td>
</tr>
</table>
</header>