From f27a900604e7f6bd7f59d728f6b0c1ba802eb835 Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 6 Feb 2025 11:15:46 +0800 Subject: [PATCH] Fix UI Event Dashboard Admin --- src/app_modules/admin/event/child/riwayat.tsx | 40 +++++++++--------- .../admin/event/child/tipe_acara.tsx | 14 ++++--- .../event/table_status/table_publish.tsx | 41 +++++++++---------- 3 files changed, 48 insertions(+), 47 deletions(-) diff --git a/src/app_modules/admin/event/child/riwayat.tsx b/src/app_modules/admin/event/child/riwayat.tsx index 8abcb72d..424e3c78 100644 --- a/src/app_modules/admin/event/child/riwayat.tsx +++ b/src/app_modules/admin/event/child/riwayat.tsx @@ -24,6 +24,7 @@ import { useState } from "react"; import ComponentAdminGlobal_HeaderTamplate from "../../_admin_global/header_tamplate"; import { apiGetAdminEventRiwayat } from "@/app/dev/admin/event/_lib/api_fecth_admin_event"; import CustomSkeleton from "@/app_modules/components/CustomSkeleton"; +import { AdminColor } from "@/app_modules/_global/color/color_pallet"; export default function AdminEvent_Riwayat() { return ( @@ -112,28 +113,28 @@ function DetailRiwayat() { -
+
{e?.Author?.username}
-
+
{e.title}
-
+
{e.lokasi}
-
+
{e.EventMaster_TipeAcara.name}
-
+
{new Intl.DateTimeFormat("id-ID", { dateStyle: "full", @@ -148,7 +149,7 @@ function DetailRiwayat() {
-
+
{new Intl.DateTimeFormat("id-ID", { dateStyle: "full", @@ -164,7 +165,7 @@ function DetailRiwayat() { -
+
- Riwayat + Riwayat } radius={"xl"} @@ -201,41 +202,40 @@ function DetailRiwayat() { {!data ? ( ) : ( - + diff --git a/src/app_modules/admin/event/child/tipe_acara.tsx b/src/app_modules/admin/event/child/tipe_acara.tsx index e8bd586c..5175c8bc 100644 --- a/src/app_modules/admin/event/child/tipe_acara.tsx +++ b/src/app_modules/admin/event/child/tipe_acara.tsx @@ -28,6 +28,7 @@ import { AdminEvent_getListTipeAcara } from "../fun/get/get_list_tipe_acara"; import { apiGetAdminEventTipeAcara } from "@/app/dev/admin/event/_lib/api_fecth_admin_event"; import CustomSkeleton from "@/app_modules/components/CustomSkeleton"; import { clientLogger } from "@/util/clientLogger"; +import { AdminColor } from "@/app_modules/_global/color/color_pallet"; export default function AdminEvent_DetailTipeAcara() { return ( @@ -92,11 +93,11 @@ function DetailTipeAcara() { - Tipe Acara + Tipe Acara
-
Aksi
+
Aksi
-
Username
+
Username
-
Judul
+
Judul
-
Lokasi
+
Lokasi
-
Tipe Acara
+
Tipe Acara
-
Tanggal & Waktu Mulai
+
Tanggal & Waktu Mulai
-
Tanggal & Waktu Selesai
+
Tanggal & Waktu Selesai
-
Deskripsi
+
Deskripsi
-
+
{e?.Author?.username}
-
+
{e.title}
-
+
{e.lokasi}
-
+
{e.EventMaster_TipeAcara?.name}
-
+
{new Intl.DateTimeFormat("id-ID", { dateStyle: "full", @@ -171,7 +172,7 @@ function TableStatus() {
-
+
{new Intl.DateTimeFormat("id-ID", { dateStyle: "full", @@ -187,7 +188,7 @@ function TableStatus() {
-
+
) : ( - +
-
QR Code
+
QR Code
-
Download QR
+
Download QR
-
Username
+
Username
-
Judul
+
Judul
-
Lokasi
+
Lokasi
-
Tipe Acara
+
Tipe Acara
-
Tanggal & Waktu Mulai
+
Tanggal & Waktu Mulai
-
Tanggal & Waktu Selesai
+
Tanggal & Waktu Selesai
-
Deskripsi
+
Deskripsi
-
Aksi
+
Aksi