From ed71bec7dae354cda5f57b877bfe80dced1c89c4 Mon Sep 17 00:00:00 2001 From: Frikky Date: Mon, 2 Dec 2024 14:39:13 +0100 Subject: [PATCH] Added admin2 page and new workflow design --- frontend/src/App.jsx | 2 +- frontend/src/components/EditWorkflow.jsx | 30 ++- frontend/src/components/LeftSideBar.jsx | 5 +- frontend/src/components/ParsedAction.jsx | 13 +- frontend/src/views/Admin2.jsx | 243 +++++++++++++++++++++++ frontend/src/views/AngularWorkflow.jsx | 220 +++++++++++++------- frontend/src/views/Workflows.jsx | 9 + 7 files changed, 429 insertions(+), 93 deletions(-) create mode 100644 frontend/src/views/Admin2.jsx diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 9f6c7655..d6a3de2d 100755 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -210,7 +210,7 @@ const App = (message, props) => {
: isLoggedIn ? -
+
: diff --git a/frontend/src/components/EditWorkflow.jsx b/frontend/src/components/EditWorkflow.jsx index dc0a324e..e26ae7c5 100644 --- a/frontend/src/components/EditWorkflow.jsx +++ b/frontend/src/components/EditWorkflow.jsx @@ -205,6 +205,8 @@ const EditWorkflow = (props) => { paddingLeft: 50, //minWidth: isMobile ? "90%" : newWorkflow === true ? 1000 : 550, //maxWidth: isMobile ? "90%" : newWorkflow === true ? 1000 : 550, + borderRadius: theme.palette.borderRadius, + backgroundColor: "black", }, }} > @@ -280,22 +282,18 @@ const EditWorkflow = (props) => {
-
- {/* - - */} +