From ecadb07367d31c0929212618e120130f54af78da Mon Sep 17 00:00:00 2001 From: Justin Choquette Date: Tue, 8 Aug 2023 11:33:57 -0400 Subject: MVP Change-Id: Ib590302f49e7e66f8d04841fb6cb97baf623f51a Signed-off-by: Justin Choquette --- src/templates/base/dashboard/lab_detail.html | 78 +++++++++++----------------- 1 file changed, 31 insertions(+), 47 deletions(-) (limited to 'src/templates/base/dashboard/lab_detail.html') diff --git a/src/templates/base/dashboard/lab_detail.html b/src/templates/base/dashboard/lab_detail.html index 3d90a51..cd096f6 100644 --- a/src/templates/base/dashboard/lab_detail.html +++ b/src/templates/base/dashboard/lab_detail.html @@ -12,7 +12,6 @@

Lab Profile

-
@@ -61,16 +60,15 @@

Host Profiles

-
- {% for profile in hostprofiles %} + {% for flavor in flavors %} - - - + + + {% endfor %}
{{profile.name}}{{profile.description}}Profile{{flavor.name}}{{flavor.description}}Profile
@@ -81,7 +79,6 @@

Networking Capabilities

-
@@ -96,63 +93,50 @@
-
-
-

Images

- -
-
-
- - - - - - - - {% for image in images %} - - - - - - - {% endfor %} -
NameOwnerFor Host TypeDescription
{{image.name}}{{image.owner}}{{image.host_type}}{{image.description}}
-
-
-

Lab Hosts

-
+ - {% for host in hosts %} - - - - - {% if host.working %} - - {% else %} - - {% endif %} - - - {% endfor %} + + + + + + + + {% endfor %}
NameArchitecture Profile Booked WorkingVendor
{{host.name}}{{host.profile}}{{host.booked|yesno:"Yes,No"}}YesNo{{host.vendor}}
+ {{ host.name }} + + {{ host.arch }} + + {{ host.flavor.name }} + + {% if host.allocation != null %} + Yes + {% else %} + No + {% endif %} + + {% if host.allocation.reason == "maintenance" %} + No + {% else %} + Yes + {% endif %} +
-- cgit 1.2.3-korg