diff --git a/src/App.css b/src/App.css
index 9574ef4..4b5463c 100644
--- a/src/App.css
+++ b/src/App.css
@@ -2,9 +2,14 @@
text-align: center;
}
.main {
- margin-top: 75px;
- text-align: center;
+ margin-left: 250px;
+}
+
+.breadcrumbs {
+ padding-top: 1vw;
+ padding-left: 2vw;
}
+
@media (max-width: 500px) {
.main {
margin-top: 100px;
diff --git a/src/components/NavBar.css b/src/components/NavBar.css
index af98681..aaac794 100644
--- a/src/components/NavBar.css
+++ b/src/components/NavBar.css
@@ -1,30 +1,38 @@
.navbar {
- position: fixed;
- top: 0;
- width: 100vw;
- color: gray;
z-index: 1100;
}
+.navbar .MuiDrawer-paper {
+ width: 250px;
+ background-color: rgb(92, 93, 111);
+ color: rgb(209, 211, 223);
+}
+
.navbar img {
- margin-right: 2vw;
+ margin-top: 35px;
+ margin-bottom: 90px;
+ width: 200px;
+ border-radius: 2px;
}
-.navbar p {
+.navbarOptions p {
cursor: pointer;
}
.navbarOptions {
display: flex;
- flex-direction: row;
flex-wrap: wrap;
overflow-wrap: break-word;
justify-content: space-between;
+ flex-direction: column;
+ height: 45vh;
+ align-content: center;
}
.menuBurger {
position: fixed;
- right: 2vw;
+ bottom: 10px;
+ left: 10px;
}
.menu {
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx
index 624e560..719913f 100644
--- a/src/components/Navbar.tsx
+++ b/src/components/Navbar.tsx
@@ -1,16 +1,15 @@
import MenuIcon from "@mui/icons-material/Menu";
import {
- AppBar,
Button,
ButtonGroup,
Divider,
+ Drawer,
IconButton,
Menu,
MenuItem,
- Toolbar,
Typography,
} from "@mui/material";
-import { useEffect, useState } from "react";
+import { useState } from "react";
import { useTranslation } from "react-i18next";
import { push } from "redux-first-history";
import { useAppDispatch } from "../app/hooks";
@@ -25,9 +24,10 @@ function Navbar({ partial }: { partial?: number }) {
i18n.changeLanguage(language);
console.debug(`Language changed to ${language}`);
};
+
return (
-
-
+
+
-
{!partial && (
-
+ <>
dispatch(push(""))}
+ onClick={() => dispatch(push("/manager.html"))}
style={{ cursor: "pointer", marginRight: "15px" }}
- sx={{ flexGrow: 1 }}
>
{t("Configuration")}
@@ -51,7 +49,6 @@ function Navbar({ partial }: { partial?: number }) {
variant="h6"
component="div"
style={{ cursor: "pointer", marginRight: "15px" }}
- sx={{ flexGrow: 1 }}
>
{t("sessions")}
@@ -59,7 +56,6 @@ function Navbar({ partial }: { partial?: number }) {
variant="h6"
component="div"
style={{ cursor: "pointer", marginRight: "15px" }}
- sx={{ flexGrow: 1 }}
>
{t("notifications")}
@@ -67,82 +63,60 @@ function Navbar({ partial }: { partial?: number }) {
variant="h6"
component="div"
style={{ cursor: "pointer", marginRight: "15px" }}
- sx={{ flexGrow: 1 }}
>
{t("secondFactors")}
-
+ >
)}
-
-
setMenuOpen(true)}
- color="inherit"
- >
-
-
-
+ setMenuOpen(true)}
+ color="inherit"
+ >
+
+
+
-
-
+
+
+
+
+
+
+
+
+
);
}
diff --git a/src/components/SaveButton.css b/src/components/SaveButton.css
index 38dc554..c67d16a 100644
--- a/src/components/SaveButton.css
+++ b/src/components/SaveButton.css
@@ -8,6 +8,7 @@
border-radius: 50%;
bottom: 2%;
right: 2%;
+ z-index: 2000;
}
.notif {
diff --git a/src/components/SaveButton.tsx b/src/components/SaveButton.tsx
index 9b1b4c7..7ed90c4 100644
--- a/src/components/SaveButton.tsx
+++ b/src/components/SaveButton.tsx
@@ -20,7 +20,6 @@ export default function SaveButton({ partial }: { partial?: boolean }) {
{
let stateOk = true;
diff --git a/src/components/applicationsComponents/AppPage.css b/src/components/applicationsComponents/AppPage.css
index 670f1e3..c165c2e 100644
--- a/src/components/applicationsComponents/AppPage.css
+++ b/src/components/applicationsComponents/AppPage.css
@@ -75,7 +75,6 @@ textarea {
justify-content: space-between;
background-color: rgb(37, 63, 63);
padding: 2%;
- border-radius: 15px;
color: #acacac;
display: flex;
justify-content: space-around;
diff --git a/src/components/applicationsComponents/CasApp.tsx b/src/components/applicationsComponents/CasApp.tsx
index c86b391..0105c9b 100644
--- a/src/components/applicationsComponents/CasApp.tsx
+++ b/src/components/applicationsComponents/CasApp.tsx
@@ -49,7 +49,9 @@ export function CasApp({ name }: { name: string }) {
const dispatch = useAppDispatch();
return (
-
{name}
+
+ {name}
+