Use panel__footer on portfolio_members table
This commit is contained in:
parent
ff54ef0a8a
commit
746d0edca9
@ -306,15 +306,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.members-table-footer {
|
|
||||||
float: right;
|
|
||||||
padding: 3 * $gap 0;
|
|
||||||
|
|
||||||
.action-group.save {
|
|
||||||
padding-right: 3 * $gap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
a.modal-link.icon-link {
|
a.modal-link.icon-link {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
||||||
|
@ -30,10 +30,6 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
header.accordion__header {
|
|
||||||
padding: 1.6rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-link {
|
.icon-link {
|
||||||
.icon--info {
|
.icon--info {
|
||||||
bottom: -1px;
|
bottom: -1px;
|
||||||
@ -41,10 +37,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.left {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
|
||||||
thead {
|
thead {
|
||||||
|
@ -57,11 +57,15 @@
|
|||||||
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="members-table-footer">
|
<div class="panel__footer">
|
||||||
<div class="action-group save">
|
<div class="action-group save">
|
||||||
{% if user_can(permissions.EDIT_PORTFOLIO_USERS) %}
|
{% if user_can(permissions.EDIT_PORTFOLIO_USERS) %}
|
||||||
{{ SaveButton(text=('common.save' | translate), element="input", form="member-perms") }}
|
{{ SaveButton(text=('common.save' | translate), element="input", form="member-perms") }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if user_can(permissions.CREATE_PORTFOLIO_USERS) %}
|
||||||
|
{% include "fragments/admin/add_new_portfolio_member.html" %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -83,28 +87,21 @@
|
|||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
|
|
||||||
<div class="action-group">
|
<div class="panel__footer">
|
||||||
<form method="POST" action="{{ url_for('portfolios.remove_member', portfolio_id=portfolio.id, user_id=member.user_id) }}">
|
<div class="action-group">
|
||||||
{{ member_perms_form.csrf_token }}
|
<form method="POST" action="{{ url_for('portfolios.remove_member', portfolio_id=portfolio.id, user_id=member.user_id) }}">
|
||||||
<button class="usa-button usa-button-danger">
|
{{ member_perms_form.csrf_token }}
|
||||||
{{ "portfolios.members.archive_button" | translate }}
|
<button class="usa-button usa-button-danger">
|
||||||
</button>
|
{{ "portfolios.members.archive_button" | translate }}
|
||||||
</form>
|
</button>
|
||||||
<a v-on:click="closeModal('{{ modal_id }}')" class="action-group__action icon-link icon-link--default">{{ "common.cancel" | translate }}</a>
|
</form>
|
||||||
|
<a v-on:click="closeModal('{{ modal_id }}')" class="action-group__action icon-link icon-link--default">{{ "common.cancel" | translate }}</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="members-table-footer">
|
|
||||||
<div class="action-group">
|
|
||||||
{% if user_can(permissions.CREATE_PORTFOLIO_USERS) %}
|
|
||||||
{% include "fragments/admin/add_new_portfolio_member.html" %}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user