Commit Graph

32 Commits

Author SHA1 Message Date
Thomas Lamprecht
87f43acb8e ui: improve ZFS pool name validator accuracy
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-11-19 15:56:46 +01:00
Thomas Lamprecht
58de15074f ui: node disk manage: mark using ZFS reserved pool names as invalid
ZFS will die anyway later so catch this earlier for better UX

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-11-18 18:27:56 +01:00
Thomas Lamprecht
2db62238ee ui: disk manage: move dRAID options into field set
to avoid an overly asymmetric form field balance

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-11-17 19:29:21 +01:00
Thomas Lamprecht
049b783638 ui: disk manage: rework assembling dRAID options
Simply use onGetValues to assemble the dRAID config, if any.

We do not need to bother with setting values as this is only for
creates, never for edit/displays.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-11-17 19:14:08 +01:00
Stefan Hrdlicka
84cf9e4f4b fix #3967: enable ZFS dRAID creation in WebGUI
add fields for additional settings required by ZFS dRAID

Signed-off-by: Stefan Hrdlicka <s.hrdlicka@proxmox.com>
2022-11-17 18:47:23 +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
Fabian Ebner
6c356c927b partially fix #2285: ui: disk create: allow selecting partitions
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-11-11 21:51:04 +01:00
Fabian Ebner
87f1600869 ui: zfs create: switch to using widget-toolkit's multiDiskSelector
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-11-11 21:51:01 +01:00
Fabian Ebner
bccfb43f9f ui: node: storage removal: add checkbox for cleaning up disks
and factor out a SafeDestroyStorage sub-class to avoid duplication.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-11-10 14:03:27 +01:00
Fabian Ebner
14066c09ce ui: node: add destroy menu for directory, lvm, lvmthin, zfs
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-11-10 14:03:27 +01:00
Dominik Csapak
fc2ff3e889 ui: node/ZFS: add zstd to possible compression methods
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-07-30 17:04:05 +02:00
Thomas Lamprecht
dc90ab40ff ui: node/ZFS-storage: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-19 12:11:46 +02:00
Dominik Csapak
1bd7bcdbf1 ui: Utils: use render functions from widget-toolkit
they live there now, so we can delete them here and use the ones from
widget-toolkit instead

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-22 18:34:34 +02:00
Thomas Lamprecht
face18ee72 ui: zpool status detail: reuse existing translation
this is not something one really questions when not there, so avoid
adding a extra overly specific translation as "No Data" fits quite
well..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-26 09:15:29 +01:00
Stoiko Ivanov
91399609b2 ui: zpool status detail: add default for scrub information
in case a zpool has not been yet scrubbed, there is no 'scan'
information in `zpool status` output.

Adding a informational text in that case might help users to notice
that something is not configured optimally (e.g. disabled cronjob)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-02-26 09:10:44 +01:00
Thomas Lamprecht
53e3ea8488 ui: eslint: enforce "no-extra-parens" rule
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:42:36 +01:00
Thomas Lamprecht
8058410f40 ui: eslint: fix various spacing related issues
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:39:15 +01:00
Thomas Lamprecht
f6710aac38 ui: eslint: fix trailing comma and comma related whitespaces errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:31:03 +01:00
Stoiko Ivanov
7d2e6f5b7e add model information to ZFS create window
and improve the layout by adding flex values and increasing the width.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-06-06 19:36:46 +02:00
Thomas Lamprecht
3bbce3b8cd drop jslint lines
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 18:11:47 +02:00
Stoiko Ivanov
f71b7c28ff change .pve-hint to .pmx-hint css-class
With introducing pmx-hint to pmg as well, by adding a 'pmx-hint' css-class
to proxmox-widget-toolkit, it makes sense to use the definition everywhere.
this patch drops the .pve-hint class from pve's css and replaces all occurences
in the GUI-source.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-10-09 09:11:04 +02:00
Thomas Lamprecht
deca45c125 followup: HW Raid note: move to bottom and fixup link
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-21 15:28:20 +02:00
Dominik Csapak
bd36813405 gui: add raid warnings for ceph and zfs
Wording is from the installer

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-06-21 15:19:02 +02:00
Thomas Lamprecht
d52134b72e ui: ZFS: don't use gettext for ZFS specific columuns
hard to translate sensible and also better for user to have them in
english as much more can be found when searching those specific
terms. To what would one translate CKSUM for example?

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-23 07:13:07 +01:00
Thomas Lamprecht
37e228da8c ui: node/zfs: fix up order of variable declaration to match grid order
It confused me twice and I enabled autoScroll on the wrong component,
so order it as it's layouted and remove the autoscroll completely,
not needed at all...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-12 12:31:47 +01:00
Thomas Lamprecht
50d5490f3a ui: node/zfs: fix stretch and scroll in details window
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-12 12:27:17 +01:00
Tim Marx
8cfe208868 node zfs: added panel to window as container for new components
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2018-11-12 12:11:39 +01:00
Tim Marx
e98bcf01c4 node zfs: added new component to display additional zfs details
ZFSStatus component got renamed to ZFSDevices to clarify that it only displays
 the device tree of the status command. The newly added component is now named
 ZFSStatus instead.

Signed-off-by: Tim Marx <t.marx@proxmox.com>
2018-11-12 12:11:39 +01:00
Tim Marx
eb43c6f438 node zfs: added read, write, cksum fields to device tree
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2018-11-12 12:11:39 +01:00
Thomas Lamprecht
98b48cbd37 followup: remove unnecessarry new line
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-09 14:47:06 +01:00
Dominik Csapak
f04e415b5e add 'single' type for zfs creation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-08 12:03:04 +02:00
Dominik Csapak
fee716d32b add ZFS list/detail/create gui
list shows zpools only, with detail the user can see
the status of the indiviual vdevs/mirrors

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-08 08:14:06 +02:00