diff --git a/front/src/components/Sidebar.vue b/front/src/components/Sidebar.vue index d46fb846c..03ea4ee07 100644 --- a/front/src/components/Sidebar.vue +++ b/front/src/components/Sidebar.vue @@ -96,6 +96,12 @@ :to="{path: '/manage/settings'}"> {{ $t('Settings') }} + + {{ $t('Users') }} + diff --git a/front/src/components/common/ActionTable.vue b/front/src/components/common/ActionTable.vue index 5221c3282..f23479066 100644 --- a/front/src/components/common/ActionTable.vue +++ b/front/src/components/common/ActionTable.vue @@ -61,7 +61,7 @@ - +
- + +
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+
+
+ + + + +
+
+ + + + {{ $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 @@ + + + + + +