mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-14 09:25:46 +00:00
ui: add notification config panel
This commit adds the same notification configuration panel that we already use in Proxmox VE. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com> Tested-by: Gabriel Goller <g.goller@proxmox.com> Reviewed-by: Gabriel Goller <g.goller@proxmox.com> Tested-by: Maximiliano Sandoval <m.sandoval@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
a4f1b175d1
commit
0098c9f6f2
@ -68,6 +68,7 @@ JSSRC= \
|
|||||||
config/CertificateView.js \
|
config/CertificateView.js \
|
||||||
config/NodeOptionView.js \
|
config/NodeOptionView.js \
|
||||||
config/MetricServerView.js \
|
config/MetricServerView.js \
|
||||||
|
config/NotificationConfigView.js \
|
||||||
config/PruneAndGC.js \
|
config/PruneAndGC.js \
|
||||||
window/ACLEdit.js \
|
window/ACLEdit.js \
|
||||||
window/BackupGroupChangeOwner.js \
|
window/BackupGroupChangeOwner.js \
|
||||||
|
@ -68,6 +68,12 @@ Ext.define('PBS.store.NavigationStore', {
|
|||||||
path: 'pbsCertificateConfiguration',
|
path: 'pbsCertificateConfiguration',
|
||||||
leaf: true,
|
leaf: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: gettext('Notifications'),
|
||||||
|
iconCls: 'fa fa-bell-o',
|
||||||
|
path: 'pbsNotificationConfigView',
|
||||||
|
leaf: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: gettext('Subscription'),
|
text: gettext('Subscription'),
|
||||||
iconCls: 'fa fa-support',
|
iconCls: 'fa fa-support',
|
||||||
|
11
www/config/NotificationConfigView.js
Normal file
11
www/config/NotificationConfigView.js
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Ext.define('PBS.config.NotificationConfigView', {
|
||||||
|
extend: 'Proxmox.panel.NotificationConfigView',
|
||||||
|
alias: ['widget.pbsNotificationConfigView'],
|
||||||
|
mixins: ['Proxmox.Mixin.CBind'],
|
||||||
|
|
||||||
|
cbindData: function(_initialConfig) {
|
||||||
|
return {
|
||||||
|
baseUrl: '/config/notifications',
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user