<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="UTF-8">
    <title>Event Feedback</title>
    <link rel="stylesheet" href="/static/style.css">
    <link rel="icon" href="/static/logo.png" type="image/png">
    <style>
        body {
            background-image: url('/static/background.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            height: 100vh;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .content {
            background: rgba(255, 255, 255, 0.6);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            max-width: 350px;
            width: 100%;
            text-align: center;
        }
        .content h1 {
            margin-bottom: 20px;
        }
        .content form {
            margin: 5px 0; /* Verringere den Abstand */
            width: 100%;
        }
        .content form button {
            background-color: #007BFF;
            color: white;
            border: none;
            padding: 10px 15px;
            cursor: pointer;
            border-radius: 4px;
            width: 100%;
            margin-bottom: 5px; /* Verringere den Abstand */
        }
        .content form button:hover {
            background-color: #0056b3;
        }
        .content a {
            margin: 5px 0; /* Verringere den Abstand */
            text-decoration: none;
            color: #007BFF;
            display: block;
            width: 100%;
            text-align: center;
            padding: 10px 15px;
            border-radius: 4px;
            background-color: #007BFF;
            color: white;
        }
        .content a:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
    {% include "top_bar.html" %}
    <div class="content">
        <h1>Event Feedback</h1>
        <p><strong>Event:</strong> {{ feedback.event_name }}</p>
        <p><strong>Verlauf des Events:</strong> {{ feedback.event_progress }}</p>
        <p><strong>Ende des Events:</strong> {{ feedback.event_end }}</p>
        <p><strong>Feedback der Community:</strong> {{ feedback.community_feedback }}</p>
        <p><strong>Abgegeben von:</strong> {{ feedback.username }}</p>
        <p><strong>Datum:</strong> {{ feedback.timestamp.strftime('%Y-%m-%d %H:%M:%S') }}</p>
        <form action="{{ url_for('view_event_feedbacks') }}" method="get">
            <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
            <button type="submit">Zurück</button>
        </form>
    </div>
</body>
</html>
