diff options
author | Frederick Yin <fkfd@fkfd.me> | 2021-10-24 23:12:27 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2021-10-24 23:12:27 +0800 |
commit | 18b4424faba782e136202ab4d41086e79ace1bd7 (patch) | |
tree | e003e292e3626332b54e7bb79444d3b0c467d713 /jimbrella/templates/admin/logs.html | |
parent | 0ed10326a182d6d37845cf5eb074e3e505d403cf (diff) |
Admin can now modify database from web console
Diffstat (limited to 'jimbrella/templates/admin/logs.html')
-rw-r--r-- | jimbrella/templates/admin/logs.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/jimbrella/templates/admin/logs.html b/jimbrella/templates/admin/logs.html new file mode 100644 index 0000000..6f0ed71 --- /dev/null +++ b/jimbrella/templates/admin/logs.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html> + <head> + <title>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> + <div id="container"> + {% include "admin/tabs.html" %} + <div class="data-table-container"> + <table class="data"> + <thead> + <tr> + <th>Date</th> + <th>Event</th> + <th>Note</th> + </tr> + </thead> + <tbody> + {% for log in logs %} + <tr class="{{ log.event }}"> + <td>{{ log.date_str }}</td> + <td>{{ log.description }}</td> + <td>{{ log.note }}</td> + </tr> + {% endfor %} + </tbody> + </table> + </div> + </div> + </body> +</html> |