Dominik Csapak 054ac1b879 add new StatusView component
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>
2016-08-19 13:54:30 +02:00
2015-09-11 08:29:11 +02:00
2016-08-12 10:43:25 +02:00
2016-08-19 13:54:30 +02:00
2011-08-23 16:23:46 +02:00
2014-05-02 11:35:16 +02:00
mtu
2013-12-31 10:15:31 +01:00
2011-09-21 12:24:40 +02:00
2015-07-29 06:46:16 +02:00
2015-07-29 06:46:16 +02:00
2016-05-03 06:58:49 +02:00
Description
No description provided
276 MiB
Languages
JavaScript 62.6%
Perl 35%
Makefile 1.2%
CSS 0.6%
Smarty 0.3%
Other 0.2%