From 841289742d6c89b8a2eb30cea721f46b2389b862 Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Wed, 24 Oct 2018 16:55:02 +0530 Subject: Sbhs templates --- sbhs/templates/dashboard/all_bookings.html | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 sbhs/templates/dashboard/all_bookings.html (limited to 'sbhs/templates/dashboard/all_bookings.html') diff --git a/sbhs/templates/dashboard/all_bookings.html b/sbhs/templates/dashboard/all_bookings.html new file mode 100644 index 0000000..810a506 --- /dev/null +++ b/sbhs/templates/dashboard/all_bookings.html @@ -0,0 +1,53 @@ +{% extends 'dashboard/dashboard_index.html' %} +{% block title %} + All Bookings +{% endblock %} +{% block main %} +
+

All Bookings

+ + {% if slots %} + + + + + + + + + + + {% for slot in slots %} + + + + + + + {% endfor %} + +
DateSlotBoardUser
{{slot.start_time|date:"d M Y"}}{{slot.start_time|time:"H:i"}} to {{slot.end_time|time:"H:i"}}{{slot.user.userboard_set.get.board.mid}}{{slot.user}}
+ {% else %} +

No slots have been booked.

+ {% endif %} + + +
+ +
+
+{% endblock %} \ No newline at end of file -- cgit