this adds a component StatusView which is intended to replace the old statusview panels of qemu/lxc/nodes (later maybe also pools and storages) it extends Ext.panel.Panel and expects an rstore and title it is not intended to be used directly but to be subclassed it works like this: on instantiating, it adds a listener to the rstore load, so that on every rstore load 'updateValues' gets executed there, if successful, looks for every subcomponent of type 'pveInfoWidget' and calls 'updateField' on it 'updateField' calculates the update text and value for the info widgets based on the given class variables using either: textField -> which gets the value from the store and displays it simple as text (with renderer and calculator) or valueField and (optional) maxField where it determines the usage (also with a renderer and calculator) for both there is a default calculator/renderer but this can be overwritten when instantiating/declaring Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Description
No description provided
Languages
JavaScript
62.6%
Perl
35%
Makefile
1.2%
CSS
0.6%
Smarty
0.3%
Other
0.2%