From c6c77c6903c411943160deed0440372b30ddf6d2 Mon Sep 17 00:00:00 2001
From: BrookJeynes
Date: Tue, 3 Jun 2025 00:33:03 +1000
Subject: [PATCH] appview/pages: add languages to repo index; show name and
percentage on hover
This commit adds languages with their associated colour just below the
tabs on the repo index page. Hovering over the colours will display the
language name and file percentage within the repo.
Signed-off-by: BrookJeynes
---
appview/pages/templates/layouts/repobase.html | 49 ++++++++++---------
appview/pages/templates/repo/index.html | 14 ++++++
2 files changed, 40 insertions(+), 23 deletions(-)
diff --git a/appview/pages/templates/layouts/repobase.html b/appview/pages/templates/layouts/repobase.html
index ef6f4b40..940df809 100644
--- a/appview/pages/templates/layouts/repobase.html
+++ b/appview/pages/templates/layouts/repobase.html
@@ -1,29 +1,32 @@
{{ define "title" }}{{ .RepoInfo.FullName }}{{ end }}
{{ define "content" }}
-
- {{ if .RepoInfo.Source }}
-