]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: backup detail: some small nits + padding adation
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Jul 2020 18:04:01 +0000 (20:04 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Jul 2020 18:04:04 +0000 (20:04 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/dc/Backup.js

index 3ad7f6e2ce0a76b848a09d7827fb4f45169f8d70..c96a8ba4e02a40b2472a8bfe7ff29fe43f1d9b51 100644 (file)
@@ -549,7 +549,7 @@ Ext.define('PVE.dc.BackupInfo', {
     extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveBackupInfo',
 
-    padding: 10,
+    padding: '5 0 5 10',
 
     column1: [
        {
@@ -840,26 +840,26 @@ Ext.define('PVE.dc.BackupView', {
        };
 
        var run_detail = function() {
+           let me = this;
            let record = sm.getSelection()[0]
            if (!record) {
                return;
            }
-           var me = this;
-           var infoview = Ext.create('PVE.dc.BackupInfo', {
+           let infoview = Ext.create('PVE.dc.BackupInfo', {
                flex: 0,
                layout: 'fit',
                record: record.data,
            });
-           var disktree = Ext.create('PVE.dc.BackupDiskTree', {
+           let disktree = Ext.create('PVE.dc.BackupDiskTree', {
                title: gettext('Included disks'),
                flex: 1,
                jobid: record.data.id,
            });
 
-           var win = Ext.create('Ext.window.Window', {
+           Ext.create('Ext.window.Window', {
                modal: true,
-               width: 600,
-               height: 500,
+               width: 800,
+               height: 600,
                stateful: true,
                stateId: 'backup-detail-view',
                resizable: true,