From fbdbda907b2b2ff36fcfe391cf71f50d3c8a6dd3 Mon Sep 17 00:00:00 2001 From: Christian Ebner Date: Tue, 4 Feb 2025 10:39:15 +0100 Subject: [PATCH] ui: expose the s3 client view in the navigation tree Add a `S3 Clients` item to the navigation tree to allow accessing the S3 client configuration view and edit windows. Adds the required source files to the Makefile. Signed-off-by: Christian Ebner Signed-off-by: Thomas Lamprecht --- www/Makefile | 2 ++ www/NavigationTree.js | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/www/Makefile b/www/Makefile index b798ba08..b83588b5 100644 --- a/www/Makefile +++ b/www/Makefile @@ -61,6 +61,7 @@ JSSRC= \ config/RemoteView.js \ config/TrafficControlView.js \ config/ACLView.js \ + config/S3ClientView.js \ config/SyncView.js \ config/VerifyView.js \ config/PruneView.js \ @@ -85,6 +86,7 @@ JSSRC= \ window/PruneJobEdit.js \ window/GCJobEdit.js \ window/UserEdit.js \ + window/S3ClientEdit.js \ window/Settings.js \ window/TokenEdit.js \ window/VerifyJobEdit.js \ diff --git a/www/NavigationTree.js b/www/NavigationTree.js index aac9bd1b..6944c78f 100644 --- a/www/NavigationTree.js +++ b/www/NavigationTree.js @@ -80,6 +80,12 @@ Ext.define('PBS.store.NavigationStore', { path: 'pbsSubscription', leaf: true, }, + { + text: gettext('S3 Remotes'), + iconCls: 'fa fa-cloud-upload', + path: 'pbsS3ClientView', + leaf: true, + }, ], }, {