Commit Graph

2512 Commits

Author SHA1 Message Date
Dominik Csapak
19e2978be2 use new statusview for storage
to better fit with the rest

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-05 07:00:07 +02:00
Dominik Csapak
ed37370c4a move rrd legend to the bottom, make it toggleable
this is to make up for the lost width,
and to make up for the lost height, you
can now toggle the legend

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-05 06:58:00 +02:00
Dominik Csapak
7ec884caee fix width of panels in statusviews
since we introduced the vertical menus,
each panel is about 30px too wide for having
two side by side with a 1920x1080 resolution

this patch changes, the paddings/sizes so that
this fits again, at the cost of about 30 pixels width
per panel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-05 06:55:33 +02:00
Dominik Csapak
d96ac9736a show smart text if disk type is not ATA
in case the disk is not type ATA (e.g. SAS),
the smartctl output is not well parsable,
so we show the raw text instead

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-05 06:53:57 +02:00
Dominik Csapak
2149db2a21 add loadMask to Disk and SMART grid
also use the hasMany reference of the model

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-05 06:52:25 +02:00
Dominik Csapak
232801847b add htmlEncode to S.M.A.R.T. Fields
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-05 06:48:27 +02:00
Dominik Csapak
6f6bb9c2eb fix jslint error
trailing comma

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-04 10:48:57 +02:00
Emmanuel Kasper
7e06d55dd6 Minor refactor for #1115 (reload grid after template download)
Move the listener to the new window declaration to make it clear
this listener is not bound to the current component
2016-09-28 17:33:29 +02: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
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
Emmanuel Kasper
8b97744c78 fix #1115 reload storage grid after template download
Refresh the grid after the template has been downloaded, instead
of refreshing after the template has been selected.

this fix a the problem that a newly Turnkey / PVE downloaded template
would not be shown in the storage content grid after closing the task
window
2016-09-27 10:27:42 +02:00
Dietmar Maurer
29d03d47ed prepare version number for new 4.3 release 2016-09-23 08:40:16 +02:00
Dietmar Maurer
e9a891f24f bump version to 4.2-23 2016-09-21 16:17:45 +02:00
Emmanuel Kasper
13a399c456 do not test for the cgmanager package in pveversion fix #1117
the package has been removed from the list of lxcfs dependencies
since 0.12-pve1
2016-09-21 16:16:52 +02:00
Dietmar Maurer
e252cc4ace bump version to 4.2-22 2016-09-20 17:28:38 +02:00
Emmanuel Kasper
d6dfc45b8e add a warning message if the EFI disk is missing fix #1112
do not display an obstrusive popup on top of a modal window,
but display a hint under the combo box
2016-09-20 17:21:50 +02:00
Emmanuel Kasper
2c0e2890e0 fix #1113 use a LSI controller for legacy OSes
instead of setting virtio-scsi for all newly created VMs, pass the
OS Optimal SCSI Controller to pveQemuCreateWizard which will
add it as an hidden paramater just before POSTing the wizard data
to the API.
2016-09-20 17:21:34 +02:00
Emmanuel Kasper
c149681d61 fix #1113: preserve LSI controller for legacy Oses
The SCSI HW type handling will be made in the Wizard class, removing from here.
2016-09-20 17:18:19 +02:00
Dietmar Maurer
2145398fbe bump version to 4.2-21 2016-09-16 08:35:56 +02:00
Dietmar Maurer
60ca33057c code cleanup 2016-09-16 07:38:47 +02:00
Dietmar Maurer
59f2dd3dcf use refresh event instead of datachanged 2016-09-16 07:36:15 +02:00
Fabian Grünbichler
203fd3488f lxc: correctly display cpulimit
the backend defaults to 0 (unlimited), so this should also be the default
in the GUI if nothing is set.
2016-09-16 06:58:27 +02:00
Dominik Csapak
b7c32bee5f change overflowhandler of actionmenu to scroller
the menu overflowhandler has a few problems
(alignment, no action for some entries)
so we change it to type scroller

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-15 13:41:02 +02:00
Dominik Csapak
dc6e32eb04 add missing documentation link to firewall log
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-15 11:58:38 +02:00
Dominik Csapak
a50de12435 add tooltip hashmap/generator for help button
instead of manually setting the onlineHelpTooltip property
we now have a method which maps links to the docs to
titles

for now this uses a static hashmap, but in the future
we want to generate this by the pve-docs package

also most of the subheaders we can generate instead of
saving them because they simply have each word capitalized
(e.g. '_container_network' => 'Container Network')

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-15 11:58:17 +02:00
Emmanuel Kasper
9daa22a630 Use SCSI controller as default for l26 guests fix #1105
NB: This is only for new created VMs.
2016-09-15 11:40:12 +02:00
Emmanuel Kasper
eca87c69bc virtio-scsi-pci as default SCSI for new VMS fix #1106 2016-09-15 11:36:35 +02:00
Dominik Csapak
d33823bf07 add tooltip to help button
with this patch, the help button on the config panels
get a tooltip with the text of the property
onlineHelpTooltip

or when an options has an onlineHelp defined but no
tooltip text, it gets the title of the option
(e.g. Datacenter -> Backup has the Tooltip "Backup")

We want this, to clarify where the help button goes,
without actually clicking

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-14 13:05:38 +02:00
Emmanuel Kasper
f184350f9d Bugfix Only set a content when we have a selection
Removing a node via updateTree() would cause the selection to be lost temporary
which in turn via the selectionchange listener would select an
empty content.
Now we only set a content if we have a selection.
This fix a graphical glitch where a migrated VM would not be properly
re-selected at its new position in tree.

The bug was introduced by:
    Clear sensitive content when logging out fixes #1060
    de7eeaac1c
2016-09-14 11:47:18 +02:00
Dominik Csapak
67fc6ddf0e add onlineHelp for UEFI
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:46:07 +02:00
Dominik Csapak
1535df627b give error instead of disabling efidisk button
when seabios is selected, we do not want to simply
disable the add efi button, because it is not clear
why it is disabled

so we give a meaningful error message instead

the button is still 'just' disabled when there
is already an efidisk, because then it is clear
that you alread have one

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:45:49 +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
565a68be99 add onlineHelp to pool and storage
and their options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:42:17 +02:00
Dominik Csapak
3c724630b3 add onlineHelp to qemu
and its options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:42:06 +02:00
Dominik Csapak
7f1ac74ce7 add onlineHelp to lxc
and its options, and to network input panel
and mount point input panel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:41:53 +02:00
Dominik Csapak
0f9347a6ff add onlineHelp to nodes
and to its options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:41:39 +02:00
Dominik Csapak
983277c98b add onlineHelp links to Datacenter
also add it to its options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:41:29 +02:00
Dominik Csapak
9cc74dfe30 add a helpbutton to the toolbar of the configpanel
this adds a contextual help button to the action
toolbar on the far right.

now the subclasses of pvePanelConfig have to have
a property 'onlineHelp', which is a relative link
to the relevant documentation

if no link is given, we output 'No Help available'.

For the folder view, we have a switch statement,
because these are dynamically created and simply
from type pvePanelConfig

if an option has the property onlineHelp, this link
will be set when selecting it, so that
you have a contextual help button for the options
(e.g. directly to the backup documentation on the 'Backup' entry)

if an option does not have this property, it defaults
to the pvePanelConfig property

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:40:43 +02:00
Dominik Csapak
3ef5861105 add global help button
this adds a global help button to the top,
which links to the index of our included documentation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:37:08 +02:00
Dominik Csapak
4542b0d633 make pveHelpButton more abstract
this adds an option to set the helplink on the global event

also we now only set the link instead of the complete handler,
which is now static and gets the url from a property
(which we will set directly for other help buttons)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:36:48 +02:00
Dominik Csapak
5b19317420 update favicon, add homescreen icon
this updates the favicon to 64px and the new logo
and adds a 128px image for apple/android homescreen

also we add the relevant html meta link tags
for apple/android homescreen icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 08:56:53 +02:00
Dominik Csapak
55d727ca7a use new logo
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 08:56:08 +02:00
Dominik Csapak
816b62b0aa fix #1104: add missing /firewall in url
with the reorganizing of the tabs to
the treelist, we forgot to add /firewall to some
urls, making the url for source/destination invalid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 08:03:20 +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
194c9b0964 add efidisk to qemu hardwareview
this shows an active efidisk above
unused disks, without an editor (because there are no options)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 07:51:19 +02:00
Dominik Csapak
1c67cee1ed add new efidisk edit window
this will be used to add an efidisk,
mostly copied from hdedit, but stripped down,
because we do not use most of the functionality here

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 07:50:09 +02:00
Dominik Csapak
f118971daf use renamed alias for xtype
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 07:47:34 +02:00
Dominik Csapak
4cb75dd989 rename alias of some form fields, and remove brackets
to be conform with the rest of the code

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 07:46:46 +02:00
Dietmar Maurer
ee9d0f6a44 bump version to 4.2-20 2016-09-09 10:40:48 +02:00