proxmox-backup/www
Dominik Csapak b70a12e723 ui: tape/Restore: allow simple namespace mapping
add a default namespace selector (of the current default store)
and a namespace selector per target datastore (for media-sets with
multiple datastores).

to achieve that we have to change the way we handle the mapping field a bit:
* don't use it as field directly (otherwise the value gets stringified),
  but use the 'getValue' method in 'onGetValues'.
* set the defaultStore there, not only that we have one
  (with this we can now easily show it as emptytext for each store)
* add a reference to the widgets to the record so that we can access
  them in the respective change handler (also clean those references up,
  else we have a cyclic reference between record <-> widget)

in onGetValues, if we have multiple datastores, the mapping grid does
all the work for us, otherwise, we have to create the ns mapping
ourselves there.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-05-13 14:09:53 +02:00
..
button ui: administration: set icons for tabs 2020-10-31 09:11:11 +01:00
config ui: add namespace fields to sync 2022-05-12 09:40:43 +02:00
css ui: update icon in datastore list when in maintenance mode 2022-04-27 19:21:19 +02:00
dashboard fix #3447: ui: Dashboard: disallow selection of datastore statistics row 2021-07-12 06:18:45 +02:00
data ui: running tasks: update limit to 100 2020-07-11 12:53:32 +02:00
datastore ui: content: fix various tree-checks from action handlers 2022-05-12 13:28:20 +02:00
form ui: tape/Restore: allow simple namespace mapping 2022-05-13 14:09:53 +02:00
images ui: tape drive icon: invert 2021-03-08 15:51:49 +01:00
panel www: use TFA widgets from widget toolkit 2021-11-17 09:44:55 +01:00
tape ui: tape/Restore: allow simple namespace mapping 2022-05-13 14:09:53 +02:00
window ui: move max NS prefix length logic to reduced max-depth selector 2022-05-13 13:15:02 +02:00
Application.js ui: app: fix openID helper usage and rework style 2021-07-03 23:12:08 +02:00
Dashboard.js ui: fix panel height in the dashboard 2022-03-11 12:52:50 +01:00
DirectoryList.js ui: add DiskList and DirectoryList 2020-06-16 13:36:32 +02:00
LoginView.js www: use TFA widgets from widget toolkit 2021-11-17 09:44:55 +01:00
MainView.js ui: MainView: fix redirectTo call 2021-07-08 11:43:43 +02:00
Makefile ui: move remote target datastore/ns selectors to own file 2022-05-12 09:40:43 +02:00
NavigationTree.js ui: navigation tree: fix losing datastore selection on store load 2022-05-12 14:28:16 +02:00
NodeNotes.js fix #3067: ui: add a separate notes view for longer markdown notes 2022-04-25 08:39:39 +02:00
OnlineHelpInfo.js docs: add system-booting from pve-docs 2022-05-12 10:08:30 +02:00
ServerAdministration.js ui: server administration: repos: add online help 2021-07-22 10:09:53 +02:00
ServerStatus.js ui: window/Settings: add summarycolumns settings 2021-07-12 06:29:21 +02:00
Subscription.js ui: add mising panel help buttons 2020-11-10 13:53:21 +01:00
SystemConfiguration.js ui: sys config: add icons to tabs 2022-01-12 12:41:28 +01:00
Utils.js ui: tape/BackupOverview: show namespaces as their own level above groups 2022-05-13 14:08:32 +02:00
VersionInfo.js ui: minimally increase font-size of product title and version 2021-07-03 23:13:33 +02:00
ZFSList.js ui: some more eslint auto-fixes 2020-09-25 18:34:54 +02:00
index.hbs ui: index: drop enableTapeUI 2021-04-12 15:55:58 +02:00