]>
git.proxmox.com Git - pve-manager.git/blob - www/manager6/storage/CephFSEdit.js
1 Ext
.define('PVE.storage.CephFSInputPanel', {
2 extend
: 'PVE.panel.StorageBase',
3 controller
: 'cephstorage',
5 onlineHelp
: 'storage_cephfs',
11 setValues: function(values
) {
13 this.viewModel
.set('pveceph', false);
14 this.lookupReference('pvecephRef').setValue(false);
15 this.lookupReference('pvecephRef').resetOriginalValue();
17 this.callParent([values
]);
20 initComponent: function() {
24 me
.nodename
= 'localhost';
37 disabled
: '{pveceph}',
38 submitValue
: '{!pveceph}',
41 fieldLabel
: 'Monitor(s)',
45 xtype
: 'displayfield',
48 disabled
: '{!pveceph}',
52 fieldLabel
: 'Monitor(s)',
55 xtype
: me
.isCreate
? 'textfield' : 'displayfield',
59 disabled
: '{pveceph}',
60 submitValue
: '{!pveceph}',
62 fieldLabel
: gettext('User name'),
69 xtype
: 'pveCephFSSelector',
70 nodename
: me
.nodename
,
73 disabled
: '{!pveceph}',
74 submitValue
: '{pveceph}',
77 fieldLabel
: gettext('FS Name'),
81 nodename
: me
.nodename
,
84 disabled
: '{pveceph}',
85 submitValue
: '{!pveceph}',
88 fieldLabel
: gettext('FS Name'),
94 xtype
: 'pveContentTypeSelector',
95 cts
: ['backup', 'iso', 'vztmpl', 'snippets'],
96 fieldLabel
: gettext('Content'),
105 xtype
: 'proxmoxcheckbox',
107 reference
: 'pvecephRef',
109 disabled
: '{!pvecephPossible}',
115 hidden
: !me
.isCreate
,
116 boxLabel
: gettext('Use Proxmox VE managed hyper-converged cephFS'),