use notesview declaratively in storage summary
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
89421b28a7
commit
f2d03c7e51
@ -34,12 +34,6 @@ Ext.define('PVE.storage.Summary', {
|
||||
interval: 1000
|
||||
});
|
||||
|
||||
var statusview = Ext.create('PVE.storage.StatusView', {
|
||||
pveSelNode: me.pveSelNode,
|
||||
rstore: rstore,
|
||||
style: {'padding-top':'0px'}
|
||||
});
|
||||
|
||||
var rrdstore = Ext.create('Proxmox.data.RRDStore', {
|
||||
rrdurl: "/api2/json/nodes/" + nodename + "/storage/" + storage + "/rrddata",
|
||||
model: 'pve-rrd-storage'
|
||||
@ -47,7 +41,11 @@ Ext.define('PVE.storage.Summary', {
|
||||
|
||||
Ext.apply(me, {
|
||||
items: [
|
||||
statusview,
|
||||
{
|
||||
xtype: 'pveStorageStatusView',
|
||||
pveSelNode: me.pveSelNode,
|
||||
rstore: rstore
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxRRDChart',
|
||||
title: gettext('Usage'),
|
||||
|
Loading…
Reference in New Issue
Block a user