]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Tweak columns in restore wizard and job list tables
authorMarcin Haba <marcin.haba@bacula.pl>
Sun, 31 Jan 2021 10:06:58 +0000 (11:06 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:25 +0000 (09:03 +0100)
gui/baculum/protected/Web/Pages/JobList.page
gui/baculum/protected/Web/Pages/RestoreWizard.page

index 9973ae4fabcb850bd972b1e240dc02405f71c9d3..43a891889b849ec095881a0a63a8489a37ab291b 100644 (file)
@@ -133,7 +133,7 @@ var oJobList = {
                        },
                        {
                                className: "dt-center",
-                               targets: [ 4 ]
+                               targets: [ 1, 4 ]
                        }],
                        order: [2, 'asc'],
                        initComplete: function () {
index 389dc6d5082535f500eeda5fd14d53224e519475..3883d005b72f01e73a98c5e58ba08df7ab450b5f 100644 (file)
@@ -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',