From 7fec796ae500313ddbbbedf32d4f7581985d41d4 Mon Sep 17 00:00:00 2001 From: Brandon Lo Date: Thu, 27 Jun 2019 15:43:55 -0400 Subject: Replace and change CSS Fix animation bugs Fix layout issues Replace custom CSS to bootstrap classes Remove unused files Change code to use es6 syntax Add dropdown styles Change-Id: Ie2ed31fa2e6763cf30d3b19e4bf9379019cbb0f5 Signed-off-by: Brandon Lo --- src/templates/dashboard/lab_detail.html | 212 +++++++++++++++++--------------- 1 file changed, 114 insertions(+), 98 deletions(-) (limited to 'src/templates/dashboard/lab_detail.html') diff --git a/src/templates/dashboard/lab_detail.html b/src/templates/dashboard/lab_detail.html index 336b32e..3c41caf 100644 --- a/src/templates/dashboard/lab_detail.html +++ b/src/templates/dashboard/lab_detail.html @@ -11,80 +11,92 @@
-

Lab Profile

- +

Lab Profile

+
-
- - - - - - - - - - - - {% if lab.contact_phone %} - - - - - {% endif %} - - - {% if lab.status < 100 %} - - {% elif lab.status < 200 %} - - {% else %} - +
+
+
Lab Name: {{lab.name}}
Lab Location: {{lab.location}}
Lab Email: {{lab.contact_email}}
Lab Phone: {{lab.contact_phone}}
Lab Status:
- Up
-
- Temporarily Offline
-
- Offline Indefinitely
+ + + + + + + + + + + + + {% if lab.contact_phone %} + + + + {% endif %} - -
Lab Name: {{lab.name}}
Lab Location: {{lab.location}}
Lab Email: {{lab.contact_email}}
Lab Phone: {{lab.contact_phone}}
+ + Lab Status: + {% if lab.status < 100 %} + +
+ Up + + {% elif lab.status < 200 %} + +
+ Temporarily Offline + + {% else %} + +
+ Offline Indefinitely + + {% endif %} + + +

Host Profiles

- +
-
- - {% for profile in hostprofiles %} - - - - - - {% endfor %} -
{{profile.name}}{{profile.description}}Profile
+
+
+ + {% for profile in hostprofiles %} + + + + + + {% endfor %} +
{{profile.name}}{{profile.description}}Profile
+
-

Networking Capabilities

- +

Networking Capabilities

+
-
- - - - - - - - -
Block Size: (number of VLANs allowed per deployment){{lab.vlan_manager.block_size}}
Overlapping Vlans Allowed (user can pick which VLANs they wish to use): {{lab.vlan_manager.allow_overlapping}}
+
+
+ + + + + + + + +
Block Size: (number of VLANs allowed per deployment){{lab.vlan_manager.block_size}}
Overlapping Vlans Allowed (user can pick which VLANs they wish to use): {{lab.vlan_manager.allow_overlapping}}
+
@@ -92,23 +104,25 @@

Images

-
- - - - - - - - {% for image in images %} - - - - - - - {% endfor %} -
NameOwnerFor Host TypeDescription
{{image.name}}{{image.owner}}{{image.host_type}}{{image.description}}
+
+
+ + + + + + + + {% for image in images %} + + + + + + + {% endfor %} +
NameOwnerFor Host TypeDescription
{{image.name}}{{image.owner}}{{image.host_type}}{{image.description}}
+
@@ -120,29 +134,31 @@
-
- - - - - - - - - {% for host in lab.host_set.all %} - - - - - {% if host.working %} - - {% else %} - - {% endif %} - - - {% endfor %} -
NameProfileBookedWorkingVendor
{{host.labid}}{{host.profile}}{{host.booked}}{{host.working}}{{host.working}}{{host.vendor}}
+
+
+ + + + + + + + + {% for host in lab.host_set.all %} + + + + + {% if host.working %} + + {% else %} + + {% endif %} + + + {% endfor %} +
NameProfileBookedWorkingVendor
{{host.labid}}{{host.profile}}{{host.booked}}{{host.working}}{{host.working}}{{host.vendor}}
+
-- cgit 1.2.3-korg