diff --git a/styles/sections/_member_edit.scss b/styles/sections/_member_edit.scss index 902ece36..83e20f73 100644 --- a/styles/sections/_member_edit.scss +++ b/styles/sections/_member_edit.scss @@ -1,3 +1,37 @@ +.member-edit { + .panel { + @include shadow-panel; + margin: $gap; + padding: 2 * $gap $gap; + } + + .subheading { + @include subheading; + } + + .manage-access { + padding: 2 * $gap; + + .subtitle { + font-style: italic; + font-size: $small-font-size; + color: $color-gray; + } + } + + .application-list-item { + margin: 2 * $gap 3 * $gap; + + .block-list__header { + border-top-color: $color-gray-light; + } + } + + .search-bar { + margin: 2 * $gap; + } +} + .member-card { @include grid-row; padding: $gap*2; diff --git a/templates/portfolios/members/edit.html b/templates/portfolios/members/edit.html index 92668a2b..2e23890c 100644 --- a/templates/portfolios/members/edit.html +++ b/templates/portfolios/members/edit.html @@ -13,165 +13,170 @@
{{ form.csrf_token }} -
-
-

{{ member.user.full_name }}

+
+
Edit Portfolio Member
+
+
+
+

{{ member.user.full_name }}

+ +
+ {{ Selector(form.portfolio_role) }} +
-
- {{ Selector(form.portfolio_role) }}
- -
-
-
-
-
DOD ID:
-
{{ member.user.dod_id }}
-
-
-
Email:
-
{{ member.user.email }}
-
-
- {% if editable %} - edit account details - {% endif %} -
- {% if member.latest_invitation.is_revokable %} - {{ ConfirmationButton( - "Revoke Invitation", - url_for("portfolios.revoke_invitation", portfolio_id=portfolio.id, token=member.latest_invitation.token), - ) }} - {% endif %} - {% if member.can_resend_invitation %} - {{ ConfirmationButton ( - "Resend Invitation", - url_for("portfolios.resend_invitation", portfolio_id=portfolio.id, token=member.latest_invitation.token), - confirm_msg="Are you sure? This will send an email to invite the user to join this portfolio." - )}} - {% endif %} - {% if can_revoke_access %} - {{ ConfirmationButton ( - "Remove Portfolio Access", - url_for("portfolios.revoke_access", portfolio_id=portfolio.id, member_id=member.id), - confirm_msg="Are you sure? This will remove this user from the portfolio.", - )}} - {% endif %} -
-
-
- -
-
-

Manage Access
Grant access to an environment

-
-
- - - - {% for application in applications %} - {% set revoke_modal_name = (application.id|string) + 'RevokeModal' %} - -
-
-
- {% endfor %} +
- - - + {% endblock %}