Add stats link, year selector
This commit is contained in:
@ -6,7 +6,15 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="dark:text-white max-w-sm sm:max-w-xl lg:max-w-3xl mx-auto">
|
||||
<h1 class="text-5xl text-center my-6">Stats for {{ year }}</h1>
|
||||
<div class="flex justify-center items-center">
|
||||
<form method="get" class="text-center">
|
||||
<label class="text-5xl text-center inline-block mb-10" for="yearSelect">Stats for:</label>
|
||||
<select name="year" id="yearSelect" onchange="this.form.submit();" class="mx-2">
|
||||
<option value="2022" {% if year == 2022 %}selected{% endif %}>2022</option>
|
||||
<option value="2023" {% if year == 2023 %}selected{% endif %}>2023</option>
|
||||
</select>
|
||||
</form>
|
||||
</div>
|
||||
<table class="responsive-table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user