|
|
|
@ -22,58 +22,6 @@
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<div id="app-content" class="user-list-grid" @scroll.passive="onScroll">
|
|
|
|
|
<div id="grid-header"
|
|
|
|
|
:class="{'sticky': scrolled && !showConfig.showNewUserForm}"
|
|
|
|
|
class="row">
|
|
|
|
|
<div id="headerAvatar" class="avatar" />
|
|
|
|
|
<div id="headerName" class="name">
|
|
|
|
|
{{ t('settings', 'Username') }}
|
|
|
|
|
|
|
|
|
|
<div class="subtitle">
|
|
|
|
|
{{ t('settings', 'Display name') }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="headerPassword" class="password">
|
|
|
|
|
{{ t('settings', 'Password') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div id="headerAddress" class="mailAddress">
|
|
|
|
|
{{ t('settings', 'Email') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div id="headerGroups" class="groups">
|
|
|
|
|
{{ t('settings', 'Groups') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="subAdminsGroups.length>0 && settings.isAdmin"
|
|
|
|
|
id="headerSubAdmins"
|
|
|
|
|
class="subadmins">
|
|
|
|
|
{{ t('settings', 'Group admin for') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div id="headerQuota" class="quota">
|
|
|
|
|
{{ t('settings', 'Quota') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="showConfig.showLanguages"
|
|
|
|
|
id="headerLanguages"
|
|
|
|
|
class="languages">
|
|
|
|
|
{{ t('settings', 'Language') }}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-if="showConfig.showUserBackend || showConfig.showStoragePath"
|
|
|
|
|
class="headerUserBackend userBackend">
|
|
|
|
|
<div v-if="showConfig.showUserBackend" class="userBackend">
|
|
|
|
|
{{ t('settings', 'User backend') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="showConfig.showStoragePath"
|
|
|
|
|
class="subtitle storageLocation">
|
|
|
|
|
{{ t('settings', 'Storage location') }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="showConfig.showLastLogin"
|
|
|
|
|
class="headerLastLogin lastLogin">
|
|
|
|
|
{{ t('settings', 'Last login') }}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="userActions" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<form v-show="showConfig.showNewUserForm"
|
|
|
|
|
id="new-user"
|
|
|
|
|
:class="{'sticky': scrolled && showConfig.showNewUserForm}"
|
|
|
|
@ -206,6 +154,57 @@
|
|
|
|
|
value="">
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
<div id="grid-header"
|
|
|
|
|
:class="{'sticky': scrolled && !showConfig.showNewUserForm}"
|
|
|
|
|
class="row">
|
|
|
|
|
<div id="headerAvatar" class="avatar" />
|
|
|
|
|
<div id="headerName" class="name">
|
|
|
|
|
{{ t('settings', 'Username') }}
|
|
|
|
|
|
|
|
|
|
<div class="subtitle">
|
|
|
|
|
{{ t('settings', 'Display name') }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="headerPassword" class="password">
|
|
|
|
|
{{ t('settings', 'Password') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div id="headerAddress" class="mailAddress">
|
|
|
|
|
{{ t('settings', 'Email') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div id="headerGroups" class="groups">
|
|
|
|
|
{{ t('settings', 'Groups') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="subAdminsGroups.length>0 && settings.isAdmin"
|
|
|
|
|
id="headerSubAdmins"
|
|
|
|
|
class="subadmins">
|
|
|
|
|
{{ t('settings', 'Group admin for') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div id="headerQuota" class="quota">
|
|
|
|
|
{{ t('settings', 'Quota') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="showConfig.showLanguages"
|
|
|
|
|
id="headerLanguages"
|
|
|
|
|
class="languages">
|
|
|
|
|
{{ t('settings', 'Language') }}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-if="showConfig.showUserBackend || showConfig.showStoragePath"
|
|
|
|
|
class="headerUserBackend userBackend">
|
|
|
|
|
<div v-if="showConfig.showUserBackend" class="userBackend">
|
|
|
|
|
{{ t('settings', 'User backend') }}
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="showConfig.showStoragePath"
|
|
|
|
|
class="subtitle storageLocation">
|
|
|
|
|
{{ t('settings', 'Storage location') }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="showConfig.showLastLogin"
|
|
|
|
|
class="headerLastLogin lastLogin">
|
|
|
|
|
{{ t('settings', 'Last login') }}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="userActions" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<user-row v-for="(user, key) in filteredUsers"
|
|
|
|
|
:key="key"
|
|
|
|
|