From 5f531aa771bf37f4c72cf977464d883e8c0186c6 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Tue, 16 Jun 2026 10:47:31 +0200 Subject: [PATCH] feat: add anime_statistics component template --- templates/components/anime_statistics.gohtml | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 templates/components/anime_statistics.gohtml diff --git a/templates/components/anime_statistics.gohtml b/templates/components/anime_statistics.gohtml new file mode 100644 index 0000000..46cb33d --- /dev/null +++ b/templates/components/anime_statistics.gohtml @@ -0,0 +1,36 @@ +{{define "anime_statistics"}} +{{if .Items}} +
+
+ Watching + {{.Items.Watching}} +
+
+ Completed + {{.Items.Completed}} +
+
+ On Hold + {{.Items.OnHold}} +
+
+ Dropped + {{.Items.Dropped}} +
+
+ Plan to Watch + {{.Items.PlanToWatch}} +
+
+{{end}} +{{end}} + +{{define "anime_statistics_loading"}} +
+
+ {{range (seq 5)}} +
+ {{end}} +
+
+{{end}}