Initial CAT application and deployment update

This commit is contained in:
2026-09-19 23:27:40 +00:00
commit 6684062400
22 changed files with 3690 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
<?php
session_set_cookie_params([
'httponly' => true,
'samesite' => 'Strict',
'secure' => !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off',
'use_strict_mode' => true,
]);
session_start();
header('X-Content-Type-Options: nosniff');
header('X-Frame-Options: DENY');
header('Referrer-Policy: no-referrer');
header('Permissions-Policy: camera=(), microphone=(), geolocation=()');
header("Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; base-uri 'self'; frame-ancestors 'none'");
?>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chorwochenende</title>
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<main class="start-page">
<p class="eyebrow">Chorwochenende</p>
<h1>Willkommen</h1>
<p class="intro">Bitte wählen Sie den gewünschten Bereich aus.</p>
<nav class="main-actions" aria-label="Hauptnavigation">
<a class="action-button" href="booking.php">Neue Registrierung</a>
<a class="action-button" href="edit_registration.php">Registrierung ändern</a>
<a class="action-button action-button-secondary" href="admin.php">Administration</a>
</nav>
</main>
</body>
</html>