<!DOCTYPE html>
<html>
<head>
    <title>Admin Panel</title>
    <style>
        body {
            background-color: white;
            color: black;
            font-family: monospace;
        }
        input {
            font-family: monospace;
        }
    </style>
</head>
<body>
    <h2>Admin Panel</h2>
    <form method="POST">
        <h3>Feature Flags</h3>
        <label>
            <input type="checkbox" name="file_upload" {% if features.get('file_upload') %}checked{% end %}>
            Enable File Upload
        </label><br>
        <label>
            <input type="checkbox" name="file_delete" {% if features.get('file_delete') %}checked{% end %}>
            Enable File Delete
        </label><br>
        <label>
            <input type="checkbox" name="file_rename" {% if features.get('file_rename') %}checked{% end %}>
            Enable File Rename
        </label><br>
        <label>
            <input type="checkbox" name="file_download" {% if features.get('file_download') %}checked{% end %}>
            Enable File Download
        </label><br>
        <label>
            <input type="checkbox" name="file_edit" {% if features.get('file_edit') %}checked{% end %}>
            Enable File Edit
        </label><br>
        <label>
            <input type="checkbox" name="file_share" {% if features.get('file_share') %}checked{% end %}>
            Enable File Share
        </label><br>
        <br>
        <input type="submit" value="Save">
    </form>
    <br>
    <a href="/logout">Logout</a>
</body>
</html>