diff options
author | Frederick Yin <fkfd@fkfd.me> | 2021-10-20 17:10:19 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2021-10-20 17:10:19 +0800 |
commit | f53b65c14a92562309ced75a24371b577f9d8ef1 (patch) | |
tree | 083d00c7a36c40efc832035e7bf9d10454db713b /jimbrella/templates/admin/index.html | |
parent | a2c80e9a02430be73962f4ca83b49e5f80fd3594 (diff) |
Frontend updates
I forgot what I exactly did
Diffstat (limited to 'jimbrella/templates/admin/index.html')
-rw-r--r-- | jimbrella/templates/admin/index.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/jimbrella/templates/admin/index.html b/jimbrella/templates/admin/index.html index ddbe4e5..1330e4b 100644 --- a/jimbrella/templates/admin/index.html +++ b/jimbrella/templates/admin/index.html @@ -8,19 +8,15 @@ <body> <h1>JI Umbrella Overview</h1> <div id="container"> - <header> - <table class="tabs"> - <tr> - <td><a href="/admin">Overview</a></td> - <td><a href="/admin/umbrellas">All</a></td> - </tr> - </table> - </header> + {% include "admin/tabs.html" %} <!--Takes up full width of container--> <div class="banner-container"> {% if overdue %} <div class="banner overdue"> <h2 class="banner-heading">Overdue</h2> + <span class="proportion"> + <strong class="big">{{ overdue|length }}</strong> / {{ umbrellas|length }} + </span> <table class="data"> <tr> <td>#</td> @@ -44,11 +40,15 @@ <div class="tile-container"> <div class="tile lent"> <h2 class="tile-heading">Lent</h2> - <strong class="big">{{ lent|length }}</strong> / {{ umbrellas|length }} + <span class="proportion"> + <strong class="big">{{ lent|length }}</strong> / {{ umbrellas|length }} + </span> </div> <div class="tile available"> <h2 class="tile-heading">Available</h2> - <strong class="big">{{ available|length }}</strong> / {{ umbrellas|length }} + <span class="proportion"> + <strong class="big">{{ available|length }}</strong> / {{ umbrellas|length }} + </span> </div> </div> </div> |