From 4ecf03b0a8517a8323dd888fc74e371aab41ba67 Mon Sep 17 00:00:00 2001 From: Justin Choquette Date: Fri, 18 Aug 2023 15:50:38 -0400 Subject: minor status changes Change-Id: Ia29c2879ddea67bdb6b30c4e871d8cb97be38d41 Signed-off-by: Justin Choquette --- src/templates/base/booking/booking_detail.html | 146 ++++++++++++++++++++----- 1 file changed, 118 insertions(+), 28 deletions(-) (limited to 'src/templates/base/booking/booking_detail.html') diff --git a/src/templates/base/booking/booking_detail.html b/src/templates/base/booking/booking_detail.html index 33b0486..bcf554b 100644 --- a/src/templates/base/booking/booking_detail.html +++ b/src/templates/base/booking/booking_detail.html @@ -53,6 +53,14 @@ code { Lab Deployed At {{ booking.lab }} + + IPMI Username + {{ status.config.ipmi_username }} + + + IPMI Password + {{ status.config.ipmi_password }} + @@ -61,35 +69,80 @@ code {

Deployment Progress

-

Your resources are being prepared. If this is taking a really long time, please contact us here!

- +

Your resources are being prepared. If this is taking a really long time, please contact + us here!

- + + + - {% for host in statuses %} + {% with status.instances as instances %} + + {% for id, inst in instances.items %} - + - {% endfor %} + {% endwith %}
ResourceNameAssigned Host Status
- {% if 'Success' in host.status %} -
- {% elif 'Fail' in host.status %} -
+ + {% if inst.logs|length > 0 %} + {% with inst.logs|last as lastelem %} + {% if 'Success' in lastelem.status %} +
+ {% elif 'Fail' in lastelem.status %} +
{% else %} -
+
+ {% endif %} + {% endwith %} {% endif %}
- {{ host.hostname }} + + + {{inst.host_alias}} + + + {{inst.assigned_host}} - {{ host.status }} + + + {% if inst.logs|length > 0 %} + {% with inst.logs|last as lastelem %} + + {{lastelem.status}} + + + {% endwith %} + + {% endif %} +

+

+
Additional Logs
+
+ + {% for log in inst.logs %} + + + + + + {% endfor %} +
+ {{log.status}} + + {{log.time}} +
+
+
+

@@ -116,30 +169,67 @@ code { -{% endblock content %} +{% endblock content %} \ No newline at end of file -- cgit 1.2.3-korg