]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
node/Tasks: merge improvements from PBS and make it more generic
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 24 Jun 2021 07:16:16 +0000 (09:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 28 Jun 2021 14:06:49 +0000 (16:06 +0200)
commit9e059d560c872f14aef0e586010a6b6a91ce2729
tree7f65406f40e900640b10addded943602ba8522c4
parent5995eddcc48ddb63d235905cd0a948f38c5e9164
node/Tasks: merge improvements from PBS and make it more generic

this copies most of the task grid from pbs, but adds handling so that
users can add aribtrary filter fields

the filter fields always present are:
* since
* until
* task type
* task status

other filters fields can be added by giving an 'extraFilter' array
which must contain widget definitions that emit a 'change' event.
this is then used to update the filters for the api call

also you can add a 'preFilter' object, that sets the filter parameter
only once at the beginning

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/css/ext6-pmx.css
src/node/Tasks.js