]> git.proxmox.com Git - proxmox-backup.git/commit
ui: tape/ChangerStatus: improve layout for large libraries
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 23 Jul 2021 06:31:51 +0000 (08:31 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 26 Jul 2021 08:12:03 +0000 (10:12 +0200)
commit9a1ecae0b7eca72e5d645dbb9883614ce2d26e59
tree21ec12a99713e7f99299c1e4d144d399eff491c1
parent42b010174ea902a1c11709da18faa754293dc4ab
ui: tape/ChangerStatus: improve layout for large libraries

instead of having the grid be as tall as possible and the containing
panel scroll. limit the grids height to the panel size and scroll the
grid.

this has two advantages:
* if a user has many slots, it is now possible to to navigate the other
  grids to the position wanted
* having the grids scroll, means it can use extjs' buffered renderer,
  which makes the view much more responsive (in case of hundreds of
  slots)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/tape/ChangerStatus.js