proxmox-backup/www/datastore
Stefan Lendl db3fd2132d fix #3217: ui: global prune and gc job view
In the global datastore view, extend the prune view to display gc job
status as a table.  Use the same widget in the local view and dispaly gc
job status as a single row.

The local PruneAndGC view is parameterized (cbind) with the datastore.
At initialization the only row is selected.  This allows the rest of the
grid to act on selected rows and it requires far less special casing if
the datastore is set on the view or not.

Having a single row always selected and therefore highlighted, is
visually not appealing.  Therefore, highlighting of selected rows is
disabled in the local view.

Moved GCView to different file and enhanced it with last, next run,
status and duration. Added button to show task log.

Changed `render_task_status()` to also take in account upids stored in
other 'columns'.

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
  [LW: include ref to bugzilla in commit message]
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Originally-by: Gabriel Goller <g.goller@proxmox.com>
Tested-by: Gabriel Goller <g.goller@proxmox.com>
Reviewd-by: Gabriel Goller <g.goller@proxmox.com>
Tested-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
2024-04-22 13:58:08 +02:00
..
Content.js fix #5188: gui: add copy to clipboard on snapshots 2024-03-25 16:42:54 +01:00
DataStoreList.js fix #3217: ui: global prune and gc job view 2024-04-22 13:58:08 +02:00
DataStoreListSummary.js ui: datastore summary handle non-existent values 2023-12-11 13:08:51 +01:00
Notes.js ui: improve comment behaviour for datastore Summary 2020-11-16 10:39:34 +01:00
OptionView.js ui: fix deleting datastore without 'keep-job-configs' 2023-11-30 10:18:15 +01:00
Panel.js fix #3217: ui: global prune and gc job view 2024-04-22 13:58:08 +02:00
Prune.js api: make prune-group a real workertask 2024-04-09 12:43:18 +02:00
PruneAndGC.js fix #3217: ui: global prune and gc job view 2024-04-22 13:58:08 +02:00
Summary.js tree-wide: fix various typos 2023-11-29 18:32:07 +01:00