-
+ |
+
+
+
+
+
+
+ {{ $t('Username') }} |
+ {{ $t('Email') }} |
+ {{ $t('Account status') }} |
+ {{ $t('Sign-up') }} |
+ {{ $t('Last activity') }} |
+ {{ $t('Permissions') }} |
+ {{ $t('Status') }} |
+
+
+
+ {{ scope.obj.username }}
+ |
+
+ {{ scope.obj.email }}
+ |
+
+ {{ $t('Active') }}
+ {{ $t('Inactive') }}
+ |
+
+
+ |
+
+
+ {{ $t('N/A') }}
+ |
+
+
+ {{ p.label }}
+
+ |
+
+ {{ $t('Admin') }}
+ {{ $t('Staff member') }}
+ {{ $t('regular user') }}
+ |
+
+
+
+
+
+
+
+ {{ $t('Showing results {%start%}-{%end%} on {%total%}', {start: ((page-1) * paginateBy) + 1 , end: ((page-1) * paginateBy) + result.results.length, total: result.count})}}
+
+
+
+
+
+
diff --git a/front/src/router/index.js b/front/src/router/index.js
index a52070e35..459077d34 100644
--- a/front/src/router/index.js
+++ b/front/src/router/index.js
@@ -31,6 +31,8 @@ import Favorites from '@/components/favorites/List'
import AdminSettings from '@/views/admin/Settings'
import AdminLibraryBase from '@/views/admin/library/Base'
import AdminLibraryFilesList from '@/views/admin/library/FilesList'
+import AdminUsersBase from '@/views/admin/users/Base'
+import AdminUsersList from '@/views/admin/users/UsersList'
import FederationBase from '@/views/federation/Base'
import FederationScan from '@/views/federation/Scan'
import FederationLibraryDetail from '@/views/federation/LibraryDetail'
@@ -180,6 +182,17 @@ export default new Router({
}
]
},
+ {
+ path: '/manage/users',
+ component: AdminUsersBase,
+ children: [
+ {
+ path: '',
+ name: 'manage.users.list',
+ component: AdminUsersList
+ }
+ ]
+ },
{
path: '/library',
component: Library,
diff --git a/front/src/views/admin/users/Base.vue b/front/src/views/admin/users/Base.vue
new file mode 100644
index 000000000..e545b7f70
--- /dev/null
+++ b/front/src/views/admin/users/Base.vue
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/front/src/views/admin/users/UsersList.vue b/front/src/views/admin/users/UsersList.vue
new file mode 100644
index 000000000..b22d4aaf8
--- /dev/null
+++ b/front/src/views/admin/users/UsersList.vue
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
|