From: Marcin Haba Date: Sun, 31 Jan 2021 10:06:58 +0000 (+0100) Subject: baculum: Tweak columns in restore wizard and job list tables X-Git-Tag: Release-11.0.1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e979f9ab61b373c4c2f1ec69e8f1e6bf8eadef8;p=thirdparty%2Fbacula.git baculum: Tweak columns in restore wizard and job list tables --- 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',