ui: move prune and gc widget to config
* move datastore/PruneAndGC to config/PruneAndGC * renaming the widgets to PBS.config.PruneAndGC Signed-off-by: Stefan Lendl <s.lendl@proxmox.com> Tested-by: Gabriel Goller <g.goller@proxmox.com> Reviewd-by: Gabriel Goller <g.goller@proxmox.com> Tested-by: Lukas Wagner <l.wagner@proxmox.com> Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
db3fd2132d
commit
8e07e44ab2
@ -68,6 +68,7 @@ JSSRC= \
|
||||
config/CertificateView.js \
|
||||
config/NodeOptionView.js \
|
||||
config/MetricServerView.js \
|
||||
config/PruneAndGC.js \
|
||||
window/ACLEdit.js \
|
||||
window/BackupGroupChangeOwner.js \
|
||||
window/CreateDirectory.js \
|
||||
@ -106,7 +107,6 @@ JSSRC= \
|
||||
Subscription.js \
|
||||
datastore/Summary.js \
|
||||
datastore/Notes.js \
|
||||
datastore/PruneAndGC.js \
|
||||
datastore/Prune.js \
|
||||
datastore/Content.js \
|
||||
datastore/OptionView.js \
|
||||
|
@ -1,6 +1,6 @@
|
||||
Ext.define('PBS.Datastore.PruneAndGC', {
|
||||
Ext.define('PBS.config.PruneAndGC', {
|
||||
extend: 'Ext.panel.Panel',
|
||||
alias: 'widget.pbsDatastorePruneAndGC',
|
||||
alias: 'widget.pbsPruneAndGC',
|
||||
title: gettext('Prune & GC Jobs'),
|
||||
|
||||
mixins: ['Proxmox.Mixin.CBind'],
|
@ -240,7 +240,7 @@ Ext.define('PBS.datastore.DataStores', {
|
||||
{
|
||||
iconCls: 'fa fa-trash-o',
|
||||
itemId: 'prunegc',
|
||||
xtype: 'pbsDatastorePruneAndGC',
|
||||
xtype: 'pbsPruneAndGC',
|
||||
},
|
||||
{
|
||||
iconCls: 'fa fa-check-circle',
|
||||
|
@ -58,7 +58,7 @@ Ext.define('PBS.DataStorePanel', {
|
||||
},
|
||||
},
|
||||
{
|
||||
xtype: 'pbsDatastorePruneAndGC',
|
||||
xtype: 'pbsPruneAndGC',
|
||||
itemId: 'prunegc',
|
||||
iconCls: 'fa fa-trash-o',
|
||||
cbind: {
|
||||
|
Loading…
Reference in New Issue
Block a user