From: Marcin Haba Date: Sat, 13 Jun 2020 07:18:52 +0000 (+0200) Subject: baculum: Enable re-running jobs in async way and visual improvements X-Git-Tag: Release-9.6.6~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ad7faaa12ead719308fb758e938658f8de760fc;p=thirdparty%2Fbacula.git baculum: Enable re-running jobs in async way and visual improvements --- diff --git a/gui/baculum/protected/Web/JavaScript/misc.js b/gui/baculum/protected/Web/JavaScript/misc.js index 6fb192435..7a052591f 100644 --- a/gui/baculum/protected/Web/JavaScript/misc.js +++ b/gui/baculum/protected/Web/JavaScript/misc.js @@ -678,7 +678,7 @@ var W3SideBar = { Cookies.set_cookie('baculum_side_bar_hide', 0); this.sidebar.style.display = 'block'; this.overlay_bg.style.display = 'block'; - this.page_main.css({'margin-left': '300px', 'width': 'calc(100% - 300px)'}); + this.page_main.css({'margin-left': '250px', 'width': 'calc(100% - 250px)'}); } }, close: function() { diff --git a/gui/baculum/protected/Web/Layouts/Main.tpl b/gui/baculum/protected/Web/Layouts/Main.tpl index 721159980..864e5dade 100644 --- a/gui/baculum/protected/Web/Layouts/Main.tpl +++ b/gui/baculum/protected/Web/Layouts/Main.tpl @@ -31,7 +31,7 @@ -
+
<%[ Running jobs: ]%> diff --git a/gui/baculum/protected/Web/Pages/Graphs.page b/gui/baculum/protected/Web/Pages/Graphs.page index d61d4692a..9769c9841 100644 --- a/gui/baculum/protected/Web/Pages/Graphs.page +++ b/gui/baculum/protected/Web/Pages/Graphs.page @@ -1,7 +1,7 @@ <%@ MasterClass="Application.Web.Layouts.Main" Theme="Baculum-v2"%> -
+
<%[ Graphs ]%>
diff --git a/gui/baculum/protected/Web/Pages/JobHistoryList.page b/gui/baculum/protected/Web/Pages/JobHistoryList.page index 2bd8c99d8..aa73dae52 100644 --- a/gui/baculum/protected/Web/Pages/JobHistoryList.page +++ b/gui/baculum/protected/Web/Pages/JobHistoryList.page @@ -94,14 +94,61 @@

<%[ Tip: Use left-click to select table row. Use CTRL + left-click to multiple row selection. Use SHIFT + left-click to add a range of rows to selection. ]%>

- - + + + show_btn_loader(sender.options.CallbackParameter); + + + hide_btn_loader(sender.options.CallbackParameter); + oMonitor(); + + + + + show_btn_loader(sender.options.CallbackParameter); + + + hide_btn_loader(sender.options.CallbackParameter); + oMonitor(); + + + oBaculaConfigSection.show_sections(true); + +
diff --git a/gui/baculum/protected/Web/Portlets/BaculaConfigDirectives.tpl b/gui/baculum/protected/Web/Portlets/BaculaConfigDirectives.tpl index 9e176b140..e5a89d645 100644 --- a/gui/baculum/protected/Web/Portlets/BaculaConfigDirectives.tpl +++ b/gui/baculum/protected/Web/Portlets/BaculaConfigDirectives.tpl @@ -37,7 +37,7 @@ ItemRenderer="Application.Web.Portlets.DirectiveRenderer" > -
+
-