feat: front-end overhaul. added search, editing, event view, validation

This commit is contained in:
2025-05-19 04:36:28 +02:00
parent 82936633f1
commit ace54fb4ef
20 changed files with 490 additions and 89 deletions

View File

@@ -3,6 +3,8 @@ interface EventData {
location: string;
description: string;
eventDate: string;
organisationName: string,
organisationId: number
}
interface MyAccount {
@@ -12,13 +14,13 @@ interface MyAccount {
lastName: string;
createdAt: string;
isOrganisation: boolean;
organisationId: number;
}
export async function unhideElementById(document: Document, e: string) {
var element = document.getElementById(e);
if (element) {
element.classList.remove('hidden-before-load');
console.log(element.classList);
}
}