From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 464431FF183 for ; Mon, 11 Nov 2024 10:41:05 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 55CE33E7CC; Mon, 11 Nov 2024 10:41:04 +0100 (CET) From: Timothy Nicholson To: pve-devel@lists.proxmox.com Date: Mon, 11 Nov 2024 10:40:51 +0100 Message-Id: <20241111094050.22619-1-t.nicholson@proxmox.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.049 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy GAPPY_SUBJECT 0.1 Subject: contains G.a.p.p.y-T.e.x.t KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RDNS_NONE 0.793 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Subject: [pve-devel] [PATCH widget-toolkit] fix #5831: ui: right-align s.m.a.r.t numerical table data X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" This patch right-aligns the numerical values of the table displaying the S.M.A.R.T values in the Web UI. Signed-off-by: Timothy Nicholson --- For better readability, numerical values in tables should be right-aligned, not like previously (left-aligned). https://bugzilla.proxmox.com/show_bug.cgi?id=5831 src/window/DiskSmart.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/window/DiskSmart.js b/src/window/DiskSmart.js index 9096fec..363ae28 100644 --- a/src/window/DiskSmart.js +++ b/src/window/DiskSmart.js @@ -29,6 +29,7 @@ Ext.define('Proxmox.window.DiskSmart', { text: 'ID', dataIndex: 'id', width: 50, + align: 'right', }, { text: gettext('Attribute'), @@ -40,21 +41,25 @@ Ext.define('Proxmox.window.DiskSmart', { text: gettext('Value'), dataIndex: 'real-value', renderer: Ext.String.htmlEncode, + align: 'right', }, { text: gettext('Normalized'), dataIndex: 'real-normalized', width: 60, + align: 'right', }, { text: gettext('Threshold'), dataIndex: 'threshold', width: 60, + align: 'right', }, { text: gettext('Worst'), dataIndex: 'worst', width: 60, + align: 'right', }, { text: gettext('Flags'), -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel