<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>Админ Панель</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <style>
        body {
            background-color: #000;
            color: #00ff00;
            font-family: 'Arial', sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            height: 100vh;
            margin: 0;
            overflow-y: auto;
        }

        h1 {
            font-size: 2em;
            margin-bottom: 2em;
            background: linear-gradient(to right, #00ff00, #00ff7f, #00ff00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: neonText 3s ease-in-out infinite alternate;
        }

        .main-container {
            width: 80%;
            max-width: 600px;
            margin-top: 2em;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            animation: neonBorder 1.5s ease-in-out infinite alternate;
        }

        th, td {
            border: 2px solid #00ff00;
            padding: 10px;
            text-align: center;
            background-color: rgba(0, 0, 0, 0.8);
            color: #00ff00;
        }

        th {
            background-color: rgba(0, 0, 0, 0.5);
            font-weight: bold;
        }

        td {
            background-color: rgba(0, 0, 0, 0.3);
        }

        @keyframes neonText {
            0% {
                text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff7f, 0 0 30px #00ff7f, 0 0 40px #00ff7f, 0 0 50px #00ff7f;
            }
            50% {
                text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00, 0 0 40px #00ff7f, 0 0 50px #00ff7f, 0 0 60px #00ff7f, 0 0 70px #00ff7f;
            }
            100% {
                text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff7f, 0 0 30px #00ff7f, 0 0 40px #00ff7f, 0 0 50px #00ff7f;
            }
        }

        @keyframes neonBorder {
            0% {
                box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff7f, 0 0 30px #00ff7f, 0 0 40px #00ff7f, 0 0 50px #00ff7f;
            }
            50% {
                box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00, 0 0 40px #00ff7f, 0 0 50px #00ff7f, 0 0 60px #00ff7f, 0 0 70px #00ff7f;
            }
            100% {
                box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff7f, 0 0 30px #00ff7f, 0 0 40px #00ff7f, 0 0 50px #00ff7f;
            }
        }

        .button-container {
            display: flex;
            gap: 1em;
            justify-content: center;
        }

        .button-link {
            background: linear-gradient(90deg, #00ff00, #00ff00);
            border: none;
            color: #000;
            padding: 0.5em 1em;
            font-size: 1em;
            cursor: pointer;
            transition: background 0.3s, transform 0.3s;
            text-decoration: none;
            display: inline-block;
            margin: 0.5em 0;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
        }

        .button-link:hover {
            background: linear-gradient(90deg, #00bfff, #00ff00);
            transform: scale(1.05);
        }
    </style>
</head>
<body>

<h1>Все данные базы Пользователи:</h1>
<div class="main-container">
    <table>
        <thead>
        <tr>
            <th>id</th>
            <th>Username</th>
            <th>Password</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="el : ${posts}">
            <td th:text="${el.id}">id</td>
            <td th:text="${el.username}">Username</td>
            <td th:text="${el.password}">Password</td>
        </tr>
        </tbody>
    </table>
</div>

<script> setInterval(function() { location.reload(); }, 20000); </script>
</body>
</html>