diff --git a/dashboard/public/js/index.js b/dashboard/public/js/index.js index 8bb5078d0..e26ee1f9f 100644 --- a/dashboard/public/js/index.js +++ b/dashboard/public/js/index.js @@ -47,8 +47,8 @@ app.config(['$routeProvider', function ($routeProvider) { $routeProvider.when('/', { redirectTo: '/apps' }).when('/users', { - controller: 'UsersController', - templateUrl: 'views/users.html?' + window.VITE_CACHE_ID + // controller: 'UsersController', + // templateUrl: 'views/users.html?' + window.VITE_CACHE_ID }).when('/user-directory', { // controller: 'UserSettingsController', // templateUrl: 'views/user-directory.html?' + window.VITE_CACHE_ID diff --git a/dashboard/src/Index.vue b/dashboard/src/Index.vue index 8d5448d02..5d7d53b33 100644 --- a/dashboard/src/Index.vue +++ b/dashboard/src/Index.vue @@ -14,6 +14,7 @@ import ServicesView from './views/ServicesView.vue'; import SettingsView from './views/SettingsView.vue'; import SupportView from './views/SupportView.vue'; import UserDirectoryView from './views/UserDirectoryView.vue'; +import UsersView from './views/UsersView.vue'; import VolumesView from './views/VolumesView.vue'; const VIEWS = { @@ -29,6 +30,7 @@ const VIEWS = { SETTINGS: 'settings', SUPPORT: 'support', USER_DIRECTORY: 'user-directory', + USERS: 'users', VOLUMES: 'volumes', }; @@ -59,8 +61,10 @@ function onHashChange() { view.value = VIEWS.SETTINGS; } else if (v === VIEWS.SUPPORT) { view.value = VIEWS.SUPPORT; - } else if (v === VIEWS.USER_DIRECTORY) { + } else if (v === VIEWS.USER_DIRECTORY) { view.value = VIEWS.USER_DIRECTORY; + } else if (v === VIEWS.USERS) { + view.value = VIEWS.USERS; } else if (v === VIEWS.VOLUMES) { view.value = VIEWS.VOLUMES; } else { @@ -99,6 +103,7 @@ onMounted(async () => { + diff --git a/dashboard/src/views/UsersView.vue b/dashboard/src/views/UsersView.vue new file mode 100644 index 000000000..c1d1ddc71 --- /dev/null +++ b/dashboard/src/views/UsersView.vue @@ -0,0 +1,188 @@ + + + + +