<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="Created" content="2026-04-10">
    <meta name="Author" content="Kārlis Grīnvalds">
    <meta name="Last edited" content="2026-05-13">
    <meta name="Edited by" content="Kārlis Grīnvalds">
    <meta name="csrf-token" content="<?= csrf_hash() ?>">
    <meta name="csrf-name" content="<?= csrf_token() ?>">
    <title>User settings | Media CMS</title>
    <script src="js/jquery/jquery-3.7.1.min.js"></script>
    <script src="js/user_settings.js"></script>
    <script src="js/script.js"></script>
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/elements.css">
    <link rel="stylesheet" href="css/user_settings.css">
</head>
<body>
    <?php echo $BodyParts ?>
    <!-- Shows create account and log in links or log out link and welcome message for the user -->
    <div id="UserProfile" class="user-profile"></div>
    <!-- Page layout -->
    <div class="container">
        <header>
            <!-- Displays all the action that the user can do -->
            <div id="GoBackBar" class="action-bar"></div>
        </header>
        <div class="main">
            <!-- Main stuff -->
            <h1>User information</h1><hr>
            <p>Currently, this page contains topics that you have special access, permissions or are an owner.</p>
            <h2>Topics</h2><hr>
            <table id="TopicList" class="borders">
                <tr class="yippee">
                    <th style="width: 20%">Topic name</th>
                    <th style="width: 10%">Visiblity</th>
                    <th>Permissions</th>
                    <th style="width: 10%">Actions</th>
                </tr>
                <tr class="yippee">
                    <td colspan="4">
                        <div class="search-item-field"><input id="TopicSearchInput" type="text" placeholder="Find topic"></div>
                    </td>
                </tr>
            </table>
        </div>
        <footer>Page: user settings</footer>
    </div>
</body>
</html>