[pbs-devel] [PATCH proxmox-backup 00/15] implement first version of tape gui

Dominik Csapak d.csapak at proxmox.com
Wed Jan 27 11:33:46 CET 2021


it's a very rough beginning, mostly so that we can test the features
on the webui

its still not baked in by default, and there are things missing
(e.g. restore, encryption, etc)

also the ux is not representable of what i have in mind for the
finished gui, e.g.
* a first setup wizard
* a wizard for creating/extending media pools
etc.

i'd love some feedback though

Dominik Csapak (15):
  api2/types/tape/drive: add changer_drivenum
  api2/tape/changer: add get_drives api call
  api2/tape/drive: reorganize drive api
  api2/tape: add missing protected to some api calls
  api2/tape/drive: add load_media as api call
  api2/tape/drive: change methods of some api calls from put to get
  api2/config/{drive,changer}: prevent adding same device multiple times
  ui: tape: add form fields
  ui: tape: add Edit Windows
  ui: tape: add BackupOverview Panel
  ui: tape: add ChangerStatus panel
  ui: tape: add DriveConfig panel
  ui: tape: add PoolConfig
  ui: tape: move TapeManagement.js to tape dir
  ui: tape: use panels in tape interface

 src/api2/config/changer.rs              |  13 +-
 src/api2/config/drive.rs                |  38 +-
 src/api2/config/media_pool.rs           |   3 +
 src/api2/tape/backup.rs                 |   1 +
 src/api2/tape/changer.rs                |  72 ++-
 src/api2/tape/drive.rs                  |  82 ++-
 src/api2/tape/media.rs                  |   2 +
 src/api2/tape/mod.rs                    |   5 +
 src/api2/types/tape/drive.rs            |   4 +
 src/bin/proxmox_tape/drive.rs           |   2 +-
 www/Makefile                            |  18 +-
 www/TapeManagement.js                   |  11 -
 www/tape/BackupOverview.js              | 150 ++++++
 www/tape/ChangerStatus.js               | 631 ++++++++++++++++++++++++
 www/tape/DriveConfig.js                 | 316 ++++++++++++
 www/tape/PoolConfig.js                  | 119 +++++
 www/tape/TapeManagement.js              |  35 ++
 www/tape/form/AllocationSelector.js     |  31 ++
 www/tape/form/ChangerSelector.js        |  60 +++
 www/tape/form/DriveSelector.js          |  69 +++
 www/tape/form/PoolSelector.js           |  44 ++
 www/tape/form/RetentionSelector.js      |  26 +
 www/tape/form/TapeDevicePathSelector.js |  62 +++
 www/tape/window/ChangerEdit.js          |  50 ++
 www/tape/window/DriveEdit.js            |  77 +++
 www/tape/window/LabelMedia.js           |  47 ++
 www/tape/window/PoolEdit.js             |  69 +++
 www/tape/window/TapeBackup.js           |  43 ++
 28 files changed, 2026 insertions(+), 54 deletions(-)
 delete mode 100644 www/TapeManagement.js
 create mode 100644 www/tape/BackupOverview.js
 create mode 100644 www/tape/ChangerStatus.js
 create mode 100644 www/tape/DriveConfig.js
 create mode 100644 www/tape/PoolConfig.js
 create mode 100644 www/tape/TapeManagement.js
 create mode 100644 www/tape/form/AllocationSelector.js
 create mode 100644 www/tape/form/ChangerSelector.js
 create mode 100644 www/tape/form/DriveSelector.js
 create mode 100644 www/tape/form/PoolSelector.js
 create mode 100644 www/tape/form/RetentionSelector.js
 create mode 100644 www/tape/form/TapeDevicePathSelector.js
 create mode 100644 www/tape/window/ChangerEdit.js
 create mode 100644 www/tape/window/DriveEdit.js
 create mode 100644 www/tape/window/LabelMedia.js
 create mode 100644 www/tape/window/PoolEdit.js
 create mode 100644 www/tape/window/TapeBackup.js

-- 
2.20.1






More information about the pbs-devel mailing list