diff --git a/templates/tournament.html b/templates/tournament.html index bed8a96..c978aa0 100644 --- a/templates/tournament.html +++ b/templates/tournament.html @@ -1,177 +1,112 @@ {% load static %} - -
+ + +
-
-- -Use this page to view our fleet of rental bikes. You can use this page to return bikes that have been rented by customers. - -
- -| Name | - -Description | -Rental Price | - -Rental User ID | - -Actions | - -|
|---|---|---|---|---|---|
| {{ question.name }} | -{{ question.description }} | -€ {{ question.rental_price }} | -{{ question.rented_user_id }} | - -{% if question.rented_user_id != 0 %} - -- - - - - - - - | - -{% else %} - -- - - - | - -{% endif %} - - - - -
+ Use this administrative dashboard to monitor the status of our rental fleet. You can process returns for bikes currently checked out by customers.
+ {% if status_message %} +| Name | +Description | +Rental Price | +Renter ID | +Actions | +
|---|---|---|---|---|
| {{ question.name }} | +{{ question.description }} | +€ {{ question.rental_price }} | ++ {% if question.rented_user_id != 0 %} + {{ question.rented_user_id }} + {% else %} + Available + {% endif %} + | ++ {% if question.rented_user_id != 0 %} + + Return Bike + + {% else %} + + {% endif %} + | +
+ No bikes are available.+ |
+ ||||