clean up space memberships table; clean up terminate account view
This commit is contained in:
parent
7cf68c94a5
commit
bdb2e9fde5
@ -9647,11 +9647,6 @@ button.close {
|
|||||||
outline: none;
|
outline: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
-o-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
border-radius: 9px;
|
border-radius: 9px;
|
||||||
background-color: #f5f5f5 !important;
|
background-color: #f5f5f5 !important;
|
||||||
box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.05), 0 2px 7px rgba(0, 0, 0, 0.1); }
|
box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.05), 0 2px 7px rgba(0, 0, 0, 0.1); }
|
||||||
|
@ -135,7 +135,6 @@
|
|||||||
outline: none;
|
outline: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@include user-select(none);
|
|
||||||
|
|
||||||
border-radius: $radius*3;
|
border-radius: $radius*3;
|
||||||
background-color: $light !important;
|
background-color: $light !important;
|
||||||
|
@ -149,12 +149,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="collapse" v-bind:class="{in:account=='terminate'}">
|
<div class="collapse" v-bind:class="{in:account=='terminate'}">
|
||||||
<div class="">
|
<h4>Terminate Account</h4>
|
||||||
<p>[[__("terminate_warning")]]</p>
|
<div class="modal-section labels-inline">
|
||||||
<p>[[__("terminate_warning2")]]</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="labels-inline">
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="label">[[__("current_password")]]</label>
|
<label class="label">[[__("current_password")]]</label>
|
||||||
<input v-model="account_remove_password" class="input input-white no-b" type="password">
|
<input v-model="account_remove_password" class="input input-white no-b" type="password">
|
||||||
@ -165,11 +161,15 @@
|
|||||||
<textarea class="input input-white no-b" v-model="account_remove_feedback"></textarea>
|
<textarea class="input input-white no-b" v-model="account_remove_feedback"></textarea>
|
||||||
<p class="message">[[__("terminate_reason_caption")]]</p>
|
<p class="message">[[__("terminate_reason_caption")]]</p>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal-section labels-inline">
|
||||||
<div class="center alert alert-danger" v-if="account_remove_error">{{account_remove_error}}</div>
|
<div class="center alert alert-danger" v-if="account_remove_error">{{account_remove_error}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button class="btn btn-stroke-darken btn-md" v-on:click="remove_account(account_remove_password, account_remove_feedback)">Terminate Account</button>
|
<div class="modal-footer">
|
||||||
|
<button class="btn btn-stroke-darken btn-md" v-on:click="remove_account(account_remove_password, account_remove_feedback)">Terminate Account</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -78,21 +78,26 @@
|
|||||||
<h4 class="text-left"><span class="icon icon-user-group icon-sm"></span> [[__("access_current_members")]]</h4>
|
<h4 class="text-left"><span class="icon icon-user-group icon-sm"></span> [[__("access_current_members")]]</h4>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Icon</th>
|
<th></th>
|
||||||
<th>Email / Name</th>
|
<th>Email / Name</th>
|
||||||
<th>Role</th>
|
<th>Role</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-for="member in access_settings_memberships" v-bind:class="member.state">
|
<tr v-for="member in access_settings_memberships" v-bind:class="member.state">
|
||||||
<td>
|
<td>
|
||||||
<span class="editor-avatar btn btn-xs btn-round btn-icon" v-if="member.user">{{member.user.initials}}</span>
|
<span class="editor-avatar btn btn-md btn-dark btn-icon btn-round"
|
||||||
<span class="editor-avatar btn btn-xs btn-round btn-icon icon-hourglass" v-if="!member.user"></span>
|
v-if="member.user"
|
||||||
|
v-bind:style="background_image_style([member.user.avatar_thumb_uri])"
|
||||||
|
v-bind:class="{'has-avatar-image':!!member.user.avatar_thumb_uri}">
|
||||||
|
<span class="icon icon-user" v-if="!member.user.avatar_thumb_uri"></span>
|
||||||
|
</span>
|
||||||
|
<span class="editor-avatar btn btn-md btn-round btn-icon icon-hourglass" v-if="!member.user"></span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span class="editor-email" v-if="member.state == 'active'">{{member.user.email}}</span>
|
<span class="editor-name" v-if="member.user && member.state == 'active'">{{member.user.nickname}}</span>
|
||||||
<span class="editor-email" v-if="member.state == 'pending'">{{member.email_invited}}</span>
|
<span class="editor-email" v-if="!member.user || member.state == 'pending'">(pending)</span>
|
||||||
<span class="editor-name" v-if="member.state == 'active'">{{member.user.nickname}}</span>
|
<span class="editor-email" v-if="member.user && member.state == 'active'">({{member.user.email}})</span>
|
||||||
<span class="editor-email" v-if="member.state == 'pending'">(pending)</span>
|
<span class="editor-email" v-if="!member.user || member.state == 'pending'">({{member.email_invited}})</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
Loading…
Reference in New Issue
Block a user