From 55e0d734df9d2cad23c85b1c39b8fe6c4195be93 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Sun, 29 Dec 2024 00:36:48 +0100 Subject: [PATCH] Initial rewrite of the apps view --- dashboard/public/js/index.js | 4 +- dashboard/src/components/AppsView.vue | 129 ++++++++++++++++++ dashboard/src/components/Index.vue | 8 +- dashboard/src/components/LogsViewer.vue | 10 +- dashboard/src/components/Terminal.vue | 10 +- .../src/models/{AppModel.js => AppsModel.js} | 17 ++- 6 files changed, 164 insertions(+), 14 deletions(-) create mode 100644 dashboard/src/components/AppsView.vue rename dashboard/src/models/{AppModel.js => AppsModel.js} (77%) diff --git a/dashboard/public/js/index.js b/dashboard/public/js/index.js index 5c217e09d..a9d6b5e99 100644 --- a/dashboard/public/js/index.js +++ b/dashboard/public/js/index.js @@ -62,8 +62,8 @@ app.config(['$routeProvider', function ($routeProvider) { controller: 'AppStoreController', templateUrl: 'views/appstore.html?' + window.VITE_CACHE_ID }).when('/apps', { - controller: 'AppsController', - templateUrl: 'views/apps.html?' + window.VITE_CACHE_ID + // controller: 'AppsController', + // templateUrl: 'views/apps.html?' + window.VITE_CACHE_ID }).when('/profile', { controller: 'ProfileController', templateUrl: 'views/profile.html?' + window.VITE_CACHE_ID diff --git a/dashboard/src/components/AppsView.vue b/dashboard/src/components/AppsView.vue new file mode 100644 index 000000000..5c678fbab --- /dev/null +++ b/dashboard/src/components/AppsView.vue @@ -0,0 +1,129 @@ + + + + + diff --git a/dashboard/src/components/Index.vue b/dashboard/src/components/Index.vue index ada55f12a..8a627b65a 100644 --- a/dashboard/src/components/Index.vue +++ b/dashboard/src/components/Index.vue @@ -1,6 +1,7 @@