From 3bc61e5f0364abbb4d2badbc3ade5b4e37bd0f23 Mon Sep 17 00:00:00 2001 From: Anil Natha Date: Mon, 12 Aug 2024 13:44:25 -0700 Subject: [PATCH] Commented out route and links related to viewing job monitoring dashboard. Also renamed and moved CSS class needed by Health Dashboard to _Grid.scss file and updated references to CSS class. --- src/Root.tsx | 6 +++--- src/components/Navbar/index.tsx | 8 ++++---- src/routes/health-dashboard/index.tsx | 2 +- src/routes/jobs/monitoring/index.css | 7 ------- src/routes/jobs/monitoring/index.tsx | 2 +- src/styles/components/_Grid.scss | 8 ++++++++ 6 files changed, 17 insertions(+), 16 deletions(-) diff --git a/src/Root.tsx b/src/Root.tsx index 250c0f5..a5b6338 100644 --- a/src/Root.tsx +++ b/src/Root.tsx @@ -5,7 +5,7 @@ import { import Home from "./routes/home"; import HealthDashboard from "./routes/health-dashboard"; -import JobMonitoring from "./routes/jobs/monitoring"; +//import JobMonitoring from "./routes/jobs/monitoring"; //import NewJob from "./routes/jobs/new"; import Navbar from "./components/Navbar" @@ -71,9 +71,9 @@ function Root() { } {/*} />*/} } /> - } /> + {/*} /> } /> - {/*} />*/} + } />*/} { /* Add routes for job execution forms */ processes.map( (item) => { diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index 08520f0..93de799 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -77,10 +77,10 @@ export default function Navbar() { Home + {/* Job Monitoring - {/* Create New Job */} @@ -148,10 +148,10 @@ export default function Navbar() { Home + {/* Job Monitoring - {/* Create New Job */} @@ -219,8 +219,8 @@ export default function Navbar() { {' '}Home - {' '}Job Monitoring - {/* {' '}Create New Job */} + {/*{' '}Job Monitoring + {' '}Create New Job */} {' '}Health Dashboard { healthState.items.map( (service, index) => { diff --git a/src/routes/health-dashboard/index.tsx b/src/routes/health-dashboard/index.tsx index 7770f85..9a9dc68 100644 --- a/src/routes/health-dashboard/index.tsx +++ b/src/routes/health-dashboard/index.tsx @@ -97,7 +97,7 @@ function HealthDashboard() {

Health Dashboard

-
+
-
+