diff --git a/src/Admin/Pages/AdminLabelTabs/LabelTabs.js b/src/Admin/Pages/AdminLabelTabs/LabelTabs.js index 8755b2883ee3149ac71708e7c96059af8f51bf61..dbc08595d47216a1248d624483b58fe53747b6d2 100644 --- a/src/Admin/Pages/AdminLabelTabs/LabelTabs.js +++ b/src/Admin/Pages/AdminLabelTabs/LabelTabs.js @@ -64,9 +64,11 @@ const TabsItens = [ }, { label: "Aprovação de professores", + href: "/admin/users/teacher_requests" }, { label: "Usuários", + href : "/admin/usersList" }, { label: "Usuários bloqueados", diff --git a/src/Admin/Pages/Pages/Admin.js b/src/Admin/Pages/Pages/Admin.js index b9fde3e5a7d3f31a4f5971bd611e52a23dc7e538..e751c43f6e403175dda7725d8a37f77c775e4778 100644 --- a/src/Admin/Pages/Pages/Admin.js +++ b/src/Admin/Pages/Pages/Admin.js @@ -72,6 +72,11 @@ import EducationalObjectEdit from '../../Components/Components/Inputs/EditEducat import Complaints from './SubPages/Complaints'; import ComplaintCard from '../../Components/Components/DataCards/ComplaintsCard'; +import AproveTeacher from './SubPages/AproveTeacher'; +import UserCard from '../../Components/Components/DataCards/UserCard'; +import EditUser from '../../Components/Components/Inputs/EditUser'; +import UserList from './SubPages/Users'; + const useStyles = makeStyles({ list: { width: 250, @@ -176,6 +181,11 @@ export default function Admin() { <Route path='/admin/complaints' component={Complaints} /> <Route path='/admin/complaint/:id' component={ComplaintCard} /> + <Route path='/admin/users/teacher_requests' component={AproveTeacher} /> + <Route path='/admin/usersList' component={UserList} /> + <Route path='/admin/user/:id' component={UserCard} /> + <Route path='/admin/EditUser/:id' component={EditUser} /> + <Route path='/admin/sendEmail/:email' component={SendEmail} /> <Route path='/admin/inframe' component={Inframe} />