This commit is contained in:
pavel 2026-04-08 21:42:09 +02:00
commit b918b92a4d
6 changed files with 702 additions and 0 deletions

View file

@ -25,6 +25,7 @@
<a href="/app">Dashboard</a>
<a href="/leaderboard">Leaderboard</a>
<a href="/app/transfer">Transfer</a>
<a href="/app/lottery">Lottery</a>
<a href="/app/transactions">Transactions</a>
<form method="post" action="/logout" class="inline-form">
<input type="hidden" name="csrf_token" value="{{ .CSRFToken }}">
@ -61,6 +62,8 @@
{{ template "leaderboard" . }}
{{ else if eq .Page "transfer" }}
{{ template "transfer" . }}
{{ else if eq .Page "lottery" }}
{{ template "lottery" . }}
{{ else if eq .Page "transactions" }}
{{ template "transactions" . }}
{{ else if eq .Page "admin_dashboard" }}