mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-15 04:58:43 +00:00
fix(challenges/xeact): add default loading message
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
@@ -7,7 +7,9 @@ import (
|
|||||||
|
|
||||||
templ page(redir, challenge string, difficulty int, loc *localization.SimpleLocalizer) {
|
templ page(redir, challenge string, difficulty int, loc *localization.SimpleLocalizer) {
|
||||||
<div class="centered-div">
|
<div class="centered-div">
|
||||||
<div id="app"></div>
|
<div id="app">
|
||||||
|
{ loc.T("loading") }
|
||||||
|
</div>
|
||||||
@templ.JSONScript("preact_info", map[string]any{
|
@templ.JSONScript("preact_info", map[string]any{
|
||||||
"redir": redir,
|
"redir": redir,
|
||||||
"challenge": challenge,
|
"challenge": challenge,
|
||||||
|
|||||||
Reference in New Issue
Block a user