20 Commits

Author SHA1 Message Date
Dominik Csapak
23b126b2ba add guests panel
this adds a guests panel which will show the running/stopped/etc. guests
in the cluster dashboard

to update this, we have to call updateValues with the data

we do this, because in the component above, we will collect the data
after a load event of the PVE.data.Resources store, to avoid going
through this (sometimes large) list more than once

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-29 08:39:16 +02:00
Dominik Csapak
0b659b8ef9 add dc health panel
this adds a dc health panel which will be used in the cluster dashboard

it shows the overall cluster status (or simply ok if no cluster defined)
with a symbol and text

then it shows the number of online and offline nodes

optionally it shows then the overall ceph health
of the connected node

if the api call for ceph fails 3 times, we stop it
the ceph status is hidden by default

for updating the cluster and node status, we have to call
updateStatus as a callback from a store which
loads the /api2/json/cluster/status call

we do not have our own store for this, because we will be using the store
which handles this in the component above

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-29 08:38:18 +02:00
Dominik Csapak
f36edd909a add gaugeWidget
this adds a gaugeWidget panel, which will be used for the
cluster dashboard

it shows a title, a gauge (a half circle) with the percentage
in the center

over 59% the color is yellow,
over 89% the color is red

also you can add a text to the bottom

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-29 08:33:13 +02:00
Dominik Csapak
cd81cc2a8e move dcNodeView into its own file
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-29 08:31:47 +02:00
Dominik Csapak
ce11a8afd0 add 'my settings' to top bar
this adds a menu right to the username with an entry 'my settings',
this opens a window with (for now) browser specific settings
and a place to reset them

the plan would be to add password change, 2fa setup etc here

one remark: the reset layout button reloads the window,
to really apply the reset

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-28 09:46:25 +02:00
Dietmar Maurer
c8802a60b7 use auto-generated block IDs to reference online docu. 2016-10-13 11:26:06 +02:00
Thomas Lamprecht
8f46103543 Makefile: fix distclean target
As some Makefiles in sub directories do not implement the distclean
target, namely:
PVE/Service/Makefile
PVE/CLI/Makefile

This target is broken.

As all other implementations just redirect to the 'clean' target I
do not implement the missing ones but rather remove all such
targets. Keep it just in the top level directory, for consistence
sake with other pve repos, and redirect it there directly to the
clean target.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-09-28 08:21:48 +02:00
Dominik Csapak
f3777880e9 whitespace cleanup
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:42:29 +02:00
Dominik Csapak
3b37ab6db8 add efidisk button to add menu
this adds a new button "efi disk" to the
qemu hardware add menu

this is only enabled if the vm has ovmf enabled and
no active efidisk

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 07:52:46 +02:00
Dominik Csapak
f935538f4c remove ceph disk panel code
because we do not need it anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-07 11:44:35 +02:00
Dominik Csapak
a36deac4a5 add DiskList panel
this patch adds a disk list panel which:
lists the disks with typical columns
(type, vendor, serial, smart, wearout, etc.)

and with a doubleclick you can show the smart attributes

and with a click on init disk you can initialize a disk
with a gpt table

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-07 11:17:53 +02:00
Dominik Csapak
6da4aea874 refactor backupconfig window
refactor it in its own class, because we need it again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-05 11:20:41 +02:00
Dominik Csapak
f3bb7cf1a2 remove subconfigpanel related code
this removes all subconfigpanel related code,
since it is not needed anymore

we now have the treelist/cardpanel combo instead of tabpanels
which means we can drop the whole subconfigpanel class
and subclasses

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-24 12:32:25 +02:00
Dominik Csapak
4cb8c20f16 delete old lxc/qemu statusview classes
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-19 13:54:37 +02:00
Dominik Csapak
6d43126dcb include new statusview classes in makefile
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-19 13:54:37 +02:00
Emmanuel Kasper
b70e9ef5c8 Add PVE.qemu.OSDefaults class to hold OS-dependant wizard defaults 2016-07-21 12:46:52 +02:00
Dominik Csapak
839eed5834 fix : add cluster wide search to the top
this makes use of the new globalsearch field and
puts it on top of the page, so that one can easily use it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-21 10:24:03 +02:00
Emmanuel Kasper
ecbca6c4c0 Add help button for PVE
This help button is meant to be added on InputPanels, where a
link to an online documentation chapter or subschapter is available.

Clicking on the help button will open the help in a new
browser tab.

Original idea similar to the pfSense GUI.
2016-06-01 12:30:25 +02:00
Dominik Csapak
52721af8dc add split button
the same code base as our pveButton
(selectionchange handling, confirm,etc.)
but with a split button (a button with a menu)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 07:42:06 +02:00
Dietmar Maurer
5783c7f4dd switch GUI to extjs6 2016-03-31 12:11:31 +02:00