From 25275685e9a735e51fae8b1a936ba5733f6fb770 Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Wed, 10 Oct 2018 16:06:47 -0400 Subject: Lab as a Service 2.0 See changes here: https://wiki.opnfv.org/display/INF/Pharos+Laas Change-Id: I59ada5f98e70a28d7f8c14eab3239597e236ca26 Signed-off-by: Sawyer Bergeron Signed-off-by: Parker Berberian --- dashboard/src/templates/dashboard/lab_detail.html | 157 ++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 dashboard/src/templates/dashboard/lab_detail.html (limited to 'dashboard/src/templates/dashboard/lab_detail.html') diff --git a/dashboard/src/templates/dashboard/lab_detail.html b/dashboard/src/templates/dashboard/lab_detail.html new file mode 100644 index 0000000..4c06245 --- /dev/null +++ b/dashboard/src/templates/dashboard/lab_detail.html @@ -0,0 +1,157 @@ +{% extends "base.html" %} +{% load staticfiles %} + +{% block extrahead %} + {{block.super}} + +{% endblock %} + +{% block content %} +
+
+
+
+

Lab Profile

+ Expand +
+
+ + + + + + + + + + + + {% if lab.contact_phone %} + + + + + {% endif %} + + + {% if lab.status < 100 %} + + {% elif lab.status < 200 %} + + {% else %} + + {% endif %} + +
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
+
+
+
+
+

Host Profiles

+ + Expand +
+
+ + {% for profile in hostprofiles %} + + + + + + {% endfor %} +
{{profile.name}}{{profile.description}}{{profile.labs}}
+
+
+ + +
+
+

Networking Capabilities

+ Expand +
+ +
+ + + + + + + + + +
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}}
+
+
+
+
+

Images

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

Lab Hosts

+

+ Expand +
+ +
+ + + + + + + + + {% 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}}
+
+
+
+ +
+ + +{% endblock content %} + -- cgit 1.2.3-korg