From d936cc0b356a7ee8aea6acdaec7e7e55451c1fc7 Mon Sep 17 00:00:00 2001 From: Frikky Date: Mon, 2 Dec 2024 18:35:28 +0100 Subject: [PATCH] Added 404 page --- frontend/src/App.jsx | 11 +- frontend/src/components/LeftSideBar.jsx | 4 +- frontend/src/components/ParsedAction.jsx | 21 +- frontend/src/defaultCytoscapeStyle.jsx | 4 +- frontend/src/theme.jsx | 1 + frontend/src/views/404.jsx | 138 +++++++++++++ frontend/src/views/AngularWorkflow.jsx | 245 +++++++++++++---------- frontend/src/views/Workflows2.jsx | 4 +- 8 files changed, 307 insertions(+), 121 deletions(-) create mode 100644 frontend/src/views/404.jsx diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index d6a3de2d..8f7ec2e1 100755 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -49,6 +49,7 @@ import MFASetUp from './components/MFASetUP.jsx'; import ApiExplorerWrapper from './views/ApiExplorerWrapper.jsx'; import LeftSideBar from './components/LeftSideBar.jsx'; import CodeWorkflow from './views/CodeWorkflow.jsx'; +import NotFound from './views/404.jsx'; import { ToastContainer, toast } from 'react-toastify'; import 'react-toastify/dist/ReactToastify.css'; @@ -679,7 +680,15 @@ const App = (message, props) => { /> } /> - + + + } + /> + return ( diff --git a/frontend/src/components/LeftSideBar.jsx b/frontend/src/components/LeftSideBar.jsx index a7764172..011ec9fe 100644 --- a/frontend/src/components/LeftSideBar.jsx +++ b/frontend/src/components/LeftSideBar.jsx @@ -985,7 +985,7 @@ const LeftSideBar = ({ userdata, serverside, globalUrl, notifications, }) => { - + - +