diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 8b7966f2..1e6a0fc3 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -122,7 +122,7 @@ const App = (message, props) => { } /> :
-
+
} /> } /> } /> diff --git a/frontend/src/components/Header.js b/frontend/src/components/Header.js index cf3c4dfd..7495d06d 100644 --- a/frontend/src/components/Header.js +++ b/frontend/src/components/Header.js @@ -5,8 +5,6 @@ import {Link} from 'react-router-dom'; import List from '@material-ui/core/List'; import ListItem from '@material-ui/core/ListItem'; - - import MenuItem from '@material-ui/core/MenuItem'; import Select from '@material-ui/core/Select'; import Button from '@material-ui/core/Button'; @@ -15,13 +13,14 @@ import PolymerIcon from '@material-ui/icons/Polymer'; import AppsIcon from '@material-ui/icons/Apps'; import DescriptionIcon from '@material-ui/icons/Description'; import Grid from '@material-ui/core/Grid'; +import { useTheme } from '@material-ui/core/styles'; const hoverColor = "#f85a3e" const hoverOutColor = "#e8eaf6" const Header = props => { - - const { globalUrl, isLoggedIn, removeCookie, homePage, isLoaded } = props; + const { globalUrl, isLoggedIn, removeCookie, homePage, isLoaded, userdata } = props; + const theme = useTheme(); const [HomeHoverColor, setHomeHoverColor] = useState(hoverOutColor); const [SoarHoverColor, setSoarHoverColor] = useState(hoverOutColor); @@ -206,14 +205,14 @@ const Header = props => { }} value={userdata.selected_org} fullWidth - style={{backgroundColor: surfaceColor, color: "white", height: "50px"}} + style={{backgroundColor: theme.palette.surfaceColor, color: "white", height: "50px"}} onChange={(e) => { console.log("SET ORG TO ", e.target.value) }} > {userdata.orgs.map(data => { return ( - + {data.name} ) diff --git a/frontend/src/views/Admin.jsx b/frontend/src/views/Admin.jsx index 09db2c87..2707d140 100644 --- a/frontend/src/views/Admin.jsx +++ b/frontend/src/views/Admin.jsx @@ -21,8 +21,13 @@ import { useAlert } from "react-alert"; import { Dialog, DialogTitle, DialogActions, DialogContent } from '@material-ui/core'; import { useTheme } from '@material-ui/core/styles'; - import CachedIcon from '@material-ui/icons/Cached'; +import AccessibilityNewIcon from '@material-ui/icons/AccessibilityNew'; +import LockIcon from '@material-ui/icons/Lock'; +import EcoIcon from '@material-ui/icons/Eco'; +import ScheduleIcon from '@material-ui/icons/Schedule'; +import CloudIcon from '@material-ui/icons/Cloud'; +import BusinessIcon from '@material-ui/icons/Business'; const Admin = (props) => { const { globalUrl } = props; @@ -801,7 +806,7 @@ const Admin = (props) => {

Schedules

Schedules used in Workflows. Makes locating and control easier.
- + {

App Authentication

Control the authentication options for individual apps. Actions can be destructive! - + { > - + { > Add organization - + {

Hybrid

- + { ) } -export default Admin \ No newline at end of file +export default Admin