Commit Graph

40 Commits

Author SHA1 Message Date
Thomas Lamprecht
81e102ebc2 ui: disable new notification UI for now, will be reworked
Lukas is currently reworking this so that we have a single panel,
where the filters are match-entries that can also provide the
functionality of the hard-coded filters in the other panel, reducing
complexity and adding flexibility.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-10-29 19:47:42 +01:00
Lukas Wagner
e4eb04d653 ui: add notification target configuration panel
Embed the new notification target configuration panel, implemented in
proxmox-widget-toolkit.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-08-16 11:11:18 +02:00
Lukas Wagner
80c49bb56d ui: allow to configure notification event -> target mapping
This commit adds a new view that allows configuring notification
targets for all existing notification events (replication, updates,
fencing).

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-08-16 11:11:16 +02:00
Dominik Csapak
0eb03eaa51 ui: resource mappings: remove border and add resize handle
aka a 'splitter'. that way the user can determine how much of each panel
he wants to see himself

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-06-19 13:05:17 +02:00
Dominik Csapak
70eb18e8f0 ui: allow configuring pci and usb mapping
uses the new ResourceMapTree to add the CRUD interfaces for the
mappings.

We add both of them into a single panel, since the datacenter menu
already has many entries, and without a proper summary for the group, we
cannot really put them in a category

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-06-16 16:25:42 +02:00
Thomas Lamprecht
fc8f37ee9d ui: realm: clarify that the sync jobs really are for the realm
it's somewhat redundant as onbe is already at the realm view, but for
panel titles it slightly helps if one doesn't have to string together
such "clues" oneself, i.e., it's easier to see where one is - e.g.,
if switching from some other task back to the web UI again, and we
have enough space here, so we ain't winning anything if keeping it
short.

Also add an emptyText to the grid, mostly as view's without anything
always look a bit off (like an error happened on load and one forgot
to mask)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-14 17:36:36 +02:00
Dominik Csapak
4c8fcdd7af ui: realm: move sync job panel into realm panel
and make it collapsible, so that users can hide it if they're not
interested in it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-06-14 17:23:22 +02:00
Thomas Lamprecht
5f936d95fc ui: sdn: consistent usage of VNet & VLAN without gettext
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-14 14:10:56 +02:00
Dominik Csapak
f44ce5955e ui: add Realm Sync panel
a typical CRUD panel for adding/editing/removing realm sync jobs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-07 11:38:34 +02:00
Stefan Sterz
742de03d5a ui: move NotesView panel and NotesEdit window to widget kit
this removes the NotesView panel and NotesEdit and replaces them with
with the version from the widget kit. requires a bump of the widget
toolkit.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
2022-04-13 11:35:30 +02:00
Thomas Lamprecht
411a4577ee ui: tfa: include cluster or node name in issuer
As else people may have a hard time of figuring out for which host a
factor is valid.

As a factor is valid for every cluster node we prefer the cluster
name and for single-nodes we use the node name as fallback.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:02:04 +01:00
Wolfgang Bumiller
8ff8f43512 www: add TFA view to config
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-11 14:38:31 +01:00
Wolfgang Bumiller
3c02565699 www: use af-address-book-o for realms
we do this in PBS, and use the key for TFA

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-11 14:38:31 +01:00
Dominic Jäger
bd800443db ui: close #3504: Add datacenter notes
Like notes for nodes.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-09 18:33:47 +01:00
Thomas Lamprecht
013cd17be7 ui: dc: add comment to odd condition for showing SDN
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-08-24 11:13:28 +02:00
Thomas Lamprecht
8295f55e56 ui: dc: health, config, guests; eslint fixes and code cleanup/refactoring
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-18 15:14:51 +02:00
Alexandre Derumier
1d9643f67c sdn: add subnet/ipam/sdn management
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2021-04-26 15:43:47 +02: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
Dominic Jäger
b37ea2a130 ui: acme: Remove false gettexts
Translating these is not useful; e.g. API would be translated to API in German.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
2021-01-12 11:39:45 +01:00
Dominic Jäger
c63115da85 ui: metrics: Link help button to correct chapter
... instead of generic PVE admin guide.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
2020-11-25 12:32:42 +01:00
Dominik Csapak
f257dcec26 ui: add MetricServerView to Datacenter
adds ui support for configuring the External Metric servers.
for now, influxdb and graphite edit windows do not share code,
it would be ideal to do that once we add more plugins

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-11-21 20:39:33 +01:00
Dominik Csapak
f9c0feeb7e ui: add ACMEClusterView
to show the list of accounts and defined plugins
for now we ignore 'standalone' plugins here and only show 'dns' ones

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-05 19:23:04 +02:00
Fabian Grünbichler
c831fbde20 ui: add Token Panel + Edit Window
modeled after UserView and related code.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-04-25 18:25:06 +02:00
Thomas Lamprecht
35ffde01f0 followup sdn: move a bit below and fix showing on initial load
if the webinterface got loaded the api call to check if SDN is
available did not yet returned, so we could show it by accident -
even if libpve-network-perl wasn't instralled.
Fix that by hiding it (once) in the failure callback of the API call.

also move menu entries below, before Firewall, this fits better to
networking.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-26 15:21:13 +01:00
Alexandre Derumier
12ae2ddd90 add sdn icons
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-26 12:17:53 +01:00
Alexandre Derumier
f1ca55fb03 sdn: enable SDN menu if /cluster/sdn api exist
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-03-23 14:43:29 +01:00
Alexandre Derumier
9233148bc1 add sdn gui
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-03-23 14:43:26 +01:00
Dominik Csapak
f3a469836a gui: add datacenter ceph option
links to the cluster wide dashboard
also link the datacenter dashboard to this instead of a random node

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-27 16:17:29 +02:00
Thomas Lamprecht
2f13e1d201 dc: add simple cluster panel
Show configured cluster nodes with their addresses, votes, IDs.
Also show cluster name, config_version, and node count.

Prepares for creating and joining a cluster over the WebUI.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-04-05 11:25:55 +02:00
Dominik Csapak
a0f3e8e3a2 add replication to stateprovider dictionary
to show the number in the url fragment instead of 'replication'
also change the itemid in the datacenter to 'replication' from 'replica'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-22 10:08:13 +02:00
Dominik Csapak
56297d42c5 add replication grid in datacenter
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-14 07:34:13 +02:00
Dominik Csapak
8a58f55446 merge ha resources into the ha status panel
this changes the ha status view and ha resources view, so that they take
an rstore and use that instead of a new one

we do this, so that we can display the status and the resources grid
with one api call

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 12:30:05 +01:00
Dominik Csapak
ba93a9c665 move onlineHelp into classes from definition
this patch moves the onlineHelp ids into the javascript classes, instead
of defining them where we use the classes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-02 17:13:12 +01:00
Dietmar Maurer
c8802a60b7 use auto-generated block IDs to reference online docu. 2016-10-13 11:26:06 +02:00
Dominik Csapak
983277c98b add onlineHelp links to Datacenter
also add it to its options

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-13 16:41:29 +02:00
Dominik Csapak
2af89b7b59 reorganize datacenter items
use the new tree functionality of the configpanel
make users,groups,pools,roles and auth
subitems of permissions (expanded by default)

instead of using the subconfigpanel for
ha and firewall, use the panels directly
as subitems of ha-status and firewall-rules

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-24 12:20:38 +02:00
Emmanuel Kasper
64ece72558 Enable HA datacenter panel
No further changes needed here
2016-02-17 11:58:36 +01:00
Emmanuel Kasper
85203d5bea ext6migrate: enable the Firewall tab 2016-01-28 16:50:42 +01:00
Emmanuel Kasper
0aba2d0413 ext6migrate: enable the AuthPanel
'data' is renamed to 'comboItems' to match the new KVComboBox
2016-01-28 11:18:14 +01:00
Dietmar Maurer
bac5bd135c rename manager5 to manager6 2016-01-22 11:24:10 +01:00