Skip to content

Commit

Permalink
fix [front] [QCMPLUS-45]
Browse files Browse the repository at this point in the history
Supprimer les fonctionnalités non prioritaires

Signed-off-by: teklit_tewolde <[email protected]>
  • Loading branch information
teklit_tewolde authored and Teclit committed Aug 22, 2024
1 parent 7968833 commit 51fdc26
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions qcmplusweb/src/components/AdminMenu/AdminMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
FaFileAlt,
FaHome,
FaQuestionCircle,
FaRegStar,
FaUserGraduate
} from 'react-icons/fa';

Expand All @@ -20,7 +19,6 @@ const AdminMenu =({renderAdminItem}) =>{
{renderAdminItem('Quizzes', FaFileAlt, 'Quizzes')}
{renderAdminItem('Questions', FaQuestionCircle, 'Questions')}
{renderAdminItem('Answers', FaCommentAlt, 'Answers')}
{renderAdminItem('Features', FaRegStar, 'Features')}
</>
);
};
Expand Down
3 changes: 0 additions & 3 deletions qcmplusweb/src/pages/main/Main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ const Main = () => {
return <h1><AiFillWarning />Questions: en cours de construction</h1>;
case 'Answers':
return <h1><AiFillWarning />Answers: en cours de construction</h1>;
case 'Features':
return <h1><AiFillWarning />Features: en cours de construction</h1>;
case 'TakeExams':
return <ExamSelected quizId={quizId || 1} onStartExam={handleStartExam} />; // Pass handleStartExam
case 'HistoryExams':
Expand Down Expand Up @@ -96,7 +94,6 @@ const Main = () => {
<div className="header d-flex justify-content-end">
{isAdmin && (
<>
<Button className="ExportUserBtn me-2">Export CSV</Button>
<Button className="ToggleUserBtn" onClick={() => setShowUserList(!showUserList)}>
{showUserList ? 'Add User' : 'List Users'}
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
spring.application.name=qcmplus
# Local Database Configuration
spring.datasource.url=jdbc:mysql://localhost:3306/qcmplus_db
spring.datasource.url=jdbc:mysql://localhost:3306/qcmplus
spring.datasource.username=root
spring.datasource.password=2024
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
Expand Down

0 comments on commit 51fdc26

Please sign in to comment.