Commit Graph

220 Commits

Author SHA1 Message Date
Thomas Lamprecht
e4d3f62656 ui: status: improve reuse of gettext
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-05 10:47:58 +02:00
Thomas Lamprecht
2f79184cc0 ui: node status: small code size reduction
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-04 22:09:36 +02:00
Thomas Lamprecht
4b832488aa ui: node/status view: padding-reduce fixup
overlooked the inline one, and that caused some layout troubles

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-04 22:09:17 +02:00
Thomas Lamprecht
98f73c48d2 ui: node/status view: reduce quite generous paddings
As both, the whole panels body and the actual items all had their own
padding it added up quite a bit.

Some padding is good to avoid elements being "glued" to the parent
borders, but that can be done with also with ~15 px vs. 30 px on each
side, so no need to waste that much extra space we can use in some
languages to render content

Added benefit, the status panel now is more in sync with the RRD
panels regarding content start/end.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-04 21:52:05 +02:00
Thomas Lamprecht
bcfcf87bf9 ui: node summary: rework repo status output
the icon on the left side look a bit weird here, as the lines
directly above had none and the actual status which the icon tried to
emphasize is on the right anyway.

Rework also the output.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-04 21:18:43 +02:00
Thomas Lamprecht
e950ab260d ui: node summary: followup code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-04 21:17:35 +02:00
Fabian Ebner
2bb75d1ea3 ui: node summary: show repository configuration status
I tried to use itemid and lookupreference for the nodeStatus item, but couldn't
get it to work, so I factored it out.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-07-04 20:58:33 +02:00
Thomas Lamprecht
56bc50b8a8 ui: adapt task-history icon, use same as in PBS
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-03 02:41:02 +02:00
Thomas Lamprecht
7810be88a4 Revert "ui: temporary disable repo config entry"
This reverts commit 48dd979c4b.
2021-07-03 01:33:42 +02:00
Thomas Lamprecht
48dd979c4b ui: temporary disable repo config entry
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-03 01:26:44 +02:00
Thomas Lamprecht
02c634bcdc ui: node: always show Repositories panel in navigation
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-01 18:40:09 +02:00
Fabian Ebner
2292a19637 ui: add panel for listing APT repositories
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-06-30 21:03:38 +02:00
Dominik Csapak
e24567ac25 ui: node/Config: add vmid filter to task lists
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-06-28 17:51:50 +02:00
Fabian Ebner
be375fee3f ui: disk list: enable wipe disk button
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-06-02 13:20:46 +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
Thomas Lamprecht
0a778d0243 ui: node/LVM-Thin-storage: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-19 12:11:37 +02:00
Thomas Lamprecht
57c29e0b1d ui: node/LVM-storage: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-19 12:11:27 +02:00
Thomas Lamprecht
7650925676 ui: node/directory-storage: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-19 12:11:19 +02:00
Thomas Lamprecht
ecbe890b02 ui: node/command menu: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-19 11:17:24 +02:00
Thomas Lamprecht
3491bd184a ui: node certs: use new loadFile helper to avoid confusion
we did not handle those cert related files like SSH keys, so do not
suggest so.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-19 11:10:16 +02:00
Thomas Lamprecht
48bbb009c3 ui: node/certs: eslint fixes and code cleanup/refactoring/modernize
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-19 11:10:16 +02:00
Thomas Lamprecht
028e4cd309 ui: node certs: make delete button safer, add confirmation
IMO the behavior was really dangerous prev., possibly causing
downtime of API accessing stuff with a single mistaken click.

Follow our general pattern and ask for confirmation

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-19 11:10:16 +02:00
Thomas Lamprecht
3eaf388170 ui: node config: fix internal code order for nav bar
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-24 19:11:46 +02:00
Dominik Csapak
c95917c263 ui: use pmxInfoWidget instead of pveInfoWidget
to prevent that they further diverge than they alread have
(pmxInfoWidget got an additional function that is compatible)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-04-23 10:37:55 +02:00
Dominik Csapak
e3c4b75d9e ui: panel/StatusView: use from widget-toolkit instead
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-04-22 18:34:34 +02:00
Dominik Csapak
2874be00f2 ui: Utils: use updateColumns from widget-toolkit
it was moved there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-04-22 18:34:34 +02:00
Dominik Csapak
a8ea1b6876 ui: use some icons from widget-toolkit
we moved them there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-04-22 18:34:34 +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
e67d454a18 ui: use byte unit and power-of-two base for memory rrd graphs
To better match the gauge in the current status infobox in the same
summary panel, which is already using a format where KiB is 1024

the latter needs a (not yet bumped) widget toolkit update to 2.5-2 or
newer, just setting now to avoid forgetting it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-15 19:31:03 +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
Fabian Ebner
9bfcb16147 ui: disk list: include partitions
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-02-09 12:01:54 +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
Thomas Lamprecht
43faab1838 ui: package versions: make taller, add copy button
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-05 19:45:10 +01:00
Thomas Lamprecht
3ddcdadce1 ui: package versions: code cleanup, use template strings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-05 19:43:57 +01:00
Thomas Lamprecht
d49b51285c ui: node/services: use safer reload as restart command
avoids service interruptions

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-24 15:24:02 +02:00
Thomas Lamprecht
e51cd02b5c ui: node: eslint and style fixes
xtype must be the first definition

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-24 15:24:02 +02:00
Dominik Csapak
4554fe77e5 ui: use pmxDiskList from widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-16 11:43:05 +02:00
Dominik Csapak
d0cfe2eadd ui: use pmxDiskSelector from widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-16 11:43:05 +02: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
Thomas Lamprecht
4de2b2e700 ui: grammar followup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:17:57 +02:00
Thomas Lamprecht
dc54cdf82a ui: node/subscription: eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:15:00 +02:00
Thomas Lamprecht
bc12fba5fc ui: fix system report window indentation + cleanups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:11:16 +02:00
Thomas Lamprecht
b8af8f2d01 ui: order remove button later and add separator to sys report
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:10:47 +02:00
Moayad Almalat
85222f8237 api, ui: allow to remove subscription
Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 13:28:27 +02:00
Thomas Lamprecht
1d5c5ba19a acme: account: hide TOS checkbox during load and reuse field references
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-14 16:28:39 +02:00
Thomas Lamprecht
e023535e15 ui: acme: label account name field as such
As else some people could be confused and put in their name, as below
is the email field, and name+email are quite often pairs.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-14 16:27:08 +02:00