scaffolding for new seasons

This commit is contained in:
2026-02-02 19:12:14 +11:00
parent 5b4fe91c55
commit 67bf84c3a6
21 changed files with 520 additions and 41 deletions

View File

@@ -55,8 +55,15 @@ templ SeasonsList(seasons *db.SeasonList) {
seasons.PageOpts.OrderBy).CallInline }
>
<!-- Header with title and sort controls -->
<div class="flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4 mb-6">
<h1 class="text-3xl font-bold">Seasons</h1>
<div class="flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4 mb-6 px-4">
<div class="flex gap-4 items-center">
<span class="text-3xl font-bold">Seasons</span>
<a
href="/seasons/new"
class="rounded-lg px-2 py-1 hover:cursor-pointer text-center text-sm
bg-green hover:bg-green/75 text-mantle transition"
>Add season</a>
</div>
@sort.Dropdown(seasons.PageOpts, sortOpts)
</div>
<!-- Results section -->