{include file="header.tpl"}
<div class="row">
    <div class="col-md-3">
        <div class="list-group">
            <a href="/admin" class="list-group-item list-group-item-action">Dashboard</a>
            <a href="/admin/users" class="list-group-item list-group-item-action">Users</a>
            <a href="/admin/content" class="list-group-item list-group-item-action">Content</a>
            <a href="/admin/settings" class="list-group-item list-group-item-action">Settings</a>
        </div>
    </div>
    <div class="col-md-9">
        <h1>Admin Dashboard</h1>
        <div class="row">
            <div class="col-md-4">
                <div class="card text-white bg-primary">
                    <div class="card-body">
                        <h5 class="card-title">Total Users</h5>
                        <h2>{$stats.users|default:0}</h2>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="card text-white bg-success">
                    <div class="card-body">
                        <h5 class="card-title">Total Videos</h5>
                        <h2>{$stats.videos|default:0}</h2>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="card text-white bg-info">
                    <div class="card-body">
                        <h5 class="card-title">Active Streams</h5>
                        <h2>{$stats.streams|default:0}</h2>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="footer.tpl"}