Commit Graph

22 Commits

Author SHA1 Message Date
Dominik Csapak
a6c60aed86 gui: ceph: add ServiceList component and use it
this is an abstraction for listing Ceph Services with a few improvements:
* start/stop/restart buttons for all services (incl. icons)
* a syslog button to view the syslog of that service
* correct reloading behaviour when creating/destroying

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-06-05 12:41:11 +02:00
Tim Marx
4616a55b37 added basic ability to install ceph via gui
Signed-off-by: Tim Marx <t.marx@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-08 12:33:31 +01:00
Dominik Csapak
fa59b32d33 gui: add ceph monitor restart button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-11-23 12:23:42 +01:00
Thomas Lamprecht
56a353b9e7 use RestProxy from widget toolkit
Split PVE specific models, which where not moved to the general
widget toolkit, in a separate folder: data/models/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00
Thomas Lamprecht
eaa018d71e use DiffStore from widget toolkit
The alias stayed the same (store.diff) so we need to change direct
usage of 'PVE.data.DiffStore' only.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00
Thomas Lamprecht
8cbc11a70c use TaskViewer & TaskProgress window from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00
Thomas Lamprecht
9fccc702ec use windowEdit from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00
Dominik Csapak
e7ade592e3 use Proxmox.Utils instead of PVE.Utils
some function are now in Proxmox.Utils instead, so we have to use that

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-01-25 13:36:38 +01:00
Dominik Csapak
5720fafabc use Button from widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-01-25 13:36:37 +01:00
Dominik Csapak
0c7c0d6bcf use UpdateStore from widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-01-25 13:36:37 +01:00
Thomas Lamprecht
35085f4ae8 ui: ceph: add some help buttons
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-10-19 08:51:34 +02:00
Dominik Csapak
7566b294b6 also mention manager in create monitor title
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-31 15:25:34 +02:00
Emmanuel Kasper
d5e771ce51 Rename 'create' to 'isCreate' in pveWindowEdit and subclasses
This fixes around 20 jslint type confusion warnings.
Also reduce the scope and document jslint warnings along the way.
No functional changes.
2017-03-02 10:36:35 +01:00
Dominik Csapak
361aafd0e1 make ceph panels/grids stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:16:44 +01:00
Dominik Csapak
ba93a9c665 move onlineHelp into classes from definition
this patch moves the onlineHelp ids into the javascript classes, instead
of defining them where we use the classes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-02 17:13:12 +01:00
Thomas Lamprecht
4769a80dbd Ceph/Monitor: set name column witdh to 100px
so that we can actually read the monitor name without resizing the
grid every time we visit, there is space enough

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-09-28 08:25:31 +02:00
Thomas Lamprecht
fe651e6f4a Ceph/Monitor: sort monitors after name
we get the entries random else, which is unintuitive.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-09-28 08:25:15 +02:00
Dominik Csapak
4661648a14 drop all hide calls
since we do not use tabpanels anymore,
the hide calls and listeners do nothing,
so we can drop them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-24 12:46:47 +02:00
Dominik Csapak
d5066d8487 fix ceph tabs switching
when switching from one node to another, we stop the wrong store
for the ceph tabs disk/monitor/pools because they have the same id,
so give them different ones

also the same applies for node/Services, fix it there too

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-13 10:36:56 +02:00
Dominik Csapak
c474314e5a ext6migrate: fix whitespaces and intendation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 10:34:05 +01:00
Dominik Csapak
5e0fd1b9d0 ext6migrate: fix most ceph subtabs
this fixed the ceph subtabs: Status,Config,Crush,Disks,Monitor
with the usual fixes:
 * moving static configuration to class definition
 * change deprecated fields
 * make xtypes consistent
 * change "show" event to "activated"

 special note: i moved the subtabs to the left (like the firewall),
 because the alternatives are really bad (top looks not good, bottom
 is not obvious)

 i also changed the width of some headers in gridpanels when the
 title was too long

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 10:32:44 +01:00
Dietmar Maurer
1a70cd637a copy ceph/Monitor.js from manager to manager6 2016-03-04 06:14:49 +01:00