From 6de48837faf02f70ba5b8d1a0b2268e80caea2d6 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Mon, 15 Oct 2018 16:42:53 -0400 Subject: [PATCH] Refactor New Project Form to remove conditional logic and include fields relevant to new project --- templates/workspaces/projects/new.html | 75 ++++++++++++++++++++++---- 1 file changed, 65 insertions(+), 10 deletions(-) diff --git a/templates/workspaces/projects/new.html b/templates/workspaces/projects/new.html index c140023b..8f71d9ad 100644 --- a/templates/workspaces/projects/new.html +++ b/templates/workspaces/projects/new.html @@ -1,19 +1,74 @@ {% extends "workspaces/base.html" %} {% from "components/alert.html" import Alert %} +{% from "components/icon.html" import Icon %} +{% from "components/modal.html" import Modal %} +{% from "components/text_input.html" import TextInput %} {% block workspace_content %} -{% set modalName = "newProjectConfirmation" %} -{% if request.args.get("newWorkspace") %} - {{ Alert('Workspace created!', - message="\ -

You are now ready to create projects and environments within the JEDI Cloud.

- ", - level='success' - ) }} -{% endif %} + {% set modalName = "newProjectConfirmation" %} + {% if request.args.get("newWorkspace") %} + {{ Alert('Workspace created!', + message="\ +

You are now ready to create projects and environments within the JEDI Cloud.

+ ", + level='success' + ) }} + {% endif %} -{% include "fragments/edit_project_form.html" %} + +
+ + {% call Modal(name=modalName, dismissable=False) %} +

Create project !{ name }

+ +

+ When you click Create Project, the environments + + !{environment.name} + + will be created as individual cloud resource groups under !{ name } project. +

+ +
+ + +
+ {% endcall %} + + {% include "fragments/edit_project_form.html" %} + +
+
+

Project Environments

+

+ Each environment created within a project is an enclave of cloud resources that is logically separated from each other for increased security. +

+
+ +
    +
  • +
    + + +
    + +
  • +
+ + +
+ +
+ +
+
+
{% endblock %}