Upstream proxmox-git/pve-manager state of the touched files before cc16326380

This commit is contained in:
upstream committed 2026-10-03 01:19:56 +02:00
1 parent eb9893f378
commit d7636520f0
1 file changed
+40
+40
View File
@@ -0,0 +1,40 @@
Ext.define('PVE.sdn.Status', {
extend: 'Ext.panel.Panel',
alias: 'widget.pveSDNStatus',
onlineHelp: 'chapter_pvesdn',
layout: {
type: 'vbox',
align: 'stretch',
},
initComponent: function () {
var me = this;
me.rstore = Ext.create('Proxmox.data.ObjectStore', {
interval: me.interval,
model: 'pve-sdn-status',
storeid: 'pve-store-' + ++Ext.idSeed,
groupField: 'type',
proxy: {
type: 'proxmox',
url: '/api2/json/cluster/resources',
},
});
me.items = [
{
xtype: 'pveSDNStatusView',
title: gettext('Status'),
rstore: me.rstore,
border: 0,
collapsible: true,
padding: '0 0 20 0',
},
];
me.callParent();
me.on('activate', me.rstore.startUpdate);
},
});