From 93620103c343a9d18f5f9cc69c0bc5240b4a6dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Sun, 12 Jul 2026 22:53:42 +0300 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=92=84=20enhance=20UI=20consiste?= =?UTF-8?q?ncy=20across=20attendance,=20course,=20event,=20and=20exam=20de?= =?UTF-8?q?tail=20pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/events/attendance-table.tsx | 82 ++++++------ src/pages/course-detail-page.tsx | 43 ++++--- src/pages/event-detail-page.tsx | 35 ++++-- src/pages/exam-detail-page.tsx | 139 +++++++++++---------- 4 files changed, 160 insertions(+), 139 deletions(-) diff --git a/src/components/events/attendance-table.tsx b/src/components/events/attendance-table.tsx index 4c44516..3553e97 100644 --- a/src/components/events/attendance-table.tsx +++ b/src/components/events/attendance-table.tsx @@ -28,52 +28,54 @@ export function AttendanceTable(props: { 0} fallback={ -

+

{props.emptyLabel ?? t("events.noAttendance")}

} > - - - - {t("events.userId")} - {t("events.status")} - {t("events.markedBy")} - - - - - - - - {(row) => ( - - {row.user} - - - {row.status} - - - {row.marked_by} - +
+
+ + + {t("events.userId")} + {t("events.status")} + {t("events.markedBy")} + + + + + + + + {(row) => ( + + {row.user} - + + {row.status} + - - - )} - - -
+ {row.marked_by} + + + + + + + )} + + + +
+
- -
+
- +
+ +
@@ -247,7 +249,7 @@ function CourseDetailContent() { )}
-
+

{t("courses.exams")}

@@ -256,7 +258,7 @@ function CourseDetailContent() {
-
+

{t("courses.roster")}

@@ -265,7 +267,7 @@ function CourseDetailContent() {
-
+

{t("courses.weight")}

@@ -276,8 +278,13 @@ function CourseDetailContent() { {/* Course exams */}
-
-

{t("courses.exams")}

+
+
+

{t("courses.exams")}

+

+ {examCount()} {t("nav.exams")} +

+
+ + + + )} + + + +