mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-07 21:38:56 +00:00
ui: backup detail: some small nits + padding adation
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e4b95752e3
commit
386c9ce560
@ -549,7 +549,7 @@ Ext.define('PVE.dc.BackupInfo', {
|
|||||||
extend: 'Proxmox.panel.InputPanel',
|
extend: 'Proxmox.panel.InputPanel',
|
||||||
alias: 'widget.pveBackupInfo',
|
alias: 'widget.pveBackupInfo',
|
||||||
|
|
||||||
padding: 10,
|
padding: '5 0 5 10',
|
||||||
|
|
||||||
column1: [
|
column1: [
|
||||||
{
|
{
|
||||||
@ -840,26 +840,26 @@ Ext.define('PVE.dc.BackupView', {
|
|||||||
};
|
};
|
||||||
|
|
||||||
var run_detail = function() {
|
var run_detail = function() {
|
||||||
|
let me = this;
|
||||||
let record = sm.getSelection()[0]
|
let record = sm.getSelection()[0]
|
||||||
if (!record) {
|
if (!record) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var me = this;
|
let infoview = Ext.create('PVE.dc.BackupInfo', {
|
||||||
var infoview = Ext.create('PVE.dc.BackupInfo', {
|
|
||||||
flex: 0,
|
flex: 0,
|
||||||
layout: 'fit',
|
layout: 'fit',
|
||||||
record: record.data,
|
record: record.data,
|
||||||
});
|
});
|
||||||
var disktree = Ext.create('PVE.dc.BackupDiskTree', {
|
let disktree = Ext.create('PVE.dc.BackupDiskTree', {
|
||||||
title: gettext('Included disks'),
|
title: gettext('Included disks'),
|
||||||
flex: 1,
|
flex: 1,
|
||||||
jobid: record.data.id,
|
jobid: record.data.id,
|
||||||
});
|
});
|
||||||
|
|
||||||
var win = Ext.create('Ext.window.Window', {
|
Ext.create('Ext.window.Window', {
|
||||||
modal: true,
|
modal: true,
|
||||||
width: 600,
|
width: 800,
|
||||||
height: 500,
|
height: 600,
|
||||||
stateful: true,
|
stateful: true,
|
||||||
stateId: 'backup-detail-view',
|
stateId: 'backup-detail-view',
|
||||||
resizable: true,
|
resizable: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user