diff --git a/templates/navbar.html b/templates/navbar.html index 3bd11c7..53e8962 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -41,6 +41,13 @@ {{ navbarItem .Path (.T "Request beatmap ranking") "/beatmaps/rank_request" }} + {{ else }} + {{ end }} {{ navbarItem .Path (.T "Donate" | printf "%s") "/donate" }} {{ if $isAdmin }}{{ navbarItem .Path (.T "RAP" | printf "%s") "https://old.yozora.pw/p/100" }}{{ end }} diff --git a/templates/register/register.html b/templates/register/register.html index 4d57e42..fbe5805 100644 --- a/templates/register/register.html +++ b/templates/register/register.html @@ -2,52 +2,60 @@
{{ $regEnabled := qb "SELECT value_int FROM system_settings WHERE name = 'registrations_enabled'" }} {{ if .Context.User.ID }} -
- {{ .T "You're already logged in!" }} -
+
+ {{ .T "You're already logged in!" }} +
{{ else if not ($regEnabled.value_int.Bool) }} -
- {{ .T "Sorry, it's not possible to register at the moment. Please try again later." }} -
+
+ {{ .T "Sorry, it's not possible to register at the moment. Please try again later." }} +
{{ else }} - {{ if eq (.Gin.Query "stopsign") "1" }} -
- {{ .T "Remember: this seems like it's your second account! Do not multiaccount, or you're likely to get restricted!" }} + {{ if eq (.Gin.Query "stopsign") "1" }} +
+ {{ .T "Remember: this seems like it's your second account! Do not multiaccount, or you're likely to get restricted!" }} +
+ {{ end }} +
+
Don't have a code? Apply here!
+
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ {{ with config "RecaptchaSite" }} +
+
+
+ {{ end }} + {{ ieForm .Gin }} +
- {{ end }} -
-
-
-
-
- - -
-
- - -
-
- - -
-
- - -
- {{ with config "RecaptchaSite" }} -
-
-
- {{ end }} - {{ ieForm .Gin }} -
-
-
- -
+
+
+
{{ end }}
{{ end }} \ No newline at end of file