mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 16:23:18 +01:00
Add a label to searchbox filters in user management view
This commit is contained in:
parent
699a2a1f9e
commit
f591910719
@ -132,10 +132,19 @@
|
||||
<SearchBox v-model:keyword="searched" :hasNoBackground="true" :placeholder="$t('admin.search_user_placeholder')" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="buttons is-centered mb-0">
|
||||
<button class="button is-small is-ghost p-0" @click="addFilter('admin:1')">admin</button>
|
||||
<button class="button is-small is-ghost p-0" @click="addFilter('oauth:github')">github</button>
|
||||
<button class="button is-small is-ghost p-0" @click="addFilter('oauth:openid')">openId</button>
|
||||
<div class="level is-mobile mb-0">
|
||||
<div class="level-item has-text-centered is-justify-content-end">
|
||||
<p class="subtitle is-7">
|
||||
{{ $t('admin.quick_filters_colons') }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="level-item has-text-centered is-justify-content-start">
|
||||
<div class="buttons">
|
||||
<button class="button is-small is-ghost p-0" @click="addFilter('admin:1')">admin</button>
|
||||
<button class="button is-small is-ghost p-0" @click="addFilter('oauth:github')">github</button>
|
||||
<button class="button is-small is-ghost p-0" @click="addFilter('oauth:openid')">openId</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="visibleUsers.length > 0">
|
||||
<div v-for="user in visibleUsers" :key="user.id" class="list-item is-size-5 is-size-6-mobile is-flex is-justify-content-space-between">
|
||||
|
@ -22,6 +22,7 @@
|
||||
'create_new_user' => 'Create a user',
|
||||
'new_user' => 'New user',
|
||||
'search_user_placeholder' => 'User name, email...',
|
||||
'quick_filters_colons' => 'Quick filters:',
|
||||
'user_created' => 'user successfully created',
|
||||
'confirm' => [
|
||||
'delete_user' => 'Are you sure you want to delete this user? There is no going back.',
|
||||
|
Loading…
Reference in New Issue
Block a user