diff --git a/styles/components/_modal.scss b/styles/components/_modal.scss index d4df9845..f2653a6f 100644 --- a/styles/components/_modal.scss +++ b/styles/components/_modal.scss @@ -120,7 +120,7 @@ body { .action-group { background-color: $color-gray-lightest; padding: $gap * 2; - margin: 0 (-$gap * 1.5) (-$gap * 1.5); + margin: ($gap * 5) (-$gap * 1.5) (-$gap * 1.5); } hr { diff --git a/styles/sections/_application_edit.scss b/styles/sections/_application_edit.scss index 894f80c0..f74320c2 100644 --- a/styles/sections/_application_edit.scss +++ b/styles/sections/_application_edit.scss @@ -110,7 +110,7 @@ } hr { - margin: 0.5em; + margin: 0.5em 0; } } diff --git a/templates/applications/settings.html b/templates/applications/settings.html index 0114c4b1..62c8eed6 100644 --- a/templates/applications/settings.html +++ b/templates/applications/settings.html @@ -219,7 +219,7 @@ {% call Modal(name="delete-application") %}

{{ "portfolios.applications.delete.header" | translate }}

- +
{{ Alert( title=("components.modal.destructive_title" | translate), diff --git a/templates/ccpo/users.html b/templates/ccpo/users.html index f5ea52a8..c5c8cc3b 100644 --- a/templates/ccpo/users.html +++ b/templates/ccpo/users.html @@ -59,6 +59,8 @@ {% for user, form in users_info %} {% set modal_id = "disable_ccpo_user_{}".format(user.dod_id) %} {% call Modal(name=modal_id) %} +

Disable CCPO User

+
{{ Alert( title=("components.modal.destructive_title" | translate), diff --git a/templates/components/delete_confirmation.html b/templates/components/delete_confirmation.html index 3c76ba22..525de71d 100644 --- a/templates/components/delete_confirmation.html +++ b/templates/components/delete_confirmation.html @@ -16,9 +16,7 @@ {{ delete_text }} -
- {{ "common.cancel" | translate }} -
+ {{ "common.cancel" | translate }} diff --git a/templates/portfolios/fragments/delete_portfolio.html b/templates/portfolios/fragments/delete_portfolio.html index 7f6a0f30..da83b2e7 100644 --- a/templates/portfolios/fragments/delete_portfolio.html +++ b/templates/portfolios/fragments/delete_portfolio.html @@ -21,7 +21,7 @@

{{ 'fragments.delete_portfolio.title' | translate }}

- +
{{ Alert( level="warning", diff --git a/templates/portfolios/fragments/portfolio_members.html b/templates/portfolios/fragments/portfolio_members.html index ef0fb0d7..e6980126 100644 --- a/templates/portfolios/fragments/portfolio_members.html +++ b/templates/portfolios/fragments/portfolio_members.html @@ -81,6 +81,7 @@ {% set modal_id = "portfolio_id_{}_user_id_{}".format(portfolio.id, subform.member_id.data) %} {% call Modal(name=modal_id, dismissable=False) %}

{{ "portfolios.admin.alert_header" | translate }}

+
{{ Alert( title="portfolios.admin.alert_title" | translate, @@ -88,16 +89,14 @@ level="warning" ) }} -