{% extends "base.html" %} {% block app_content %}

Your Bookings


{% for booking in bookings %} {% set booking_status_text = booking_status_id_text[booking.status_id] %} {% set text_color = '#808080' %} {% if booking_status_text == 'new' %} {% set text_color = '#808080' %} {% elif booking_status_text == 'deploying' %} {% set text_color = '#f4d03f' %} {% elif booking_status_text == 'active' %} {% set text_color = '#239b56' %} {% elif booking_status_text == 'expired' %} {% set text_color = '#eb984e' %} {% elif booking_status_text == 'failed' %} {% set text_color = '#ff0000' %} {% elif booking_status_text == 'cancelled' %} {% set text_color = '#cfcbcb' %} {% endif -%} {% if booking_status_text == 'new' %} {% elif booking_status_text == 'active' %} {% else %} {% endif %} {% endfor %}
# Stack Scenario IP Created On Expires On Status Action
{{ booking.id }} {{ booking.stack }} {{ booking.scenario }} {{ booking.floating_ip }} {{ booking.created_on }} {{ booking.expires_on }} {{ booking_status_text }}CancelDelete
{% if prev_url %} Newer bookings   {% endif %} {% if next_url %} Previous bookings {% endif %}
{% endblock %}