[pve-devel] [PATCH manager 3/3] better default column sizes for replication grid
Dominik Csapak
d.csapak at proxmox.com
Mon Jun 19 16:25:50 CEST 2017
to see the full date, and save space from the other columns
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/grid/Replication.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/www/manager6/grid/Replication.js b/www/manager6/grid/Replication.js
index edde6dcf..46d6fa09 100644
--- a/www/manager6/grid/Replication.js
+++ b/www/manager6/grid/Replication.js
@@ -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'
},
{
--
2.11.0
More information about the pve-devel
mailing list