mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 07:17:56 +00:00
ui: resource tree settings: make wider and clarify field labels
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0489947166
commit
dc4056cfcb
@ -7,8 +7,9 @@ Ext.define('PVE.window.TreeSettingsEdit', {
|
|||||||
|
|
||||||
url: '#', // ignored as submit() gets overriden here, but the parent class requires it
|
url: '#', // ignored as submit() gets overriden here, but the parent class requires it
|
||||||
|
|
||||||
|
width: 450,
|
||||||
fieldDefaults: {
|
fieldDefaults: {
|
||||||
labelWidth: 120,
|
labelWidth: 150,
|
||||||
},
|
},
|
||||||
|
|
||||||
items: [
|
items: [
|
||||||
@ -18,7 +19,7 @@ Ext.define('PVE.window.TreeSettingsEdit', {
|
|||||||
{
|
{
|
||||||
xtype: 'proxmoxKVComboBox',
|
xtype: 'proxmoxKVComboBox',
|
||||||
name: 'sort-field',
|
name: 'sort-field',
|
||||||
fieldLabel: gettext('Sort Field'),
|
fieldLabel: gettext('Sort Key'),
|
||||||
comboItems: [
|
comboItems: [
|
||||||
['__default__', `${Proxmox.Utils.defaultText} (VMID)`],
|
['__default__', `${Proxmox.Utils.defaultText} (VMID)`],
|
||||||
['vmid', 'VMID'],
|
['vmid', 'VMID'],
|
||||||
@ -44,7 +45,7 @@ Ext.define('PVE.window.TreeSettingsEdit', {
|
|||||||
{
|
{
|
||||||
xtype: 'proxmoxKVComboBox',
|
xtype: 'proxmoxKVComboBox',
|
||||||
name: 'group-guest-types',
|
name: 'group-guest-types',
|
||||||
fieldLabel: gettext('Group Types'),
|
fieldLabel: gettext('Group Guest Types'),
|
||||||
comboItems: [
|
comboItems: [
|
||||||
['__default__', `${Proxmox.Utils.defaultText} (${gettext("Yes")})`],
|
['__default__', `${Proxmox.Utils.defaultText} (${gettext("Yes")})`],
|
||||||
[1, gettext('Yes')],
|
[1, gettext('Yes')],
|
||||||
|
Loading…
Reference in New Issue
Block a user