Commit Graph

16 Commits

Author SHA1 Message Date
Stefan Sterz
bf2ecac32c ui: trim whitespaces when adding a subscription key
users that add the correct subscription key just get unnecessarily
confused with a "value does not match the regex pattern" error if
they accidentally have a stray whitespace at the end or beginning
otherwise.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
2024-03-01 11:38:52 +01:00
Stefan Sterz
25c72be0dc subscription: remove hard-coded white background
setting the background color in js code adds that property as a style
attribute to the element. that makes it hard to alter later via css
and makes it hard to dynamically change the color e.g. if we want to
add different themes. the background color for this element is white
already anyway, so just remove them here.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by:  Dominik Csapak <d.csapak@proxmox.com>
2023-03-15 15:38:54 +01:00
Thomas Lamprecht
28eb60c0bd eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-30 14:08:16 +01:00
Thomas Lamprecht
c87d46fbe8 tree wide: eslint --fix
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-23 13:17:15 +02:00
Thomas Lamprecht
22b6f5db77 report: indentation cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-04 08:22:19 +02:00
Thomas Lamprecht
51ef4bbe9c followup: add separator
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-04 08:21:33 +02:00
Moayad Almalat
a5db7653b8 gui: alow to remove subscription
Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
2020-06-04 07:47:57 +02:00
Dominik Csapak
5101a9f82e fix html entities in system report file
since the content of the window is encoded with 'Ext.htmlEncode'
we have to decode it with 'Ext.String.htmlDecode' (Ext.htmlDecode is
a deprecated alias for it) before downloading the file

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-08-09 09:22:17 +02:00
Dominik Csapak
35241008bf add system report to gui
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-26 12:57:15 +01:00
Dominik Csapak
ff735274ca jslint: add Proxmox global to files
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:28:56 +02:00
Dominik Csapak
a151c079d8 remove border from Subscription
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-19 15:43:48 +02:00
Dominik Csapak
ad02dfe776 add title to Subscription panel
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-04 12:54:52 +02:00
Dietmar Maurer
54fd9bd875 add help button to subscription upload window 2017-10-03 14:50:56 +02:00
Dietmar Maurer
28580cc2af Subscription.js - add onlineHelp 2017-09-27 17:45:12 +02:00
Dietmar Maurer
562d589cea set enableTextSelection in Subscription grid 2017-09-27 13:13:58 +02:00
Dietmar Maurer
a10c81d94d add Subscription panel 2017-09-27 12:55:54 +02:00