From 8306b8b1a5163e163269f47e6ab725f2d022c647 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Thu, 28 Jan 2021 12:59:52 +0100 Subject: [PATCH] ui: tape: use panels in tape interface Signed-off-by: Dominik Csapak --- www/tape/TapeManagement.js | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/www/tape/TapeManagement.js b/www/tape/TapeManagement.js index d7400f06..f61c26d7 100644 --- a/www/tape/TapeManagement.js +++ b/www/tape/TapeManagement.js @@ -5,7 +5,31 @@ Ext.define('PBS.TapeManagement', { title: gettext('Tape Backup'), border: true, - defaults: { border: false }, + defaults: { + border: false, + xtype: 'panel', + }, - html: "Experimental tape backup GUI.", + items: [ + { + title: gettext('Backup'), + itemId: 'backup', + xtype: 'pbsBackupOverview', + }, + { + title: gettext('Changers'), + itemId: 'changers', + xtype: 'pbsChangerStatus', + }, + { + title: gettext('Drives'), + itemId: 'drives', + xtype: 'pbsTapeDrivePanel', + }, + { + title: gettext('Media Pools'), + itemId: 'pools', + xtype: 'pbsMediaPoolPanel', + }, + ], });