From ea144ded0f4445d177d40292c80d64dca79b466c Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Sun, 31 Jan 2021 11:06:58 +0100 Subject: [PATCH] baculum: Tweak columns in restore wizard and job list tables --- gui/baculum/protected/Web/Pages/JobList.page | 2 +- gui/baculum/protected/Web/Pages/RestoreWizard.page | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/gui/baculum/protected/Web/Pages/JobList.page b/gui/baculum/protected/Web/Pages/JobList.page index 9973ae4fa..43a891889 100644 --- a/gui/baculum/protected/Web/Pages/JobList.page +++ b/gui/baculum/protected/Web/Pages/JobList.page @@ -133,7 +133,7 @@ var oJobList = { }, { className: "dt-center", - targets: [ 4 ] + targets: [ 1, 4 ] }], order: [2, 'asc'], initComplete: function () { diff --git a/gui/baculum/protected/Web/Pages/RestoreWizard.page b/gui/baculum/protected/Web/Pages/RestoreWizard.page index 389dc6d50..3883d005b 100644 --- a/gui/baculum/protected/Web/Pages/RestoreWizard.page +++ b/gui/baculum/protected/Web/Pages/RestoreWizard.page @@ -297,11 +297,11 @@ var oJobsToRestoreList = { return; } if (this.opts.list_type == <%=RestoreWizard::JOB_LIST_BY_CLIENT%>) { - this.table.columns([4, 5, 9, 10]).visible(true); + this.table.columns([4, 10]).visible(true); this.table.column(3).visible(false); this.table.columns.adjust(); } else if (this.opts.list_type == <%=RestoreWizard::JOB_LIST_BY_FILENAME%>) { - this.table.columns([4, 5, 9, 10]).visible(false); + this.table.columns([4, 10]).visible(false); this.table.column(3).visible(true); this.table.columns.adjust(); } @@ -448,13 +448,12 @@ var oJobsToRestoreList = { { data: 'starttime', render: render_date, - visible: false, - responsivePriority: 10 + responsivePriority: 9 }, { data: 'endtime', render: render_date, - responsivePriority: 9 + responsivePriority: 10 }, { data: 'jobid', -- 2.47.3