UX: Improve layout of invite table

This commit is contained in:
Kris 2019-03-05 14:50:27 -05:00
parent b0d93a38e8
commit 84892429ed
2 changed files with 11 additions and 2 deletions

View File

@ -81,7 +81,7 @@
{{else}} {{else}}
<td>{{unbound invite.email}}</td> <td>{{unbound invite.email}}</td>
<td>{{format-date invite.created_at}}</td> <td>{{format-date invite.created_at}}</td>
<td colspan='5'> <td>
{{#if invite.expired}} {{#if invite.expired}}
{{i18n 'user.invited.expired'}} {{i18n 'user.invited.expired'}}
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
@ -91,7 +91,8 @@
{{else}} {{else}}
{{d-button icon="times" action=(action "rescind") actionParam=invite label="user.invited.rescind"}} {{d-button icon="times" action=(action "rescind") actionParam=invite label="user.invited.rescind"}}
{{/if}} {{/if}}
&nbsp;&nbsp;&nbsp;&nbsp; </td>
<td>
{{#if invite.reinvited}} {{#if invite.reinvited}}
{{i18n 'user.invited.reinvited'}} {{i18n 'user.invited.reinvited'}}
{{else}} {{else}}

View File

@ -115,6 +115,14 @@
.user-invite-list { .user-invite-list {
width: 100%; width: 100%;
margin-top: 15px; margin-top: 15px;
tr {
td {
padding: .667em;
}
td:nth-of-type(n+3) {
text-align: right;
}
}
} }
.user-invite-search { .user-invite-search {