56 lines
2.3 KiB
HTML
56 lines
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Login & Registrierung</title>
|
|
<!-- Google Font -->
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="css/styles.css">
|
|
</head>
|
|
<body id="login-page">
|
|
<!-- Alert Modal -->
|
|
<div id="custom-alert" class="custom-alert">
|
|
<div class="alert-content">
|
|
<span id="alert-message"></span>
|
|
<button id="close-alert" class="close-btn">OK</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Main Content -->
|
|
<main class="container">
|
|
<h1>Willkommen!</h1>
|
|
<p style="color: var(--text-secondary); margin-bottom: 25px;">Bitte melden Sie sich an oder registrieren Sie sich.</p>
|
|
|
|
<div class="form-wrapper">
|
|
<!-- Registration Form -->
|
|
<section class="form" aria-labelledby="register-heading">
|
|
<h2 id="register-heading">Registrierung</h2>
|
|
<form id="registerForm">
|
|
<input type="text" id="regUsername" placeholder="Benutzername" required aria-label="Registration Username">
|
|
<input type="email" id="regEmail" placeholder="E-Mail" required aria-label="Registration Email">
|
|
<input type="password" id="regPassword" placeholder="Passwort" required aria-label="Registration Password">
|
|
<button type="submit">Registrieren</button>
|
|
</form>
|
|
</section>
|
|
|
|
<!-- Login Form -->
|
|
<section class="form" aria-labelledby="login-heading">
|
|
<h2 id="login-heading">Login</h2>
|
|
<form id="loginForm">
|
|
<input type="email" id="loginEmail" placeholder="E-Mail" required aria-label="Login Email">
|
|
<input type="password" id="loginPassword" placeholder="Passwort" required aria-label="Login Password">
|
|
<button type="submit">Anmelden</button>
|
|
</form>
|
|
</section>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- Scripts -->
|
|
<script type="module" src="js/config.js"></script>
|
|
<script type="module" src="js/shared_functions.js"></script>
|
|
<script type="module" src="js/auth.js"></script>
|
|
</body>
|
|
</html> |