ui: datastore: minor UX improvements and whitepsace cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-12-19 17:44:20 +01:00
parent e9af5b4a29
commit e88e3c3a35
1 changed files with 13 additions and 12 deletions

View File

@ -61,6 +61,7 @@ Ext.define('PBS.DataStoreConfig', {
win.show(); win.show();
} }
}, },
'-',
gc_btn gc_btn
//edit_btn, remove_btn //edit_btn, remove_btn
]; ];
@ -71,9 +72,6 @@ Ext.define('PBS.DataStoreConfig', {
store: store, store: store,
selModel: sm, selModel: sm,
tbar: tbar, tbar: tbar,
viewConfig: {
trackOver: false
},
columns: [ columns: [
{ {
header: gettext('Name'), header: gettext('Name'),
@ -122,6 +120,7 @@ Ext.define('PBS.DataStoreInputPanel', {
{ {
xtype: 'textfield', xtype: 'textfield',
name: 'name', name: 'name',
allowBlank: false,
fieldLabel: gettext('Name'), fieldLabel: gettext('Name'),
}, },
], ],
@ -130,7 +129,9 @@ Ext.define('PBS.DataStoreInputPanel', {
{ {
xtype: 'textfield', xtype: 'textfield',
name: 'path', name: 'path',
fieldLabel: gettext('Backing Path') allowBlank: false,
fieldLabel: gettext('Backing Path'),
emptyText: gettext('An absolute path'),
}, },
], ],