ui: move sync/verify jobs to the datastores
add the datastore as parameter for the store, remove the datastore selector for the edit windows and give the datastore to it instead also remove the autostart from the rstore, since we only want to start it when we change to the relevant tab and add icons for all other datastore tabs Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
68931742cb
commit
028d0a1352
@ -53,10 +53,12 @@ Ext.define('PBS.window.SyncJobEdit', {
|
||||
name: 'remote-store',
|
||||
},
|
||||
{
|
||||
fieldLabel: gettext('Local Datastore'),
|
||||
xtype: 'pbsDataStoreSelector',
|
||||
xtype: 'hiddenfield',
|
||||
allowBlank: false,
|
||||
name: 'store',
|
||||
cbind: {
|
||||
value: '{datastore}',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
|
@ -41,10 +41,12 @@ Ext.define('PBS.window.VerifyJobEdit', {
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldLabel: gettext('Datastore'),
|
||||
xtype: 'pbsDataStoreSelector',
|
||||
xtype: 'hiddenfield',
|
||||
allowBlank: false,
|
||||
name: 'store',
|
||||
cbind: {
|
||||
value: '{datastore}',
|
||||
},
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxintegerfield',
|
||||
|
Reference in New Issue
Block a user