diff options
author | ttt | 2017-05-13 00:29:47 +0530 |
---|---|---|
committer | ttt | 2017-05-13 00:29:47 +0530 |
commit | 4336f5f06f61de30ae3fa54650fce63a9d5ef5be (patch) | |
tree | 23b4ee9b8e8f24bf732acf2f7ad22ed50cdd5670 /templates/admin/booking_index.html | |
download | SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.tar.gz SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.tar.bz2 SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.zip |
added all server files
Diffstat (limited to 'templates/admin/booking_index.html')
-rw-r--r-- | templates/admin/booking_index.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/admin/booking_index.html b/templates/admin/booking_index.html new file mode 100644 index 0000000..db9b41e --- /dev/null +++ b/templates/admin/booking_index.html @@ -0,0 +1,33 @@ +{% extends "layout.html" %} +{% load staticfiles %} + +{% block content %} +<div class="container"> + <div class="row"> + {% include "account/sub_nav.html" %} + <div class="span12"> + {% include "admin/sub_nav.html" %} + <table class="table table-bordered table-condensed"> + <thead> + <tr> + <th>Date</th> + <th>Slot</th> + <th>Board</th> + <th>User</th> + </tr> + </thead> + <tbody> + {% for b in bookings %} + <tr> + <td>{{ b.booking_date }}</td> + <td>{{ b.slot }}</td> + <td>{{ b.account.board.mid }}</td> + <td>{{ b.account.name }}</td> + </tr> + {% endfor %} + </tbody> + </table> + </div> + </div> +</div> +{% endblock %}
\ No newline at end of file |