Commit Graph

3518 Commits

Author SHA1 Message Date
Thomas Lamprecht
2c5aaf4102 ui: cpu icon: enable crispEdges and increase stroke width slightly
crisp edges avoids antialiasing, which is rather counterproductive on
this icon with straight lines that are in 90° to each other.

The higher stroke width makes it more similar to the previously used
bitmap one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-31 16:03:51 +02:00
Thomas Lamprecht
f9698f62cb ui: qemu: switch processor icon to SVG
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-31 15:43:40 +02:00
Thomas Lamprecht
449d346f41 css: fix parenthesis opening style
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-31 15:39:13 +02:00
Thomas Lamprecht
c35bbd6ef7 ui: sdn: options: flex all and drop collapsible
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-29 17:37:27 +02:00
Thomas Lamprecht
6992e2c51d ui: sdn: fix options panel headings case
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-29 17:32:29 +02:00
Alexandre Derumier
4882f80701 ui: sdn : controllers: bgp : add bgp-multipath-as-path-relax
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2022-03-29 06:55:20 +02:00
Alexandre Derumier
8612f92d17 ui: sdn: zones: evpn : add rt-import
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2022-03-29 06:55:20 +02:00
Alexandre Derumier
f1a13b515f ui: sdn: zones: evpn : move controller option on top of the form
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2022-03-29 06:55:20 +02:00
Alexandre Derumier
8112cb3c3f ui: sdn: zones: evpn : add exitnodes-primary
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2022-03-29 06:55:20 +02:00
Alexandre Derumier
8fdf43a4bd ui: sdn: zones: evpn : add disable-arp-nd-suppression
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2022-03-29 06:55:20 +02:00
Alexandre Derumier
f28f611370 permpathstore: add sdn zones
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2022-03-16 16:43:42 +01:00
Alexandre Derumier
2e29164b1f ui: sdn: zones: evpn : add exitnodes-local-routing && advertise-subnets
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2022-03-16 16:26:27 +01:00
Fabian Ebner
2bc71fd9c3 ui: lxc options: disable features edit as non-root when container is privileged
The backend won't allow any edits in this case, so better just disable
the edit button altogether.

Co-developed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-03-16 16:23:49 +01:00
Aaron Lauterer
8c4ec1aef8 gui: add help button to qm guest agent window
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2022-03-16 15:32:34 +01:00
Thomas Lamprecht
9882c95668 ui: fw grid: eslint auto-fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-16 15:21:37 +01:00
Mira Limbeck
d09a68e446 ui: firwall: change icmp type selector to a combogrid
The combogrid contains all valid icmp types that iptables accepts. In
addition to the names, the Type[/Code] value is shown as well. But
specifying Type[/Code] is not supported.

As the simple solution with setStore() does not work to change the
store for the combogrid, we simply have 2 different
ICMPTypeSelectors, one for IPv4, the other for IPv6, which are
switched depending on the specified protocol.

As disabled fields don't submit their value, we can keep the values
for the dport and both icmp-type fields when switching protocols.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-16 15:20:22 +01:00
Thomas Lamprecht
36e97aa41d ui: vm boot order: move init logic into controller
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-14 08:40:46 +01:00
Aaron Lauterer
8fdc97938b ui: osd: send in/out cmd to currently used node
The in & out commands for OSDs are not node specific and can be run on
any node in the Ceph cluster. By sending them to the node currently used
to access the UI they can still be sent even if the node on which the
OSDs are located is down.

This helps in a disaster scenario where a node is down. By default Ceph
will mark a downed OSD as out after 10 minutes. This could be too long
in some situations. Running the CLI command to mark the OSD as out
earlier on one of the remaining nodes does work, but if the admin is not
used doing it this way, this adds stress, in a potentially already
stressful situation.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2022-03-03 12:15:38 +01:00
Thomas Lamprecht
87faaa0b93 ui: vm: improve validator for CPU share range
Allow the range for the old CGroup V1 one, as while deprecated,
that's still supported and a includes the range for v2 anyway.

With a next major release we may drop v1 support completely, probably
in PVE 8.0, then we can reduce this to the range of [1, 1000] that v2
supports.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-10 19:08:37 +01:00
Thomas Lamprecht
16c6f8afa6 ui: ceph osd: just spread default + custom class values directly
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-28 13:11:18 +01:00
Aaron Lauterer
e7ec42ff45 fix #3451 ui: ceph create osd: show custom device classes
Showing already configured custom device classes makes it easier to
create new OSDs with custom device classes.

The Crush map contains a list of all OSDs in the cluster, including
their device class.
This means we can create a list of used device classes from it, avoiding
adding another API endpoint.

Fetching the crushmap should also be quite a bit less data that needs to
be transferred, compared to the other possible nodes/<node>/ceph/osd
endpoint, especially in larger clusters.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2022-01-28 12:31:39 +01:00
Fabian Ebner
e39843e944 ui: cephfs: use more descriptive field label and gettext
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-01-28 12:07:45 +01:00
Aaron Lauterer
42c455fcd7 ui: rbd: cephfs: add keyring/secret field for external clusters
Manual switching of xtype because binding 'hidden' does not work with
pmxDisplayEditField.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2022-01-28 12:07:37 +01:00
Fabian Ebner
85df37251f ui: lvm: better convey space information
Namely, that it's just assigned/reserved space, not necessarily
actively used. Selection of forum threads about this confusion (of
dozens more):

https://forum.proxmox.com/threads/93820/
https://forum.proxmox.com/threads/52899/
https://forum.proxmox.com/threads/52929/

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-01-28 12:03:20 +01:00
Thomas Lamprecht
d20113ef7e ui: pci passthrough: fix labels of new id/vendor overrides
We do not use 'Set XYZ' anywhere else and it should be clear enough
from the PCI selector in the non-advanced section that the actual
device to get passed-through is chosen else where, but we still can
use the emptyText to avoid confusion where the (sub) vendor/id will
come from if a field is left empty.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-27 15:16:50 +01:00
Nicholas Sherlock
9a9be673d1 ui: pci passthrough: editor for pci-id overrides
Signed-off-by: Nicholas Sherlock <n.sherlock@gmail.com>
2022-01-25 11:17:05 +01:00
Thomas Lamprecht
f703ea43e3 ui: form/calendar event: add monthly and yearly examples
like PBS

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-18 05:51:59 +01:00
Thomas Lamprecht
31de6834c5 ui: backup/run now: avoid passing "next-run" parameter to backend
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-18 05:48:44 +01:00
Thomas Lamprecht
5d51f148cc ui: form/calendar event: enable first-day-of-month example again
the rust based implementation form PBS we recently switched too
supports that

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-13 17:52:27 +01:00
Fabian Ebner
e877e05701 window: safe destroy guest: add note that referenced disks are destroyed
It's not clear to all users otherwise[0].

[0]: https://forum.proxmox.com/threads/100996/post-436919

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-01-13 17:01:39 +01:00
Thomas Lamprecht
5a85eaec27 ui: backuo job detail: drop being stateful, increase default height
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-13 16:55:15 +01:00
Thomas Lamprecht
452bdb03ed ui: backuo job detail: show next-run info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-13 16:55:15 +01:00
Thomas Lamprecht
8aeb7146f9 ui: backuo jobs: move next-run column beside schedule one
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-13 16:55:15 +01:00
Thomas Lamprecht
7ce62ab3ad ui: utils: add render_next_event
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-13 16:55:15 +01:00
Dominik Csapak
c048ad30c8 vzdump: add new 'next-run' field for vzdump job listing
and calculate it by getting the next event after 'now' since
we currently have no way to get the last run time for jobs only running
on different cluster nodes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-01-13 15:33:41 +01:00
Dominik Csapak
758690bf4d add 'auto' mode for noVNC scaling
in commit
07195aa079 ("ui: fix novnc scaling radio button")

we always set to 'scale' when no value was set, but a non-set value
actually had a different behaviour:

in the embedded console it was set to 'scale', but in the pop-up it was
set to 'off'.

to restore this behaviour, introduce an option 'auto' which unsets the
'novnc-scaling' setting

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-01-13 12:58:59 +01:00
Fabian Ebner
545f94e7d2 ui: node: zfs: use ZFSDetail window from widget-toolkit
The only functional differences I could see are the missing
defaultValue for 'Scan' and the reduced height. For restoring the
height, there is a proposed patch for widget-toolkit.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-01-13 12:54:03 +01:00
Dominik Csapak
07195aa079 ui: fix novnc scaling radio buttons
when having selected 'off', the next start of the window has both
radiobuttons selected and no change is possible anymore. It seems that
the 'checked: true' triggers only after the 'init' function.

So instead remove the 'checked: true', and add the default in the init
function.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-01-11 16:32:50 +01:00
Fabian Ebner
392e3cf11d sorters: use correct property 'direction' and keep default 'ASC'
Ext.util.Sorter does not have an 'order' property, so 'order: DESC'
didn't have an effect. The default is 'ASC' and it is arguably the
preferred direction for all affected sorters anyways.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-12-16 10:11:48 +01:00
Fabian Ebner
9082d8d0f9 backup views: sort backups by vmid, then descending by date
to have the most recent ones first, while keeping backups from the
same guest together.

Suggested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-12-15 16:01:40 +01:00
Thomas Lamprecht
2844a42220 ui: ceph status details: refactoring and clenaups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-15 16:01:25 +01:00
Thomas Lamprecht
27c12d32a9 ui: ceph dashboard: render ghost OSDs
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-10 14:28:30 +01:00
Thomas Lamprecht
8ce85523c3 ui: ceph fs: fix overriding renderer in controller
Overriding the controller render_status must be done in an derived
class, not as config for the instantiated object.

While it worked it really isn't idiomatic and ExtJS complained with
an error in debug mode, which broke the whole UI then.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-10 13:24:11 +01:00
Thomas Lamprecht
4938414798 ui: ceph: variable casing style fix
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-10 10:59:46 +01:00
Thomas Lamprecht
523bc167d7 ui: vm create wizard: default to 4 GiB memory for win11 os type
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-09 17:41:45 +01:00
Thomas Lamprecht
ec23a5cb32 ui: calendar event: add once daily example and clarify workday one
Using 00:00 with relying on the implied default is sub optimal as its
a bit of a magic example that new users may not understand as easily.
So spell it out explicitly, even if there'd be a shorter version
possible.

We also had some request for the once-daily every day, and its a
sensible example to have in general, could help getting the
difference between an hour list and a single one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-07 18:51:32 +01:00
Thomas Lamprecht
1ec18d40af ui: upload/download image: trim checksum value
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-03 11:09:51 +01:00
Dominik Csapak
4ad65791fc fix #3689: add gridhandle to firewall rules to indicate drag/drop
dragHandle was copied from the BootOrderEdit.
Also increases the width by 23px to make space for it.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-12-02 19:16:35 +01:00
Oguz Bektas
0ffa230e17 lxc: add lazytime mount option
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2021-12-01 16:28:21 +01:00
Thomas Lamprecht
c24be90e01 ui: dc/openID realm: allow to edit acr values
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-19 07:30:38 +01:00