proxmox-backup/www/tape
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
..
form ui: tape: DriveSelector: make wider and fine-tune column flex 2021-06-07 16:57:45 +02:00
window ui: tape/Restore: allow simple namespace mapping 2022-05-13 14:09:53 +02:00
BackupJobs.js ui: fix group-filter property name 2021-11-22 09:13:32 +01:00
BackupOverview.js ui: tape/BackupOverview: show namespaces as their own level above groups 2022-05-13 14:08:32 +02:00
ChangerConfig.js ui: tape: increase tapestore interval 2021-03-10 11:00:10 +01:00
ChangerStatus.js ui: tape/ChangerStatus: improve layout for large libraries 2021-07-26 10:12:03 +02:00
DriveConfig.js ui: tape: increase tapestore interval 2021-03-10 11:00:10 +01:00
DriveStatus.js ui: tape: reload drive status on user actions 2021-04-23 16:25:17 +02:00
EncryptionKeys.js ui: use shorter datetime format for encryption key creation time 2021-03-04 17:57:40 +01:00
PoolConfig.js ui: tape: retention/allocation are Policies, note so 2021-03-28 13:28:36 +02:00
TapeInventory.js ui: hyphenate "Media-Set" to make it clearer that its one noun 2021-05-21 15:53:50 +02:00
TapeManagement.js ui: tape panel: add/use icons 2021-03-08 14:35:36 +01:00