all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 2/2] ui: improve running task overlay
Date: Wed, 30 Sep 2020 10:45:07 +0200	[thread overview]
Message-ID: <20200930084507.16006-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20200930084507.16006-1-d.csapak@proxmox.com>

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@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





  reply	other threads:[~2020-09-30  8:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30  8:45 [pbs-devel] [PATCH proxmox-backup 1/2] tasks: improve behaviour on upgrade Dominik Csapak
2020-09-30  8:45 ` Dominik Csapak [this message]
2020-09-30  9:07   ` [pbs-devel] applied: [PATCH proxmox-backup 2/2] ui: improve running task overlay Dietmar Maurer
2020-09-30  9:07 ` [pbs-devel] applied: [PATCH proxmox-backup 1/2] tasks: improve behaviour on upgrade Dietmar Maurer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200930084507.16006-2-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal