summaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorGretaD <gretadoci@gmail.com>2020-01-06 13:42:25 +0100
committerJulius Härtl <jus@bitgrid.net>2020-01-16 23:33:34 +0100
commit1818ef9ef89d1d9f6733881e1f56f82f940e8068 (patch)
tree2787af00114a70fa95e316d2a46c425f253caaf0 /apps/settings/src
parent20303281f01a78171ec3da72ab15fb2abee54daa (diff)
downloadnextcloud-server-1818ef9ef89d1d9f6733881e1f56f82f940e8068.tar.gz
nextcloud-server-1818ef9ef89d1d9f6733881e1f56f82f940e8068.zip
fix new user table
Signed-off-by: GretaD <gretadoci@gmail.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/UserList.vue103
1 files changed, 51 insertions, 52 deletions
diff --git a/apps/settings/src/components/UserList.vue b/apps/settings/src/components/UserList.vue
index 40d88007f85..4d8070787ac 100644
--- a/apps/settings/src/components/UserList.vue
+++ b/apps/settings/src/components/UserList.vue
@@ -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"