- Added a new profile page (my_profil.html) for users to manage their events and personal information. - Introduced a new CSS file (my_profil.css) for styling the profile page. - Created a JavaScript file (my_profil.js) to handle profile data retrieval, event registration management, and form submission. - Updated navigation logic (navigation.js) to dynamically display login/signup or event management links based on user authentication status. - Enhanced event creation and detail pages to support user-specific actions (registration/unregistration). - Improved login and signup processes to handle user data more robustly, including fallback user creation. - Refactored event overview to show user-specific events and registrations. - Added error handling and validation for user input in profile management.
40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Event-Detail</title>
|
|
|
|
<!-- Stylesheet für diese Seite-->
|
|
<link rel="stylesheet" href="css/event_overview.css">
|
|
<!-- Globales Stylesheet -->
|
|
<link rel="stylesheet" href="css/stylesheet_global.css">
|
|
<script src="js/navigation.js" defer></script>
|
|
</head>
|
|
|
|
<body>
|
|
<!-- Top Navigation mit Seitenlinks -->
|
|
<header class="top-nav-wrap">
|
|
<div class="top-nav">
|
|
<a class="brand" href="index.html" aria-label="Zur Startseite">
|
|
<img src="assets/logo_invite.svg" alt="Invite Logo">
|
|
</a>
|
|
<nav class="nav-tab-links" aria-label="Hauptnavigation">
|
|
<a class="button-small" href="login.html" aria-label="Login">Login</a>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- Main content: detail page gets fully injected by JavaScript -->
|
|
<main class="container">
|
|
<!-- Render target: loading, error state or full detail layout -->
|
|
<div id="detail-view">
|
|
<p>Lädt Event-Details...</p>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- Page logic: fetch by URL id, compose detail UI, handle gallery lightbox -->
|
|
<script src="js/event_detail.js"></script>
|
|
|
|
</body>
|
|
</html> |