53 lines
No EOL
1.3 KiB
Text
53 lines
No EOL
1.3 KiB
Text
<%- include("../base/header", { title: "Admin Dashboard", userId: session.userId, isAdmin: true }) %>
|
|
|
|
<div class="row">
|
|
<div class="col">
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item active"><a>Admin</a></li>
|
|
</ol>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col">
|
|
<h1>Admin Dashboard</h1>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row row-cols-3 my-5">
|
|
<div class="col mb-3">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<h4 class="card-title">Users</h4>
|
|
<h3 class="card-text mb-0"><%= userCount %></h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col mb-3">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<h4 class="card-title">Parties</h4>
|
|
<h3 class="card-text mb-0"><%= partyCount %></h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col mb-3">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<h4 class="card-title">Badges</h5>
|
|
<h3 class="card-text mb-0"><%= 0 %></h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col">
|
|
<a class="btn btn-primary btn-lg me-2" href="/admin/users">Manage Users</a>
|
|
<a class="btn btn-primary btn-lg me-2" href="/admin/parties">Manage Parties</a>
|
|
<a class="btn btn-primary btn-lg me-2">Manage Badges</a>
|
|
</div>
|
|
</div>
|
|
<%- include("../base/footer") %> |