proxmox-backup/www/form
Dominik Csapak 65bd918ac3 ui: add GroupFilter form field(container)
this contains a grid + button + hidden field which lets the user
add group filters one by one. the first column is the type selector
(type, group, regex) and the second column shows the relevant
input field (groupselector, kvcombobox for type, and textfield for regex)

i had to hack a little to get access to the widgets of the
fieldcontainer, since we cannot simply access the widget of a column
from another column (which we need to show the correct one when changing
the type), also we cannot traverse the widget hirachy in the usual way,
since extjs seems to build it differently for widgetcolumns.

to solve this, i added references of the widgets to the record, and a
reference of the record to the widgets. since this is now a cyclic
reference, i solve that in 'removeFilter' and in 'beforedestroy' of the grid
by removing the references again

also contains a small css style to remove the padding in the rows

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-12-01 06:42:31 +01:00
..
AuthidSelector.js ui: auth/token selector: tell ExtJS we injected data into the store 2020-11-09 12:21:02 +01:00
CalendarEvent.js ui: form/CalendarEvent: do not set displayField 2021-05-26 19:18:40 +02:00
DataStoreSelector.js ui: consistently spell Datastore without space between words 2020-07-02 17:20:41 +02:00
GroupFilter.js ui: add GroupFilter form field(container) 2021-12-01 06:42:31 +01:00
GroupSelector.js ui: add GroupSelector 2021-12-01 06:41:21 +01:00
PermissionPathSelector.js ui: add /access/domains to PermissionPathsStore 2021-07-09 15:36:54 +02:00
RemoteSelector.js remote.cfg: rename userid to 'auth-id' 2020-11-10 13:25:24 +01:00
TokenSelector.js ui: token selector: use same layout as auth id selector 2020-11-09 12:24:54 +01:00