]>
git.proxmox.com Git - proxmox-widget-toolkit.git/blob - src/panel/PruneKeepPanel.js
1 Ext
.define('Proxmox.panel.PruneInputPanel', {
2 extend
: 'Proxmox.panel.InputPanel',
3 xtype
: 'pmxPruneInputPanel',
4 mixins
: ['Proxmox.Mixin.CBind'],
7 //onlineHelp: 'maintenance_pruning',
9 cbindData: function() {
11 me
.isCreate
= !!me
.isCreate
;
17 xtype
: 'pmxPruneKeepInput',
19 fieldLabel
: gettext('keep-last'),
21 deleteEmpty
: '{!isCreate}',
25 xtype
: 'pmxPruneKeepInput',
27 fieldLabel
: gettext('Keep Daily'),
29 deleteEmpty
: '{!isCreate}',
33 xtype
: 'pmxPruneKeepInput',
35 fieldLabel
: gettext('Keep Monthly'),
37 deleteEmpty
: '{!isCreate}',
43 xtype
: 'pmxPruneKeepInput',
44 fieldLabel
: gettext('Keep Hourly'),
47 deleteEmpty
: '{!isCreate}',
51 xtype
: 'pmxPruneKeepInput',
53 fieldLabel
: gettext('Keep Weekly'),
55 deleteEmpty
: '{!isCreate}',
59 xtype
: 'pmxPruneKeepInput',
61 fieldLabel
: gettext('Keep Yearly'),
63 deleteEmpty
: '{!isCreate}',