From 7a62133bc32eeaa85049522afaa9e484904080cf Mon Sep 17 00:00:00 2001 From: graham-dds Date: Thu, 3 Oct 2019 17:41:55 -0400 Subject: [PATCH] Minor adjustments new application flow step 2 - rearrange markup - add previous and cancel button --- styles/elements/_panels.scss | 3 +- templates/applications/new/step_2.html | 113 +++++++++++++------------ translations.yaml | 4 +- 3 files changed, 63 insertions(+), 57 deletions(-) diff --git a/styles/elements/_panels.scss b/styles/elements/_panels.scss index 89877659..97353795 100644 --- a/styles/elements/_panels.scss +++ b/styles/elements/_panels.scss @@ -120,7 +120,8 @@ @include panel-actions; } - hr, &__break { + hr, + &__break { border: 0; border-bottom: 1px solid $color-gray-light; margin: ($gap * 4) ($site-margins * -4); diff --git a/templates/applications/new/step_2.html b/templates/applications/new/step_2.html index 6760333c..75b5f280 100644 --- a/templates/applications/new/step_2.html +++ b/templates/applications/new/step_2.html @@ -16,61 +16,66 @@ {% set modalName = "newApplicationConfirmation" %} {% include "fragments/flash.html" %} - - -
-
-
- {{ form.csrf_token }} -
{# this extra div prevents this bug: https://www.pivotaltracker.com/story/show/160768940 #} -
- {{ Alert(message=None, level="error", vue_template=True) }} +
+

+ {{ 'portfolios.applications.new.step_2_description' | translate }} +

+
+ + +
{{ 'portfolios.applications.environments_heading' | translate }}
+
+
+ {{ form.csrf_token }} +
{# this extra div prevents this bug: https://www.pivotaltracker.com/story/show/160768940 #} +
+ {{ Alert(message=None, level="error", vue_template=True) }} +
-
- -
-
-

{{ 'portfolios.applications.environments_heading' | translate }}

-

- {{ 'portfolios.applications.environments_description' | translate }} -

-
- -
    -
  • -
    - - -
    -
    - -
    -
  • -
- - -
+ +
+
    +
  • +
    + + +
    +
    + +
    +
  • +
+ + +
-
- - - {% block next_button %} - {{ SaveButton(text=('portfolios.applications.new.step_2_button_text' | translate)) }} - {% endblock %} - - - +
+ + + {% block next_button %} + {{ SaveButton(text=('portfolios.applications.new.step_2_button_text' | translate)) }} + {% endblock %} + + Previous + + + Cancel + + + + +
{% endblock %} diff --git a/translations.yaml b/translations.yaml index e90ea453..e55ce7e1 100644 --- a/translations.yaml +++ b/translations.yaml @@ -337,6 +337,7 @@ portfolios:

step_2_header: Add Environments to {application_name} + step_2_description: "Production, Staging, Testing, and Development environments are included by default. However, you can add, edit, and delete environments based on the needs of your Project." step_2_button_text: "Save and Add Members" step_3_header: Invite Members to {application_name} step_3_button_text: Save Application @@ -362,8 +363,7 @@ portfolios: delete: button: Delete environment edit_name: Edit name - environments_description: Each environment created within an application is logically separated from one another for easier management and security. - environments_heading: Application environments + environments_heading: Project Environments existing_application_title: '{application_name} Application Settings' member_count: '{count} members' new_application_title: New Application