From febdee2820e6527fb4f5f5843f951a01c24c8ba9 Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Fri, 18 Jan 2019 14:43:11 -0500 Subject: Style Account pages Adds some prettiness to the account pages that list bookings, etc Change-Id: I90508cfafba00380d67965a038dc54d1fac43f60 Signed-off-by: Parker Berberian --- src/templates/account/booking_list.html | 63 ++++++++++++++------------------- 1 file changed, 26 insertions(+), 37 deletions(-) (limited to 'src/templates/account/booking_list.html') diff --git a/src/templates/account/booking_list.html b/src/templates/account/booking_list.html index c7c5e00..9c6f3db 100644 --- a/src/templates/account/booking_list.html +++ b/src/templates/account/booking_list.html @@ -1,52 +1,41 @@ {% extends "base.html" %} {% block content %} -

Bookings I Own

+
{% for booking in bookings %}
-
    -
  • id: {{booking.id}}
  • -
  • lab: {{booking.resource.template.lab.lab_user.username}}
  • -
  • resource: {{booking.resource.template.name}}
  • -
  • start: {{booking.start}}
  • -
  • end: {{booking.end}}
  • -
  • purpose: {{booking.purpose}}
  • -
-
- - +
+

Booking {{booking.id}}

+
    +
  • id: {{booking.id}}
  • +
  • lab: {{booking.resource.template.lab.lab_user.username}}
  • +
  • resource: {{booking.resource.template.name}}
  • +
  • start: {{booking.start}}
  • +
  • end: {{booking.end}}
  • +
  • purpose: {{booking.purpose}}
  • +
+ Details
{% endfor %} +

Bookings I Collaborate On

+
{% for booking in collab_bookings %}
-
    -
  • id: {{booking.id}}
  • -
  • lab: {{booking.lab}}
  • -
  • resource: {{booking.resource_name}}
  • -
  • start: {{booking.start}}
  • -
  • end: {{booking.end}}
  • -
  • purpose: {{booking.purpose}}
  • -
-
- - +
+

Booking {{booking.id}}

+
    +
  • id: {{booking.id}}
  • +
  • lab: {{booking.lab}}
  • +
  • resource: {{booking.resource_name}}
  • +
  • start: {{booking.start}}
  • +
  • end: {{booking.end}}
  • +
  • purpose: {{booking.purpose}}
  • +
+ Details
{% endfor %} +
{% endblock %} -- cgit 1.2.3-korg