diff --git a/web/satellite/vuetify-poc/src/components/BucketsDataTable.vue b/web/satellite/vuetify-poc/src/components/BucketsDataTable.vue index 21e1074f1..6a9c229c1 100644 --- a/web/satellite/vuetify-poc/src/components/BucketsDataTable.vue +++ b/web/satellite/vuetify-poc/src/components/BucketsDataTable.vue @@ -11,45 +11,161 @@ hide-details /> - - + + + + + + diff --git a/web/satellite/vuetify-poc/src/router/index.ts b/web/satellite/vuetify-poc/src/router/index.ts index dad215f88..e40988388 100644 --- a/web/satellite/vuetify-poc/src/router/index.ts +++ b/web/satellite/vuetify-poc/src/router/index.ts @@ -58,9 +58,9 @@ const routes: RouteRecordRaw[] = [ component: () => import(/* webpackChunkName: "Buckets" */ '@poc/views/Buckets.vue'), }, { - path: 'bucket', + path: 'buckets/:bucketName', name: 'Bucket', - component: () => import(/* webpackChunkName: "Buckets" */ '@poc/views/Bucket.vue'), + component: () => import(/* webpackChunkName: "Bucket" */ '@poc/views/Bucket.vue'), }, { path: 'access', diff --git a/web/satellite/vuetify-poc/src/views/Buckets.vue b/web/satellite/vuetify-poc/src/views/Buckets.vue index 9be9276c9..409839e05 100644 --- a/web/satellite/vuetify-poc/src/views/Buckets.vue +++ b/web/satellite/vuetify-poc/src/views/Buckets.vue @@ -87,7 +87,7 @@ - + @@ -126,38 +126,4 @@ const bucketNameRules = [ return true; }, ]; -const headers = [ - { - title: 'Name', - align: 'start', - key: 'name', - }, - { title: 'Files', key: 'files' }, - { title: 'Storage', key: 'storage' }, - { title: 'Bandwidth', key: 'bandwidth' }, - { title: 'Date Created', key: 'date' }, -]; -const buckets = [ - { - name: 'Demo', - date: '02 Mar 2023', - files: '4,210', - bandwidth: '481 MB', - storage: '32 GB', - }, - { - name: 'Photos', - date: '03 Mar 2023', - files: '92,155', - bandwidth: '2.0 GB', - storage: '5.2 GB', - }, - { - name: 'Videos', - date: '04 Mar 2023', - files: '24', - bandwidth: '102 MB', - storage: '1.7 TB', - }, -];