diff --git a/src/components/dashboard/Officer_EventManagement.astro b/src/components/dashboard/Officer_EventManagement.astro index aa8e01a..12c6708 100644 --- a/src/components/dashboard/Officer_EventManagement.astro +++ b/src/components/dashboard/Officer_EventManagement.astro @@ -21,7 +21,7 @@ interface Event { event_code: string; location: string; files: string[]; - points_to_award: number; + points_to_reward: number; start_date: string; end_date: string; published: boolean; @@ -65,6 +65,18 @@ declare global { [key: string]: any; openEditModal: (event: Event) => void; deleteFile: (eventId: string, filename: string) => void; + previewFile: (url: string, filename: string) => void; + openDetailsModal: (event: Event) => void; + showFilePreview: (file: { + url: string; + type: string; + name: string; + }) => void; + backToFileList: () => void; + handlePreviewError: () => void; + showLoading: () => void; + hideLoading: () => void; + deleteEvent: (eventId: string, eventName: string) => Promise; } } --- @@ -174,6 +186,7 @@ declare global { @@ -188,6 +201,7 @@ declare global { @@ -202,20 +216,22 @@ declare global { - +
@@ -245,6 +262,7 @@ declare global { @@ -259,6 +277,7 @@ declare global { @@ -267,7 +286,7 @@ declare global {
-
- +
+
+ +
+
Current Files
+
+ +