diff --git a/frontend/react-app/src/components/CreateAccountForm.jsx b/frontend/react-app/src/components/CreateAccountForm.jsx index 8de3950..37a93c8 100644 --- a/frontend/react-app/src/components/CreateAccountForm.jsx +++ b/frontend/react-app/src/components/CreateAccountForm.jsx @@ -45,15 +45,14 @@ export default function CreateAccountForm({teams}){ const customStyles = { control: (provided) => ({ ...provided, - width: '65vw', + width: '420px', minWidth: '100px', - maxWidth: '100%', minHeight: '30px', - maxHeight: '100%', - border: '2px solid grey', + // maxHeight: '100%', + border: '1.5px solid #2d2644;', borderRadius: '10px', paddingLeft: '8px', - backgroundColor: '#BFCDE0', + backgroundColor: 'white', margin: '10px 0px', }), }; diff --git a/frontend/react-app/src/components/CreateTeamForm.jsx b/frontend/react-app/src/components/CreateTeamForm.jsx index 6907e07..fcc8c05 100644 --- a/frontend/react-app/src/components/CreateTeamForm.jsx +++ b/frontend/react-app/src/components/CreateTeamForm.jsx @@ -22,22 +22,22 @@ export default function CreateTeamForm({users}){ const customStyles = { control: (provided) => ({ ...provided, - width: '65vw', + width: '420px', minWidth: '100px', maxWidth: '100%', minHeight: '30px', maxHeight: '100%', - border: '2px solid grey', + border: '1.5px solid #2d2644', borderRadius: '10px', paddingLeft: '8px', - backgroundColor: '#BFCDE0', + backgroundColor: 'white', margin: '10px 0px', }), }; return(
- + )} /> - + ) } \ No newline at end of file diff --git a/frontend/react-app/src/components/UserTable.jsx b/frontend/react-app/src/components/UserTable.jsx index 338ff15..43a99de 100644 --- a/frontend/react-app/src/components/UserTable.jsx +++ b/frontend/react-app/src/components/UserTable.jsx @@ -1,6 +1,7 @@ import {useTable, useSortBy} from 'react-table' import React, { useEffect } from 'react'; -import "../css/TaskList.css" +import "../css/TaskList.css"; +import "../css/UserTable.css"; import SearchFilterSort from './SearchFilterSort'; import { useState} from 'react'; import { getTeamMembers } from '../api/teamApi'; @@ -163,7 +164,7 @@ function UserTable({teams}){ Header: "", accessor: "del", Cell: (original) => ( - ) @@ -173,7 +174,7 @@ function UserTable({teams}){ accessor: "edit", Cell: (original) => ( - diff --git a/frontend/react-app/src/css/AdminAllUsers.css b/frontend/react-app/src/css/AdminAllUsers.css index 1c23560..886ab76 100644 --- a/frontend/react-app/src/css/AdminAllUsers.css +++ b/frontend/react-app/src/css/AdminAllUsers.css @@ -5,4 +5,12 @@ } .container{ height: 50%; +} + +#searchThis { + background-color: #d3d4f9; + color: black; + border-radius: 10px; + margin: 3% 0%; + border: 1px solid black; } \ No newline at end of file diff --git a/frontend/react-app/src/css/AdminPanel.css b/frontend/react-app/src/css/AdminPanel.css index b341f97..73772aa 100644 --- a/frontend/react-app/src/css/AdminPanel.css +++ b/frontend/react-app/src/css/AdminPanel.css @@ -3,5 +3,55 @@ margin: 4% 0; } .buttonRow{ - margin: 2% 0; -} \ No newline at end of file + display: flex; + flex-direction: row; + justify-content: center; + background-color: #e6e4f7; + width: 60%; + border-radius: 25px; + margin-top: 2%; +} + +#adminHeader { + font-weight: 1000; + margin-top: 2%; + font-size: 2em; +} + +.buttonRow a button { + background-color: #53789d; + color: white; + font-size: 1.25em; + width: 175px; + height: 66px; +} + +.buttonRow a button:hover { + background-color: #3d6285; +} + +.goToTeamTaskForm { + width: 75%; + margin-left: 21%; + margin-right: 20%; +} + +.goToTeamTaskForm input { + background-color: #4f407d; + border-radius: 15px; + font-size: 1em; + border-radius: 10px; +} + +.goToTeamTaskForm input:hover { + cursor: pointer; + background-color: #2d2644; +} + +.goToTeamTaskForm select { + width: 50%; + background-color: #d3d4f9; + margin-right: 20px; + border-radius: 15px; +} + diff --git a/frontend/react-app/src/css/CreateAccount.css b/frontend/react-app/src/css/CreateAccount.css index 82e299f..50abc55 100644 --- a/frontend/react-app/src/css/CreateAccount.css +++ b/frontend/react-app/src/css/CreateAccount.css @@ -15,34 +15,36 @@ height: 100%; justify-content: center; font-family: Arial, Helvetica, sans-serif; - background-color: #BFCDE0; + background-color: #e6e4f7; border: none; - border-radius: 10px; + border-radius: 15px; + margin: 3% 10% 3% 12%; + width: 75%; } #createAccountForm select{ - width: 65vw; + width: 50%; min-width: 100px; max-width: 100%; min-height: 30px; max-height: 100%; - border: 2px solid grey; + border: 1.5px solid #2d2644; border-radius: 10px; padding-left: 8px; - background-color: #BFCDE0; + background-color: white; margin: 10px 0px; } #createAccountForm input { - width: 65vw; + width: 50%; height: 7vh; min-width: 100px; max-width: 100%; min-height: 30px; max-height: 100%; - border: 2px solid grey; + border: 1.5px solid #2d2644; border-radius: 10px; padding-left: 8px; - background-color: #BFCDE0; + background-color: white; margin: 10px 0px; } @@ -52,18 +54,21 @@ } #createAccountForm button { - width: 100px; - height: 30px; - font-size: 1em; + width: 120px; + height: 50px; + font-size: 0.75em; + padding: 1%; margin-top: 20px; margin-bottom: 20px; border: none; border-radius: 10px; color: white; + font-size: 1.12em; background-color: #3f5d8b; } #createAccountForm button:hover { cursor: pointer; background-color: #2f486d; -} \ No newline at end of file +} + diff --git a/frontend/react-app/src/css/UserTable.css b/frontend/react-app/src/css/UserTable.css new file mode 100644 index 0000000..950ac4a --- /dev/null +++ b/frontend/react-app/src/css/UserTable.css @@ -0,0 +1,33 @@ +.search-form input { + background-color: #d3d4f9; + color: black; + border: 1px solid black; +} + +.userEditBtn { + width: 65px; + height: 30px; + background-color: darkgreen; + border: none; + border-radius: 5px; + color: white; +} + +.userEditBtn:hover { + cursor: pointer; + background-color: #004f07; +} + +.userDeleteBtn { + width: 65px; + height: 30px; + background-color: #bf003e; + border: none; + border-radius: 5px; + color: white; +} + +.userDeleteBtn:hover { + cursor: pointer; + background-color: #8c002d; +} \ No newline at end of file diff --git a/frontend/react-app/src/pages/AdminPanel.jsx b/frontend/react-app/src/pages/AdminPanel.jsx index 5c3f14d..83d6ddd 100644 --- a/frontend/react-app/src/pages/AdminPanel.jsx +++ b/frontend/react-app/src/pages/AdminPanel.jsx @@ -44,7 +44,7 @@ export default function AdminPanel(){
-
Admin Controls
+
Admin Controls