- {{ range countryList 500 }}
- {{ $short := . }}
- {{ with country . true }}
-
+*/}}
+{{ define "tpl" }}
+{{ . }}
- {{ end }}
- {{ end }}
-
+ {{ $favModeRaw := .Get "users/self/favourite_mode" }}
+ {{ $favMode := _or (atoi (.Gin.Query "mode")) $favModeRaw.favourite_mode (float 0) }}
+
+
+
+ {{ template "simplepag" 5 }}
+
+
+{{ end }}
\ No newline at end of file
diff --git a/templates/leaderboard_relax.html b/templates/leaderboard_relax.html
index f5d27d1..089f2be 100644
--- a/templates/leaderboard_relax.html
+++ b/templates/leaderboard_relax.html
@@ -1,59 +1,58 @@
{{/*###
Handler=/relaxboard
- TitleBar=Leaderboard
+ TitleBar=Relax Leaderboard
KyutGrill=leaderboard2.jpg
*/}}
- {{ define "tpl" }}
-
+
+ {{ .T "Rank" }} | +{{ .T "Player" }} | +{{ .T "PP/Score" }} | +{{ .T "Accuracy" }} | +{{ .T "Playcount" }} | +
---|
+
- {{ end }}
-
\ No newline at end of file
+
+
+ {{ range countryList 500 }}
+ {{ $short := . }}
+ {{ with country . true }}
+
{{ . }}
+ {{ end }}
+ {{ end }}
- {{ $favModeRaw := .Get "users/self/favourite_mode" }}
- {{ $favMode := _or (atoi (.Gin.Query "mode")) $favModeRaw.favourite_mode (float 0) }}
-
-
-
- {{ template "simplepag" 5 }}
-
-
-
- {{ .T "Rank" }} | -{{ .T "Player" }} | -{{ .T "PP/Score" }} | -{{ .T "Accuracy" }} | -{{ .T "Playcount" }} | -
---|
-
-
- {{ range countryList 500 }}
- {{ $short := . }}
- {{ with country . true }}
-
+{{ define "tpl" }}
+{{ . }}
- {{ end }}
- {{ end }}
-
+ {{ $favModeRaw := .Get "users/self/favourite_mode" }}
+ {{ $favMode := _or (atoi (.Gin.Query "mode")) $favModeRaw.favourite_mode (float 0) }}
+
+
+
+ {{ template "simplepag" 5 }}
+
+
+{{ end }}
\ No newline at end of file
+
+ {{ .T "Rank" }} | +{{ .T "Player" }} | +{{ .T "PP/Score" }} | +{{ .T "Accuracy" }} | +{{ .T "Playcount" }} | +
---|
+
- {{ end }}
-
\ No newline at end of file
+
+
+ {{ range countryList 500 }}
+ {{ $short := . }}
+ {{ with country . true }}
+
{{ . }}
+ {{ end }}
+ {{ end }}