<div class="container py-4">
    <div class="row justify-content-center">
        <div class="col-md-8">
            {ADMIN_BREADCRUMBS}
            <div class="card shadow">
                <!-- Card Header -->
                <div class="card-header text-center bg-dark text-white">
                    <h3 class="card-title mb-0">{filename}</h3>
                </div>

                <!-- Card Body -->
                <div class="card-body">
                    <div class="row align-items-center">
                        <!-- User Image -->
                        <div class="col-md-4 text-center">
                            <img src="{url}" alt="User Pic" class="img-fluid" style="max-width: 150px;">
                        </div>

                        <!-- User Details -->
                        <div class="col-md-8">
                            <table class="table table-borderless">
                                <tbody>
                                    <tr>
                                        <th scope="row">filename</th>
                                        <td>{filename}</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">extension</th>
                                        <td>{extension}</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">fileSize</th>
                                        <td>{fileSize}</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">location</th>
                                        <td>{location}</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">url</th>
                                        <td>{url}</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">folder</th>
                                        <td>{folder}</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <!-- Admin Controls -->
                <div class="card-footer text-center">
                    {ADMIN}
                    <a href="{ROOT_URL}admin/images/rename?fileLocation={locationSafe}" class="btn btn-warning btn-sm me-2" data-bs-toggle="tooltip" title="Rename image">
                        <i class="fa fa-fw fa-pencil"></i>
                    </a>
                    <a href="{ROOT_URL}admin/images/delete?fileLocation={locationSafe}" class="btn btn-danger btn-sm" data-bs-toggle="tooltip" title="Delete image">
                        <i class="fa fa-fw fa-trash"></i>
                    </a>
                    {/ADMIN}
                </div>
            </div>
        </div>
    </div>
</div>
