<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>Appeal Notification</title>
    <style>
        @font-face {
            font-family: 'minecraft-title';
            src: url('https://beta.alttd.com/public/fonts/minecraft-title.ttf') format('truetype'),
            url('https://beta.alttd.com/public/fonts/minecraft-title.eot') format('embedded-opentype'),
            url('https://beta.alttd.com/public/fonts/minecraft-title.svg') format('svg'),
            url('https://beta.alttd.com/public/fonts/minecraft-title.woff') format('woff');
        }

        @font-face {
            font-family: 'minecraft-text';
            src: url('https://beta.alttd.com/public/fonts/minecraft-text.ttf') format('truetype'),
            url('https://beta.alttd.com/public/fonts/minecraft-text.eot') format('embedded-opentype'),
            url('https://beta.alttd.com/public/fonts/minecraft-text.svg') format('svg'),
            url('https://beta.alttd.com/public/fonts/minecraft-text.woff') format('woff');
        }
        
        @font-face {
            font-family: 'opensans';
            src: url('https://beta.alttd.com/public/fonts/opensans.ttf') format('truetype'),
            url('https://beta.alttd.com/public/fonts/opensans.eot') format('embedded-opentype'),
            url('https://beta.alttd.com/public/fonts/opensans.svg') format('svg'),
            url('https://beta.alttd.com/public/fonts/opensans.woff') format('woff');
        }

        @font-face {
            font-family: 'opensans-bold';
            src: url('https://beta.alttd.com/public/fonts/opensans-bold.ttf') format('truetype'),
            url('https://beta.alttd.com/public/fonts/opensans-bold.eot') format('embedded-opentype'),
            url('https://beta.alttd.com/public/fonts/opensans-bold.svg') format('svg'),
            url('https://beta.alttd.com/public/fonts/opensans-bold.woff') format('woff');
        }

        body {
            font-family: 'minecraft-title', sans-serif;
        }

        .columnSection {
            width: 80%;
            max-width: 800px;
            margin: 0 auto;
            display: flex;
        }

        .columnContainer {
            flex: 1 1 200px;
            min-width: 200px;
            box-sizing: border-box;
            padding: 0 15px;
        }

        img {
            display: block;
            margin: auto;
            padding-top: 10px;
        }

        ul {
            list-style-type: none;
            padding-left: 0;
        }

        li {
            padding-bottom: 7px;
        }

        li, p {
            font-family: 'opensans', sans-serif;
            font-size: 1rem;
        }

        h2 {
            font-size: 1.5rem;
        }

        @media (max-width: 1150px) {
            .columnContainer, .columnSection {
                width: 90%;
            }
        }

        @media (max-width: 690px) {
            .columnContainer {
                width: 100%;
                text-align: center;
            }
        }
    </style>
</head>
<body>
    <main>
        <img id="header-img" src="https://beta.alttd.com/public/img/logos/logo.png" alt="The Altitude Minecraft Server" height="159"
             width="275">
        <h1 style="text-align: center;" th:text="'Appeal by ' + ${appeal.username}">Appeal by Username</h1>
        <section class="columnSection">
            <div class="columnContainer">
                <div>
                    <h2>User information</h2>
                    <ul>
                        <li><strong>Username:</strong> <span th:text="${appeal.username}">username</span></li>
                        <li><strong>UUID:</strong> <span th:text="${appeal.uuid}">uuid</span></li>
                        <li><strong>Email:</strong> <span th:text="${appeal.email}">email</span></li>
                        <li><strong>Submitted at:</strong> <span th:text="${createdAt}">date</span></li>
                        <li><strong>Reason:</strong> <span th:text="${history.reason}">reason</span></li>
                        <li><strong>Active:</strong> <span th:text="${active}">unknown</span></li>
                    </ul>
                </div>
            </div>
            <div class="columnContainer">
                <div>
                    <h2>Appeal:</h2>
                    <p th:text="${appeal.reason}">appeal</p>
                </div>
            </div>
        </section>
    </main>
</body>
</html>
