From 705274a92b34fd1ee7387ba217006cff7ff73be1 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 19:53:50 +0800 Subject: style.css, *.html: Scrolling behavior --- templates/repo_commit.html.tmpl | 4 +++- templates/repo_index.html.tmpl | 10 +++++----- templates/repo_log.html.tmpl | 2 +- templates/repo_raw_dir.html.tmpl | 4 ++-- templates/repo_tree_dir.html.tmpl | 6 +++--- 5 files changed, 14 insertions(+), 12 deletions(-) (limited to 'templates') diff --git a/templates/repo_commit.html.tmpl b/templates/repo_commit.html.tmpl index 3deec3d..c480c92 100644 --- a/templates/repo_commit.html.tmpl +++ b/templates/repo_commit.html.tmpl @@ -6,7 +6,7 @@ {{ .group_name }}/repos/{{ .repo_name }} – Lindenii Forge -
+
@@ -40,6 +40,8 @@
+
+
{{ .patch }}

diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index 216e5f4..84ce662 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -6,8 +6,8 @@ {{ .group_name }}/repos/{{ .repo_name }} – Lindenii Forge -
- +
+
@@ -33,8 +33,8 @@
Recent Commits (see all)
-
- +
+
@@ -63,7 +63,7 @@
{{ if .readme }} -
/ on {{ .ref }}
+
diff --git a/templates/repo_log.html.tmpl b/templates/repo_log.html.tmpl index 9054c2d..74b9c3f 100644 --- a/templates/repo_log.html.tmpl +++ b/templates/repo_log.html.tmpl @@ -6,7 +6,7 @@ Log of {{ .group_name }}/repos/{{ .repo_name }} – Lindenii Forge - +
diff --git a/templates/repo_raw_dir.html.tmpl b/templates/repo_raw_dir.html.tmpl index d2a280c..6574ed4 100644 --- a/templates/repo_raw_dir.html.tmpl +++ b/templates/repo_raw_dir.html.tmpl @@ -6,8 +6,8 @@ {{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – Lindenii Forge -
-
Commits on {{ .ref }}
+
+
diff --git a/templates/repo_tree_dir.html.tmpl b/templates/repo_tree_dir.html.tmpl index 99b6236..7db2035 100644 --- a/templates/repo_tree_dir.html.tmpl +++ b/templates/repo_tree_dir.html.tmpl @@ -6,8 +6,8 @@ {{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – Lindenii Forge -
- +
+
@@ -38,7 +38,7 @@
{{ if .readme }} - +
-- cgit v1.2.3