Commit Graph

9 Commits

Author SHA1 Message Date
Dominik Csapak
b1d8e73d15 add new icons to grid and tree
we set new icons for the tree and grid
changes:
* new icons
* wider type column (bigger icons)
* use arrows true (uses arrows instead of +/- and gets rid of the
  ugly lines in the tree)
* datacenter has icon instead of folder open/close
* "folder view" gets type icons for folders

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-11 11:49:59 +02:00
Dominik Csapak
921324b6e1 use new rrd graphs on storage summary pages
this was missing before
also fix styling error (style takes not a single string parameter)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 17:17:40 +02:00
Dominik Csapak
b549494539 ext6migrate: add RRDStore class and RRDChart
this patch adds two classes for the charts:

RRDStore:

based on our updatestore, but specialized on our rrddata output
it converts the percentage (cpu) and the time (from unix to milliseconds)

also it handles the changes for the timeframe and cf

it sets a default reload of 30seconds

RRDChart:

based on Ext.chart.CartesianChart,
with specialized options for our rrd graphs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 10:38:28 +02:00
Dominik Csapak
fd02b3c506 ext6migrate: add unqueue to UpdateQueue
in the event of a destroyed or stopped object/updateStore,
we do not want to execute queued requests, thus we
need to unqueue them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-11 16:32:47 +01:00
Dominik Csapak
115d172742 ext6migrate: fix DiffStore event
some extjs components expect the datachanged event
to be fired, we changed this to refresh (which
worked for most things, but not all),
this patch fires both events when data is loaded

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 10:32:13 +01:00
Emmanuel Kasper
d934dbca0c fix Timezones window
Ext.regModel() was removed from the framework
rewrite the store in declarative style with inline data
2016-03-02 12:37:16 +01:00
Emmanuel Kasper
147a74c689 Revert "ext5migrate: do not set a custome idProperty for the KeyValue model"
This reverts commit c8e0699d5d.

Without using an idProperty in the KeyValue model, the id of each
store item is autogenerated, and the DiffStore always recreate the whole
store content every second instead of updating the fields where values
have changed. Recreating the whole store content makes the
Node Summary View flicker, as the order of items in the store change
after each reload.

Testing shows that reversing this commit do not break anything else.
2016-02-24 11:05:34 +01:00
Emmanuel Kasper
636247e253 Add documentation header for ObjectGrid.js
also enhance the documentation header for DiffStore and UpdateStore
2016-02-24 11:05:22 +01:00
Dietmar Maurer
bac5bd135c rename manager5 to manager6 2016-01-22 11:24:10 +01:00