diff --git a/styles/components/_portfolio_layout.scss b/styles/components/_portfolio_layout.scss index 0cfca353..f7008d77 100644 --- a/styles/components/_portfolio_layout.scss +++ b/styles/components/_portfolio_layout.scss @@ -85,10 +85,6 @@ } } -.portfolio-content { - margin: 6 * $gap $gap 0 $gap; -} - @mixin subheading { color: $color-gray-dark; padding: $gap 0; @@ -98,6 +94,23 @@ font-weight: bold; } +.portfolio-content { + margin: 6 * $gap $gap 0 $gap; + + .application-content { + .subheading { + @include subheading; + } + + .panel { + padding: $gap / 2 0; + box-shadow: 0 6px 18px 0 rgba(144,164,183,0.3); + border-top: none; + border-bottom: none; + } + } +} + .portfolio-applications { .portfolio-applications__header { margin-bottom: 4 * $gap; diff --git a/templates/fragments/edit_application_form.html b/templates/fragments/edit_application_form.html index c9206b1b..ef5dd455 100644 --- a/templates/fragments/edit_application_form.html +++ b/templates/fragments/edit_application_form.html @@ -1,12 +1,8 @@ {% from "components/text_input.html" import TextInput %} {{ form.csrf_token }} -
-
-

- {{ "fragments.edit_application_form.explain" | translate }} -

- {{ TextInput(form.name) }} - {{ TextInput(form.description, paragraph=True) }} -
-
+

+ {{ "fragments.edit_application_form.explain" | translate }} +

+{{ TextInput(form.name) }} +{{ TextInput(form.description, paragraph=True) }} diff --git a/templates/portfolios/applications/edit.html b/templates/portfolios/applications/edit.html index 40108d3a..9b92e443 100644 --- a/templates/portfolios/applications/edit.html +++ b/templates/portfolios/applications/edit.html @@ -6,33 +6,39 @@ {% block application_content %} -
+
Application Settings
- {% include "fragments/edit_application_form.html" %} +
+
+ -
-
-

Application Environments

-

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

-
+ {% include "fragments/edit_application_form.html" %} -
    - {% for environment in application.environments %} -
  • -
    - - -
    -
  • - {% endfor %} -
+
+
+

Application Environments

+

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

+
+ +
    + {% for environment in application.environments %} +
  • +
    + + +
    +
  • + {% endfor %} +
+
+ +
+ +
+
- -
- -
- +
{% endblock %} diff --git a/templates/portfolios/applications/new.html b/templates/portfolios/applications/new.html index 5cc62197..b3c21709 100644 --- a/templates/portfolios/applications/new.html +++ b/templates/portfolios/applications/new.html @@ -12,65 +12,71 @@ {% set modalName = "newApplicationConfirmation" %} {% include "fragments/flash.html" %} - -
+
+
- {% call Modal(name=modalName, dismissable=False) %} -

Create application !{ name }

+ + -

- When you click Create Application, the environments - - !{environment.name} - - will be created as individual cloud resource groups under !{ name } application. -

+ {% call Modal(name=modalName, dismissable=False) %} +

Create application !{ name }

-
- - -
- {% endcall %} +

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

- {% include "fragments/edit_application_form.html" %} - -
{# this extra div prevents this bug: https://www.pivotaltracker.com/story/show/160768940 #} -
- {{ Alert(message=None, level="error", vue_template=True) }} -
-
- -
-
-

Application Environments

-

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

-
- -
    -
  • -
    - - - +
    + +
    - -
  • -
+ {% endcall %} - -
+ {% include "fragments/edit_application_form.html" %} -
- -
- -
+
{# this extra div prevents this bug: https://www.pivotaltracker.com/story/show/160768940 #} +
+ {{ Alert(message=None, level="error", vue_template=True) }} +
+
+ +
+
+

Application Environments

+

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

+
+ +
    +
  • +
    + + + +
    + +
  • +
+ + +
+ +
+ +
+ + + +
+
{% endblock %} diff --git a/translations.yaml b/translations.yaml index dfaf1773..3353aee4 100644 --- a/translations.yaml +++ b/translations.yaml @@ -173,7 +173,7 @@ forms: environment_names_label: Environment Name environment_names_required_validation_message: Provide at least one environment name. environment_names_unique_validation_message: Environment names must be unique. - name_label: Application Name + name_label: Name task_order: portfolio_name_label: Organization Portfolio Name portfolio_name_description: The name of your office or organization. You can add multiple applications to your portfolio. Your task orders are used to pay for these applications and their environments. @@ -258,7 +258,7 @@ forms: fragments: edit_application_form: existing_application_title: 'Edit {application_name} application' - explain: 'AT-AT allows you to organize your portfolio into multiple applications, each of which may have environments.' + explain: 'AT-AT allows you to create multiple applications within a portfolio. Each application can then be broken down into its own customizable environments.' new_application_title: Add a new application edit_user_form: date_last_training_tooltip: When was the last time you completed the IA training?
Information Assurance (IA) training is an important step in cyber awareness.