-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from CSID-DGU/frontend/feature/add-exam
FE: [feat] 시험 레포트 페이지 ui 구현 #70
- Loading branch information
Showing
7 changed files
with
129 additions
and
23 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
src/frontend/eyesee-admin/src/app/report/[examId]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import DashBoardSection from "@/components/dashBoard/DashBoardSection"; | ||
import UserSection from "@/components/dashBoard/UserSection"; | ||
import ReportSection from "@/components/report/ReportSection"; | ||
import { testSesstionData } from "@/types/user"; | ||
|
||
const ReportPage = () => { | ||
// TODO: 서버 데이터 연결 | ||
const sessionData = testSesstionData; | ||
|
||
return ( | ||
<div className="flex min-h-screen w-screen bg-[##0E1D3C]"> | ||
<UserSection sessionData={sessionData} /> | ||
<DashBoardSection sesstionData={sessionData}> | ||
<ReportSection /> | ||
</DashBoardSection> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ReportPage; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
src/frontend/eyesee-admin/src/components/report/ReportSection.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import ExcelIcon from "@/assets/images/Excel.svg"; | ||
|
||
const ReportSection = () => { | ||
return ( | ||
<div className="relative w-full mb-20 flex justify-between gap-20"> | ||
<div className="cursor-pointer absolute bottom-0 flex items-center gap-3"> | ||
<ExcelIcon /> | ||
<p className="text-[20px]">엑셀 다운로드</p> | ||
</div> | ||
<div className="w-[50%] h-full text-[2.5rem] font-bold text-white"> | ||
<p className="">2024년 11월 27일</p> | ||
<p className="text-[#16A34A]">융합캡스톤디자인 중간시험</p> | ||
<p>부정행위 탐지 결과</p> | ||
</div> | ||
<div className="[w-50%] flex flex-col h-full"> | ||
<div className="w-full flex gap-20 py-3 items-center justify-between text-[20px] text-bold border-b border-white"> | ||
<div>총 탐지된 부정행위 건수</div> | ||
<div>75건</div> | ||
</div> | ||
<div className="w-full flex gap-20 py-3 items-center justify-between text-[20px] text-bold border-b border-white"> | ||
<div>부정행위 탐지 수험자 수</div> | ||
<div>15명</div> | ||
</div> | ||
<div className="w-full flex gap-20 py-3 items-center justify-between text-[20px] text-bold border-b border-white"> | ||
<div>평균 부정행위 탐지 건수</div> | ||
<div>5건/수험자</div> | ||
</div> | ||
<div className="w-full flex gap-20 py-3 items-center justify-between text-[20px] text-bold border-b border-white"> | ||
<div>최다 부정행위 탐지 수험자</div> | ||
<div>학번: 2022113107, 횟수: 10건</div> | ||
</div> | ||
<div className="w-full flex gap-20 py-3 items-center justify-between text-[20px] text-bold border-b border-white"> | ||
<div>부정행위 탐지율</div> | ||
<div>30%</div> | ||
</div> | ||
<div className="w-full flex gap-20 py-3 items-center justify-between text-[20px] text-bold border-b border-white"> | ||
<div>부정행위 유형별 통계</div> | ||
<div>시선: 50건, 자리이탈: 10건</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ReportSection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters