Newer
Older
medialib-manager / templates / index.html
@root root 28 days ago 1 KB init
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Media Library Manager</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <div class="container mt-4">
        <h1 class="mb-4">Media Library Manager</h1>
        <a href="/configure" class="btn btn-primary mb-4">Configure Directories</a>
        <table class="table table-striped">
            <thead>
                <tr>
                    <th>File Name</th>
                    <th>Path</th>
                    <th>Size (Bytes)</th>
                </tr>
            </thead>
            <tbody>
                {% for file in media_files %}
                <tr>
                    <td>{{ file.name }}</td>
                    <td>{{ file.path }}</td>
                    <td>{{ file.size }}</td>
                </tr>
                {% endfor %}
            </tbody>
        </table>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>