diff options
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> |