diff --git a/Sources/pyOpenRPA/Resources/Web/orpa/orc.js b/Sources/pyOpenRPA/Resources/Web/orpa/orc.js index 22774de9..48512cb6 100755 --- a/Sources/pyOpenRPA/Resources/Web/orpa/orc.js +++ b/Sources/pyOpenRPA/Resources/Web/orpa/orc.js @@ -60,6 +60,16 @@ $(document).ready(function() { } throw new Error("Unable to copy obj! Its type isn't supported."); } + orpa_workspace_expand=function(){ + $("#orpa-workspace")[0].style.setProperty('width', "inherit", "important") + $("#orpa-workspace-expand")[0].style.setProperty('display', "none") + $("#orpa-workspace-compress")[0].style.setProperty('display', "") + } + orpa_workspace_compress=function(){ + $("#orpa-workspace")[0].style.setProperty('width', "") + $("#orpa-workspace-expand")[0].style.setProperty('display', "") + $("#orpa-workspace-compress")[0].style.setProperty('display', "none") + } //For data storage key mGlobal["DataStorage"] = {} // Clear the session cookie diff --git a/Sources/pyOpenRPA/Resources/Web/orpa/orc.xhtml b/Sources/pyOpenRPA/Resources/Web/orpa/orc.xhtml index d25cd713..44404e4d 100755 --- a/Sources/pyOpenRPA/Resources/Web/orpa/orc.xhtml +++ b/Sources/pyOpenRPA/Resources/Web/orpa/orc.xhtml @@ -81,14 +81,17 @@ {% include 'header.xhtml' %} -
+
-
+