]> git.proxmox.com Git - pve-manager.git/commitdiff
better default column sizes for replication grid
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 19 Jun 2017 14:25:50 +0000 (16:25 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 22 Jun 2017 08:09:18 +0000 (10:09 +0200)
to see the full date, and save space from the other columns

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/grid/Replication.js

index 0e71abef7aac2d60a65013096233e63fc4b9e269..66dbf81d2bbc445bea70dcaefde9fcc2aa654a45 100644 (file)
@@ -284,7 +284,7 @@ Ext.define('PVE.grid.ReplicaView', {
            {
                text: gettext('Job'),
                dataIndex: 'jobnum',
-               width: 65
+               width: 60
            },
            {
                text: gettext('Target'),
@@ -361,6 +361,7 @@ Ext.define('PVE.grid.ReplicaView', {
                {
                    text: gettext('Last Sync'),
                    dataIndex: 'last_sync',
+                   width: 150,
                    renderer: function(value, metadata, record) {
                        if (!value) {
                            return '-';
@@ -376,11 +377,13 @@ Ext.define('PVE.grid.ReplicaView', {
                {
                    text: gettext('Duration'),
                    dataIndex: 'duration',
+                   width: 60,
                    renderer: PVE.Utils.render_duration
                },
                {
                    text: gettext('Next Sync'),
                    dataIndex: 'next_sync',
+                   width: 150,
                    renderer: function(value) {
                        if (!value) {
                            return '-';
@@ -402,6 +405,7 @@ Ext.define('PVE.grid.ReplicaView', {
        me.columns.push(
            {
                text: gettext('Schedule'),
+               width: 75,
                dataIndex: 'schedule'
            },
            {