2017-08-02 19:09:40 +00:00
|
|
|
<template>
|
2018-03-31 18:14:36 +00:00
|
|
|
<div class="settings panel panel-default">
|
|
|
|
<div class="panel-heading">
|
2019-02-19 17:38:49 +00:00
|
|
|
<div class="title">
|
|
|
|
{{$t('settings.user_settings')}}
|
|
|
|
</div>
|
|
|
|
<transition name="fade">
|
|
|
|
<template v-if="currentSaveStateNotice">
|
|
|
|
<div @click.prevent class="alert error" v-if="currentSaveStateNotice.error">
|
|
|
|
{{ $t('settings.saving_err') }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div @click.prevent class="alert transparent" v-if="!currentSaveStateNotice.error">
|
|
|
|
{{ $t('settings.saving_ok') }}
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</transition>
|
2017-08-02 19:09:40 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-body profile-edit">
|
2018-08-27 19:22:25 +00:00
|
|
|
<tab-switcher>
|
2018-08-28 13:22:49 +00:00
|
|
|
<div :label="$t('settings.profile_tab')">
|
2018-08-27 19:22:25 +00:00
|
|
|
<div class="setting-item" >
|
|
|
|
<h2>{{$t('settings.name_bio')}}</h2>
|
|
|
|
<p>{{$t('settings.name')}}</p>
|
2019-04-02 10:12:31 +00:00
|
|
|
<EmojiInput
|
2019-03-26 17:40:37 +00:00
|
|
|
type="text"
|
|
|
|
v-model="newName"
|
|
|
|
id="username"
|
|
|
|
classname="name-changer"
|
|
|
|
/>
|
2018-08-27 19:22:25 +00:00
|
|
|
<p>{{$t('settings.bio')}}</p>
|
2019-03-26 17:40:37 +00:00
|
|
|
<EmojiInput
|
|
|
|
type="textarea"
|
|
|
|
v-model="newBio"
|
|
|
|
classname="bio"
|
|
|
|
/>
|
2018-08-27 19:22:25 +00:00
|
|
|
<p>
|
2018-12-13 12:58:38 +00:00
|
|
|
<input type="checkbox" v-model="newLocked" id="account-locked">
|
2018-08-27 19:22:25 +00:00
|
|
|
<label for="account-locked">{{$t('settings.lock_account_description')}}</label>
|
|
|
|
</p>
|
2019-03-03 13:15:41 +00:00
|
|
|
<div>
|
2018-08-27 19:22:25 +00:00
|
|
|
<label for="default-vis">{{$t('settings.default_vis')}}</label>
|
|
|
|
<div id="default-vis" class="visibility-tray">
|
2019-03-03 13:15:41 +00:00
|
|
|
<scope-selector
|
|
|
|
:showAll="true"
|
|
|
|
:userDefault="newDefaultScope"
|
|
|
|
:onScopeChange="changeVis"/>
|
2018-08-27 19:22:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-09-22 03:54:05 +00:00
|
|
|
<p>
|
2018-12-13 12:58:38 +00:00
|
|
|
<input type="checkbox" v-model="newNoRichText" id="account-no-rich-text">
|
2018-09-22 03:54:05 +00:00
|
|
|
<label for="account-no-rich-text">{{$t('settings.no_rich_text_description')}}</label>
|
|
|
|
</p>
|
2018-12-13 12:58:38 +00:00
|
|
|
<p>
|
2019-02-06 11:21:13 +00:00
|
|
|
<input type="checkbox" v-model="hideFollows" id="account-hide-follows">
|
|
|
|
<label for="account-hide-follows">{{$t('settings.hide_follows_description')}}</label>
|
2019-01-29 22:11:40 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<input type="checkbox" v-model="hideFollowers" id="account-hide-followers">
|
|
|
|
<label for="account-hide-followers">{{$t('settings.hide_followers_description')}}</label>
|
2018-12-13 12:58:38 +00:00
|
|
|
</p>
|
2019-02-04 14:03:35 +00:00
|
|
|
<p>
|
|
|
|
<input type="checkbox" v-model="showRole" id="account-show-role">
|
|
|
|
<label for="account-show-role" v-if="role === 'admin'">{{$t('settings.show_admin_badge')}}</label>
|
|
|
|
<label for="account-show-role" v-if="role === 'moderator'">{{$t('settings.show_moderator_badge')}}</label>
|
|
|
|
</p>
|
2019-02-05 19:33:16 +00:00
|
|
|
<button :disabled='newName && newName.length === 0' class="btn btn-default" @click="updateProfile">{{$t('general.submit')}}</button>
|
2018-08-27 19:22:25 +00:00
|
|
|
</div>
|
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{$t('settings.avatar')}}</h2>
|
2019-02-03 01:39:41 +00:00
|
|
|
<p class="visibility-notice">{{$t('settings.avatar_size_instruction')}}</p>
|
2019-02-09 02:59:33 +00:00
|
|
|
<p>{{$t('settings.current_avatar')}}</p>
|
2019-03-26 17:42:27 +00:00
|
|
|
<img :src="user.profile_image_url_original" class="current-avatar" />
|
2019-02-09 02:59:33 +00:00
|
|
|
<p>{{$t('settings.set_new_avatar')}}</p>
|
|
|
|
<button class="btn" type="button" id="pick-avatar" v-show="pickAvatarBtnVisible">{{$t('settings.upload_a_photo')}}</button>
|
|
|
|
<image-cropper trigger="#pick-avatar" :submitHandler="submitAvatar" @open="pickAvatarBtnVisible=false" @close="pickAvatarBtnVisible=true" />
|
2018-08-27 19:22:25 +00:00
|
|
|
</div>
|
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{$t('settings.profile_banner')}}</h2>
|
|
|
|
<p>{{$t('settings.current_profile_banner')}}</p>
|
2019-03-26 17:42:27 +00:00
|
|
|
<img :src="user.cover_photo" class="banner" />
|
2018-08-27 19:22:25 +00:00
|
|
|
<p>{{$t('settings.set_new_profile_banner')}}</p>
|
2019-03-26 17:42:27 +00:00
|
|
|
<img class="banner" v-bind:src="bannerPreview" v-if="bannerPreview" />
|
2018-08-27 19:22:25 +00:00
|
|
|
<div>
|
2019-03-26 17:42:27 +00:00
|
|
|
<input type="file" @change="uploadFile('banner', $event)" />
|
2018-08-27 19:22:25 +00:00
|
|
|
</div>
|
2018-12-13 08:25:03 +00:00
|
|
|
<i class=" icon-spin4 animate-spin uploading" v-if="bannerUploading"></i>
|
|
|
|
<button class="btn btn-default" v-else-if="bannerPreview" @click="submitBanner">{{$t('general.submit')}}</button>
|
|
|
|
<div class='alert error' v-if="bannerUploadError">
|
|
|
|
Error: {{ bannerUploadError }}
|
2018-12-18 18:26:14 +00:00
|
|
|
<i class="button-icon icon-cancel" @click="clearUploadError('banner')"></i>
|
2018-08-27 19:22:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{$t('settings.profile_background')}}</h2>
|
|
|
|
<p>{{$t('settings.set_new_profile_background')}}</p>
|
2019-03-26 17:42:27 +00:00
|
|
|
<img class="bg" v-bind:src="backgroundPreview" v-if="backgroundPreview" />
|
2018-08-27 19:22:25 +00:00
|
|
|
<div>
|
2019-03-26 17:42:27 +00:00
|
|
|
<input type="file" @change="uploadFile('background', $event)" />
|
2018-08-27 19:22:25 +00:00
|
|
|
</div>
|
2018-12-13 08:25:03 +00:00
|
|
|
<i class=" icon-spin4 animate-spin uploading" v-if="backgroundUploading"></i>
|
|
|
|
<button class="btn btn-default" v-else-if="backgroundPreview" @click="submitBg">{{$t('general.submit')}}</button>
|
|
|
|
<div class='alert error' v-if="backgroundUploadError">
|
|
|
|
Error: {{ backgroundUploadError }}
|
2018-12-18 18:26:14 +00:00
|
|
|
<i class="button-icon icon-cancel" @click="clearUploadError('background')"></i>
|
2018-08-27 19:22:25 +00:00
|
|
|
</div>
|
2018-06-23 07:53:15 +00:00
|
|
|
</div>
|
2018-05-29 14:19:28 +00:00
|
|
|
</div>
|
2018-08-27 19:22:25 +00:00
|
|
|
|
2018-08-28 13:22:49 +00:00
|
|
|
<div :label="$t('settings.security_tab')">
|
2018-08-27 19:22:25 +00:00
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{$t('settings.change_password')}}</h2>
|
|
|
|
<div>
|
|
|
|
<p>{{$t('settings.current_password')}}</p>
|
|
|
|
<input type="password" v-model="changePasswordInputs[0]">
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<p>{{$t('settings.new_password')}}</p>
|
|
|
|
<input type="password" v-model="changePasswordInputs[1]">
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<p>{{$t('settings.confirm_new_password')}}</p>
|
|
|
|
<input type="password" v-model="changePasswordInputs[2]">
|
|
|
|
</div>
|
|
|
|
<button class="btn btn-default" @click="changePassword">{{$t('general.submit')}}</button>
|
|
|
|
<p v-if="changedPassword">{{$t('settings.changed_password')}}</p>
|
|
|
|
<p v-else-if="changePasswordError !== false">{{$t('settings.change_password_error')}}</p>
|
|
|
|
<p v-if="changePasswordError">{{changePasswordError}}</p>
|
|
|
|
</div>
|
|
|
|
|
2019-02-12 18:53:59 +00:00
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{$t('settings.oauth_tokens')}}</h2>
|
|
|
|
<table class="oauth-tokens">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2019-02-17 21:01:18 +00:00
|
|
|
<th>{{$t('settings.app_name')}}</th>
|
2019-02-12 19:07:10 +00:00
|
|
|
<th>{{$t('settings.valid_until')}}</th>
|
2019-02-12 18:53:59 +00:00
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr v-for="oauthToken in oauthTokens" :key="oauthToken.id">
|
2019-02-17 21:01:18 +00:00
|
|
|
<td>{{oauthToken.appName}}</td>
|
2019-02-12 18:53:59 +00:00
|
|
|
<td>{{oauthToken.validUntil}}</td>
|
|
|
|
<td class="actions">
|
2019-02-12 19:07:10 +00:00
|
|
|
<button class="btn btn-default" @click="revokeToken(oauthToken.id)">
|
|
|
|
{{$t('settings.revoke_token')}}
|
|
|
|
</button>
|
2019-02-12 18:53:59 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2018-08-27 19:22:25 +00:00
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{$t('settings.delete_account')}}</h2>
|
|
|
|
<p v-if="!deletingAccount">{{$t('settings.delete_account_description')}}</p>
|
|
|
|
<div v-if="deletingAccount">
|
|
|
|
<p>{{$t('settings.delete_account_instructions')}}</p>
|
|
|
|
<p>{{$t('login.password')}}</p>
|
|
|
|
<input type="password" v-model="deleteAccountConfirmPasswordInput">
|
|
|
|
<button class="btn btn-default" @click="deleteAccount">{{$t('settings.delete_account')}}</button>
|
|
|
|
</div>
|
|
|
|
<p v-if="deleteAccountError !== false">{{$t('settings.delete_account_error')}}</p>
|
|
|
|
<p v-if="deleteAccountError">{{deleteAccountError}}</p>
|
|
|
|
<button class="btn btn-default" v-if="!deletingAccount" @click="confirmDelete">{{$t('general.submit')}}</button>
|
|
|
|
</div>
|
2017-12-23 14:44:22 +00:00
|
|
|
</div>
|
2018-08-27 19:22:25 +00:00
|
|
|
|
2019-05-25 07:01:02 +00:00
|
|
|
<div :label="$t('settings.interactions_tab')" v-if="pleromaBackend">
|
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{$t('settings.notifications')}}</h2>
|
|
|
|
<ul class="setting-list">
|
|
|
|
<li>
|
|
|
|
<input type="checkbox" id="notification-setting-local" v-model="notificationSettings.local">
|
|
|
|
<label for="notification-setting-local">
|
|
|
|
{{$t('settings.notification_setting_local')}}
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input type="checkbox" id="notification-setting-remote" v-model="notificationSettings.remote">
|
|
|
|
<label for="notification-setting-remote">
|
|
|
|
{{$t('settings.notification_setting_remote')}}
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input type="checkbox" id="notification-setting-follows" v-model="notificationSettings.follows">
|
|
|
|
<label for="notification-setting-follows">
|
|
|
|
{{$t('settings.notification_setting_follows')}}
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input type="checkbox" id="notification-setting-non-follows" v-model="notificationSettings.non_follows">
|
|
|
|
<label for="notification-setting-non-follows">
|
|
|
|
{{$t('settings.notification_setting_non_follows')}}
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input type="checkbox" id="notification-setting-followers" v-model="notificationSettings.followers">
|
|
|
|
<label for="notification-setting-followers">
|
|
|
|
{{$t('settings.notification_setting_followers')}}
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input type="checkbox" id="notification-setting-non-followers" v-model="notificationSettings.non_followers">
|
|
|
|
<label for="notification-setting-non-followers">
|
|
|
|
{{$t('settings.notification_setting_non_followers')}}
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<button class="btn btn-default" @click="updateNotificationSettings">{{$t('general.submit')}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-08-28 13:22:49 +00:00
|
|
|
<div :label="$t('settings.data_import_export_tab')" v-if="pleromaBackend">
|
2018-08-27 19:22:25 +00:00
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{$t('settings.follow_import')}}</h2>
|
|
|
|
<p>{{$t('settings.import_followers_from_a_csv_file')}}</p>
|
2019-03-30 09:10:57 +00:00
|
|
|
<Importer :submitHandler="importFollows" :successMessage="$t('settings.follows_imported')" :errorMessage="$t('settings.follow_import_error')" />
|
2018-08-27 19:22:25 +00:00
|
|
|
</div>
|
2019-03-30 12:03:40 +00:00
|
|
|
<div class="setting-item">
|
2018-08-27 19:22:25 +00:00
|
|
|
<h2>{{$t('settings.follow_export')}}</h2>
|
2019-03-30 12:03:40 +00:00
|
|
|
<Exporter :getContent="getFollowsContent" filename="friends.csv" :exportButtonLabel="$t('settings.follow_export_button')" />
|
2018-08-27 19:22:25 +00:00
|
|
|
</div>
|
2019-03-30 11:27:53 +00:00
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{$t('settings.block_import')}}</h2>
|
|
|
|
<p>{{$t('settings.import_blocks_from_a_csv_file')}}</p>
|
2019-03-30 12:07:49 +00:00
|
|
|
<Importer :submitHandler="importBlocks" :successMessage="$t('settings.blocks_imported')" :errorMessage="$t('settings.block_import_error')" />
|
2019-03-30 11:27:53 +00:00
|
|
|
</div>
|
2019-03-30 12:14:52 +00:00
|
|
|
<div class="setting-item">
|
|
|
|
<h2>{{$t('settings.block_export')}}</h2>
|
|
|
|
<Exporter :getContent="getBlocksContent" filename="blocks.csv" :exportButtonLabel="$t('settings.block_export_button')" />
|
|
|
|
</div>
|
2018-05-13 14:09:07 +00:00
|
|
|
</div>
|
2019-02-20 17:36:15 +00:00
|
|
|
|
2019-02-13 12:15:08 +00:00
|
|
|
<div :label="$t('settings.blocks_tab')">
|
2019-04-02 17:18:41 +00:00
|
|
|
<div class="profile-edit-usersearch-wrapper">
|
2019-04-02 20:28:51 +00:00
|
|
|
<Autosuggest :filter="filterUnblockedUsers" :query="queryUserIds" :placeholder="$t('settings.search_user_to_block')">
|
2019-04-02 20:02:02 +00:00
|
|
|
<BlockCard slot-scope="row" :userId="row.item"/>
|
2019-04-02 20:10:03 +00:00
|
|
|
</Autosuggest>
|
2019-04-02 17:18:41 +00:00
|
|
|
</div>
|
2019-04-15 20:37:42 +00:00
|
|
|
<BlockList :refresh="true" :getKey="identity">
|
2019-04-12 02:15:58 +00:00
|
|
|
<template slot="header" slot-scope="{selected}">
|
2019-04-04 20:20:48 +00:00
|
|
|
<div class="profile-edit-bulk-actions">
|
2019-04-12 02:15:58 +00:00
|
|
|
<ProgressButton class="btn btn-default" v-if="selected.length > 0" :click="() => blockUsers(selected)">
|
2019-04-04 17:30:34 +00:00
|
|
|
{{ $t('user_card.block') }}
|
2019-04-04 18:03:57 +00:00
|
|
|
<template slot="progress">{{ $t('user_card.block_progress') }}</template>
|
2019-04-04 17:30:34 +00:00
|
|
|
</ProgressButton>
|
2019-04-12 02:15:58 +00:00
|
|
|
<ProgressButton class="btn btn-default" v-if="selected.length > 0" :click="() => unblockUsers(selected)">
|
2019-04-04 17:30:34 +00:00
|
|
|
{{ $t('user_card.unblock') }}
|
2019-04-04 18:03:57 +00:00
|
|
|
<template slot="progress">{{ $t('user_card.unblock_progress') }}</template>
|
2019-04-04 17:30:34 +00:00
|
|
|
</ProgressButton>
|
|
|
|
</div>
|
|
|
|
</template>
|
2019-04-12 02:15:58 +00:00
|
|
|
<template slot="item" slot-scope="{item}"><BlockCard :userId="item" /></template>
|
2019-02-14 08:19:07 +00:00
|
|
|
<template slot="empty">{{$t('settings.no_blocks')}}</template>
|
2019-04-04 02:17:42 +00:00
|
|
|
</BlockList>
|
2019-02-13 12:15:08 +00:00
|
|
|
</div>
|
2019-02-24 08:02:04 +00:00
|
|
|
|
|
|
|
<div :label="$t('settings.mutes_tab')">
|
2019-04-02 20:14:45 +00:00
|
|
|
<div class="profile-edit-usersearch-wrapper">
|
2019-04-02 20:28:51 +00:00
|
|
|
<Autosuggest :filter="filterUnMutedUsers" :query="queryUserIds" :placeholder="$t('settings.search_user_to_mute')">
|
2019-04-02 20:14:45 +00:00
|
|
|
<MuteCard slot-scope="row" :userId="row.item"/>
|
|
|
|
</Autosuggest>
|
|
|
|
</div>
|
2019-04-15 20:37:42 +00:00
|
|
|
<MuteList :refresh="true" :getKey="identity">
|
2019-04-12 02:15:58 +00:00
|
|
|
<template slot="header" slot-scope="{selected}">
|
2019-04-04 20:20:48 +00:00
|
|
|
<div class="profile-edit-bulk-actions">
|
2019-04-12 02:15:58 +00:00
|
|
|
<ProgressButton class="btn btn-default" v-if="selected.length > 0" :click="() => muteUsers(selected)">
|
2019-04-04 18:02:46 +00:00
|
|
|
{{ $t('user_card.mute') }}
|
2019-04-04 18:03:57 +00:00
|
|
|
<template slot="progress">{{ $t('user_card.mute_progress') }}</template>
|
2019-04-04 18:02:46 +00:00
|
|
|
</ProgressButton>
|
2019-04-12 02:15:58 +00:00
|
|
|
<ProgressButton class="btn btn-default" v-if="selected.length > 0" :click="() => unmuteUsers(selected)">
|
2019-04-04 18:02:46 +00:00
|
|
|
{{ $t('user_card.unmute') }}
|
2019-04-04 18:03:57 +00:00
|
|
|
<template slot="progress">{{ $t('user_card.unmute_progress') }}</template>
|
2019-04-04 18:02:46 +00:00
|
|
|
</ProgressButton>
|
|
|
|
</div>
|
|
|
|
</template>
|
2019-04-12 02:15:58 +00:00
|
|
|
<template slot="item" slot-scope="{item}"><MuteCard :userId="item" /></template>
|
2019-02-24 08:02:04 +00:00
|
|
|
<template slot="empty">{{$t('settings.no_mutes')}}</template>
|
2019-04-04 02:17:42 +00:00
|
|
|
</MuteList>
|
2019-02-24 08:02:04 +00:00
|
|
|
</div>
|
2018-08-27 19:22:25 +00:00
|
|
|
</tab-switcher>
|
2017-08-02 19:09:40 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./user_settings.js">
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
2019-02-07 08:05:59 +00:00
|
|
|
@import '../../_variables.scss';
|
|
|
|
|
2017-08-02 19:09:40 +00:00
|
|
|
.profile-edit {
|
2018-04-07 16:30:27 +00:00
|
|
|
.bio {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-03-31 18:14:36 +00:00
|
|
|
|
2019-05-16 02:21:06 +00:00
|
|
|
.visibility-tray {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
2018-04-07 16:30:27 +00:00
|
|
|
input[type=file] {
|
|
|
|
padding: 5px;
|
2018-05-29 19:44:45 +00:00
|
|
|
height: auto;
|
2018-04-07 16:30:27 +00:00
|
|
|
}
|
2018-03-31 18:14:36 +00:00
|
|
|
|
2018-04-07 16:30:27 +00:00
|
|
|
.banner {
|
2019-02-11 08:06:37 +00:00
|
|
|
max-width: 100%;
|
2018-04-07 16:30:27 +00:00
|
|
|
}
|
2017-08-02 19:09:40 +00:00
|
|
|
|
2018-04-07 16:30:27 +00:00
|
|
|
.uploading {
|
|
|
|
font-size: 1.5em;
|
|
|
|
margin: 0.25em;
|
|
|
|
}
|
2019-02-01 21:12:14 +00:00
|
|
|
|
|
|
|
.name-changer {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-02-09 20:42:51 +00:00
|
|
|
|
|
|
|
.bg {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2019-02-07 08:05:59 +00:00
|
|
|
|
2019-02-09 02:59:33 +00:00
|
|
|
.current-avatar {
|
2019-02-07 08:05:59 +00:00
|
|
|
display: block;
|
|
|
|
width: 150px;
|
|
|
|
height: 150px;
|
|
|
|
border-radius: $fallback--avatarRadius;
|
|
|
|
border-radius: var(--avatarRadius, $fallback--avatarRadius);
|
|
|
|
}
|
2019-02-12 18:53:59 +00:00
|
|
|
|
|
|
|
.oauth-tokens {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
2019-04-02 17:18:41 +00:00
|
|
|
|
|
|
|
&-usersearch-wrapper {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
2019-04-04 17:30:34 +00:00
|
|
|
|
2019-04-04 20:20:48 +00:00
|
|
|
&-bulk-actions {
|
2019-04-04 17:30:34 +00:00
|
|
|
text-align: right;
|
|
|
|
padding: 0 1em;
|
|
|
|
min-height: 28px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
width: 10em;
|
|
|
|
}
|
|
|
|
}
|
2017-08-02 19:09:40 +00:00
|
|
|
}
|
|
|
|
</style>
|