From a09db9f287a02873c0226759f8ea444bb304cd59 Mon Sep 17 00:00:00 2001 From: Justin Choquette Date: Thu, 8 Jun 2023 12:46:53 -0400 Subject: LaaS 3.0 Almost MVP Change-Id: Ided9a43cf3088bb58a233dc459711c03f43e11b8 Signed-off-by: Justin Choquette --- src/templates/base/workflow/book_a_pod.html | 121 ++++++++++++ src/templates/base/workflow/confirm.html | 56 ------ src/templates/base/workflow/design_a_pod.html | 214 ++++++++++++++++++++++ src/templates/base/workflow/no_workflow.html | 3 - src/templates/base/workflow/viewport-base.html | 82 --------- src/templates/base/workflow/viewport-element.html | 17 -- 6 files changed, 335 insertions(+), 158 deletions(-) create mode 100644 src/templates/base/workflow/book_a_pod.html delete mode 100644 src/templates/base/workflow/confirm.html create mode 100644 src/templates/base/workflow/design_a_pod.html delete mode 100644 src/templates/base/workflow/no_workflow.html delete mode 100644 src/templates/base/workflow/viewport-base.html delete mode 100644 src/templates/base/workflow/viewport-element.html (limited to 'src/templates/base/workflow') diff --git a/src/templates/base/workflow/book_a_pod.html b/src/templates/base/workflow/book_a_pod.html new file mode 100644 index 0000000..7053bfd --- /dev/null +++ b/src/templates/base/workflow/book_a_pod.html @@ -0,0 +1,121 @@ +{% extends "base.html" %} +{% load staticfiles %} +{% load bootstrap4 %} +{% block extrahead %} + + + +{% endblock %} +{% block content %} + +
+ + + + +
+
+

Book a Pod

+

Select Host Or Template:

+
+ +
+ +
+
    +
+
+ +
+
+
+ +
+

Global Cloud Init Override

+
+ +
+
+ +
+

Booking Details

+
+
+
+ +
+
+
+
+ +
+
+
+ +
+
+ Days: 1 + +
+
+
+ +
+

Add Collaborators:

+
+
+ {% bootstrap_field form.users label="Collaborators" %} +
+
+
+ +
+

Booking Summary

+
+
+
    +
  • Booking Details +
      +
    +
  • +
  • Collaborators +
      +
    +
  • +
  • Hosts +
      +
    +
  • +
+
+
+
+ + +
+
+ +
+
+ +
+
+ {% csrf_token %} +
+
+ + + +{% endblock %} diff --git a/src/templates/base/workflow/confirm.html b/src/templates/base/workflow/confirm.html deleted file mode 100644 index bc8e4e3..0000000 --- a/src/templates/base/workflow/confirm.html +++ /dev/null @@ -1,56 +0,0 @@ -{% extends "workflow/viewport-element.html" %} -{% load staticfiles %} - -{% load bootstrap4 %} - -{% block content %} - -
-

Confirm Session

-
-
-
-
-
{{confirmation_info|escape}}
-
-
-
-
-
-
- {% csrf_token %} -
- {{form|default:"

No Form Loaded

"}} -
-
-
- - -
-
-
- {% csrf_token %} -
-
-
-
-
-
- -{% block element_messages %} - -{% endblock element_messages %} -{% endblock content %} diff --git a/src/templates/base/workflow/design_a_pod.html b/src/templates/base/workflow/design_a_pod.html new file mode 100644 index 0000000..5d48273 --- /dev/null +++ b/src/templates/base/workflow/design_a_pod.html @@ -0,0 +1,214 @@ +{% extends "base.html" %} +{% load staticfiles %} +{% load bootstrap4 %} +{% block extrahead %} + + + +{% endblock %} +{% block content %} +{% if dashboard == 'laas' %} + + + + +
+ + + + +
+ + +
+ +

Design a Pod

+

Select a Lab:

+
+
+
+ + +
+

Add Resources:

+
+
+
+ 0 / 8 + +
+
+
+
+ + +
+

Add Networks:

+
+
+
+ +
+
+
+
+ + + +
+

Configure Connections:

+
+
+
+ + +
+

Pod Details

+
+
+
+ +
+
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+ +
+
+
+
+ + + +
+

Pod Summary:

+
+
+
+
    +
  • Pod Details +
      +
    +
  • +
  • Resources +
      +
    +
  • +
+
+
+
+
+
+
+
+
+ + + +
+
+ + + + + + + + + + + +
+
+ {% csrf_token %} +
+
+ + + + +{% endif %} +{% endblock %} diff --git a/src/templates/base/workflow/no_workflow.html b/src/templates/base/workflow/no_workflow.html deleted file mode 100644 index 0ac6549..0000000 --- a/src/templates/base/workflow/no_workflow.html +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/src/templates/base/workflow/viewport-base.html b/src/templates/base/workflow/viewport-base.html deleted file mode 100644 index 88229ca..0000000 --- a/src/templates/base/workflow/viewport-base.html +++ /dev/null @@ -1,82 +0,0 @@ -{% extends "base.html" %} -{% load staticfiles %} - -{% load bootstrap4 %} - -{% block content %} - - -
-
- -
-
-
-
- Is something not working right? Let us know here! -
-
- -
-
-
-
-

- -

-
-
-
-
- -
-
-
-
-
-
-
-{% csrf_token %} - - - - -
-
- {% csrf_token %} -
-
-{% endblock content %} diff --git a/src/templates/base/workflow/viewport-element.html b/src/templates/base/workflow/viewport-element.html deleted file mode 100644 index db4da54..0000000 --- a/src/templates/base/workflow/viewport-element.html +++ /dev/null @@ -1,17 +0,0 @@ -{% load bootstrap4 %} -{% load staticfiles %} - -{% block basecontent %} - - {% block content %} - {% endblock content %} - -
- {% block element_messages %} - {% bootstrap_messages %} - {% endblock %} -
-{% endblock basecontent %} - -{% block extrajs %} -{% endblock extrajs %} -- cgit 1.2.3-korg