mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-07 06:13:28 +00:00
ui; datacenter options: add next-id editor
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
89c0452d6e
commit
47353b27df
@ -284,6 +284,27 @@ Ext.define('PVE.dc.OptionView', {
|
|||||||
minValue: 1,
|
minValue: 1,
|
||||||
maxValue: 64, // arbitrary but generous limit as limits are good
|
maxValue: 64, // arbitrary but generous limit as limits are good
|
||||||
});
|
});
|
||||||
|
me.add_inputpanel_row('next-id', gettext('Next Free VMID Range'), {
|
||||||
|
renderer: PVE.Utils.render_as_property_string,
|
||||||
|
url: "/api2/extjs/cluster/options",
|
||||||
|
items: [{
|
||||||
|
xtype: 'proxmoxintegerfield',
|
||||||
|
name: 'lower',
|
||||||
|
fieldLabel: gettext('Lower'),
|
||||||
|
emptyText: '100',
|
||||||
|
minValue: 100,
|
||||||
|
maxValue: 1000 * 1000 * 1000 - 1,
|
||||||
|
submitValue: true,
|
||||||
|
}, {
|
||||||
|
xtype: 'proxmoxintegerfield',
|
||||||
|
name: 'upper',
|
||||||
|
fieldLabel: gettext('Upper'),
|
||||||
|
emptyText: '1.000.000',
|
||||||
|
minValue: 100,
|
||||||
|
maxValue: 1000 * 1000 * 1000 - 1,
|
||||||
|
submitValue: true,
|
||||||
|
}],
|
||||||
|
});
|
||||||
|
|
||||||
me.selModel = Ext.create('Ext.selection.RowModel', {});
|
me.selModel = Ext.create('Ext.selection.RowModel', {});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user