diff --git a/Data/Server/WebUI/src/Node_Configuration_Sidebar.jsx b/Data/Server/WebUI/src/Node_Configuration_Sidebar.jsx index 31dce5b..48aea32 100644 --- a/Data/Server/WebUI/src/Node_Configuration_Sidebar.jsx +++ b/Data/Server/WebUI/src/Node_Configuration_Sidebar.jsx @@ -1,29 +1,9 @@ ////////// PROJECT FILE SEPARATION LINE ////////// CODE AFTER THIS LINE ARE FROM: /Data/WebUI/src/Node_Configuration_Sidebar.jsx -import React from "react"; -import { Box, Typography, IconButton } from "@mui/material"; -import { Settings as SettingsIcon } from "@mui/icons-material"; +import { Box, Typography } from "@mui/material"; export default function NodeConfigurationSidebar({ drawerOpen, setDrawerOpen, title }) { return ( <> - {/* Top-right gear icon */} - setDrawerOpen(true)} - size="small" - sx={{ - position: "absolute", - top: 8, - right: 8, - zIndex: 1500, - bgcolor: "#2a2a2a", - color: "#58a6ff", - border: "1px solid #444", - "&:hover": { bgcolor: "#3a3a3a" } - }} - > - - - {/* Dim overlay when drawer is open */} {drawerOpen && ( e.stopPropagation()} > - - {title || "Node Configuration Panel"} - -

- This sidebar will be used to configure nodes in the future. -

-

- The idea is that this area will allow for more node configuration controls to be dynamically-populated by the nodes to allow more complex node documentation and configuration. -

+ {/* Title bar section */} + + + {title || "Node Configuration Panel"} + + + + {/* Content */} + +

+ This sidebar will be used to configure nodes in the future. +

+

+ The idea is that this area will allow for more node configuration controls to be dynamically-populated by the nodes to allow more complex node documentation and configuration. +

+
);