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>
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>
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>
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>
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>
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
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.
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>
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>
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>
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#1060de7eeaac1c
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>
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>
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>
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>
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>
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>
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>