Add icons
This commit is contained in:
parent
c1d86146af
commit
863254f846
@ -18,13 +18,31 @@
|
|||||||
</button>
|
</button>
|
||||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||||
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
||||||
<li class="nav-item"><a href="/admin" class="nav-link">Home</a></li>
|
<li class="nav-item">
|
||||||
<li class="nav-item"><a href="/admin/reviews" class="nav-link">Reviews</a></li>
|
<a href="/admin" class="nav-link"><i class="bi bi-speedometer2"></i> Dashboard</a>
|
||||||
<li class="nav-item"><a href="/admin/submissions" class="nav-link">Submissions</a></li>
|
</li>
|
||||||
<li class="nav-item"><a href="/admin/problems" class="nav-link">Problems</a></li>
|
<li class="nav-item">
|
||||||
<li class="nav-item"><a href="/admin/scoreboard" class="nav-link">Scoreboards</a></li>
|
<a href="/admin/reviews" class="nav-link"><i class="bi bi-eye"></i> Reviews</a>
|
||||||
<li class="nav-item"><a href="/admin/teams" class="nav-link">Teams</a></li>
|
</li>
|
||||||
<li class="nav-item"><a href="/admin/contests" class="nav-link">Contests</a></li>
|
<li class="nav-item">
|
||||||
|
<a href="/admin/submissions" class="nav-link"
|
||||||
|
><i class="bi bi-envelope-paper"></i> Submissions</a
|
||||||
|
>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="/admin/problems" class="nav-link"
|
||||||
|
><i class="bi bi-question-circle"></i> Problems</a
|
||||||
|
>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="/admin/scoreboard" class="nav-link"><i class="bi bi-trophy"></i> Scoreboards</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="/admin/teams" class="nav-link"><i class="bi bi-people"></i> Teams</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="/admin/contests" class="nav-link"><i class="bi bi-flag"></i> Contests</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
3
web/src/routes/admin/+page.server.ts
Normal file
3
web/src/routes/admin/+page.server.ts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
import type { PageServerLoad } from './$types';
|
||||||
|
|
||||||
|
export const load = (async () => {}) satisfies PageServerLoad;
|
@ -2,4 +2,4 @@
|
|||||||
<title>Admin Home</title>
|
<title>Admin Home</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<h1 style="text-align:center" class="mb-4">Admin Home</h1>
|
<h1 style="text-align:center" class="mb-4"><i class="bi bi-speedometer2"></i> Dashboard</h1>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<title>Contests</title>
|
<title>Contests</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<h1 style="text-align:center" class="mb-4">Contests</h1>
|
<h1 style="text-align:center" class="mb-4"><i class="bi bi-flag"></i> Contests</h1>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="text-end">
|
<div class="text-end">
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<title>Problems</title>
|
<title>Problems</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<h1 style="text-align:center" class="mb-4">Problems</h1>
|
<h1 style="text-align:center" class="mb-4"><i class="bi bi-question-circle"></i> Problems</h1>
|
||||||
|
|
||||||
<div class="row mb-3">
|
<div class="row mb-3">
|
||||||
<div class="text-end">
|
<div class="text-end">
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
<title>Reviews</title>
|
<title>Reviews</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<h1 style="text-align:center" class="mb-4">Reviews</h1>
|
<h1 style="text-align:center" class="mb-4"><i class="bi bi-eye"></i> Reviews</h1>
|
||||||
|
|
||||||
<div class="mb-3 text-end">
|
<div class="mb-3 text-end">
|
||||||
{#if updating}
|
{#if updating}
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<title>Admin Scoreboard</title>
|
<title>Admin Scoreboard</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<h1 style="text-align:center" class="mb-4">Admin Scoreboards</h1>
|
<h1 style="text-align:center" class="mb-4"><i class="bi bi-trophy"></i> Admin Scoreboards</h1>
|
||||||
|
|
||||||
<div class="text-end">
|
<div class="text-end">
|
||||||
{#if updating}
|
{#if updating}
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<title>Submissions</title>
|
<title>Submissions</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<h1 style="text-align:center" class="mb-4">Submissions</h1>
|
<h1 style="text-align:center" class="mb-4"><i class="bi bi-envelope-paper"></i> Submissions</h1>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-8">
|
<div class="col-8">
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<title>Teams</title>
|
<title>Teams</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<h1 style="text-align:center" class="mb-4">Teams</h1>
|
<h1 style="text-align:center" class="mb-4"><i class="bi bi-people"></i> Teams</h1>
|
||||||
|
|
||||||
{#if form && !form.success}
|
{#if form && !form.success}
|
||||||
<div class="alert alert-danger">Invalid action</div>
|
<div class="alert alert-danger">Invalid action</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user