pve-manager/www/manager6/storage/DirEdit.js
Thomas Lamprecht 8058410f40 ui: eslint: fix various spacing related issues
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:39:15 +01:00

39 lines
671 B
JavaScript

Ext.define('PVE.storage.DirInputPanel', {
extend: 'PVE.panel.StorageBase',
onlineHelp: 'storage_directory',
initComponent: function() {
var me = this;
me.column1 = [
{
xtype: me.isCreate ? 'textfield' : 'displayfield',
name: 'path',
value: '',
fieldLabel: gettext('Directory'),
allowBlank: false,
},
{
xtype: 'pveContentTypeSelector',
name: 'content',
value: 'images',
multiSelect: true,
fieldLabel: gettext('Content'),
allowBlank: false,
},
];
me.column2 = [
{
xtype: 'proxmoxcheckbox',
name: 'shared',
uncheckedValue: 0,
fieldLabel: gettext('Shared'),
},
];
me.callParent();
},
});