[pbs-devel] [PATCH proxmox-backup 2/2] ui: improve running task overlay

Dominik Csapak d.csapak at proxmox.com
Wed Sep 30 10:45:07 CEST 2020


by setting a maxHeight+scrollable
(i used 500px to be still visible on our 'min screen size' 1280x720)

and by disabling emptyText deferral, which now shows the text instantly

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/dashboard/RunningTasks.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/www/dashboard/RunningTasks.js b/www/dashboard/RunningTasks.js
index fdf7122f..f990a6e2 100644
--- a/www/dashboard/RunningTasks.js
+++ b/www/dashboard/RunningTasks.js
@@ -8,6 +8,13 @@ Ext.define('PBS.RunningTasks', {
     hideHeaders: true,
     rowLines: false,
 
+    scrollable: true,
+    maxHeight: 500,
+
+    viewConfig: {
+	deferEmptyText: false,
+    },
+
     controller: {
 	xclass: 'Ext.app.ViewController',
 
-- 
2.20.1






More information about the pbs-devel mailing list