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-11.3.2~1440 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e5c5c41a9ef7b5d82229ed7741cd9ea992b2b3b;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 6fb1924352..7a052591f3 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 7211599802..864e5dade4 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 d61d4692a0..9769c9841c 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 2bd8c99d80..aa73dae520 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 9e176b140a..e5a89d645a 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" > -
+
-