From 3f0342fcbf5aafc13b3fce58c077d86275e3781d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 20:24:30 +0800 Subject: repo_index.html, style.css: CSS state machines --- templates/repo_index.html.tmpl | 21 ++++++--------------- templates/repo_raw_dir.html.tmpl | 5 ----- templates/repo_tree_dir.html.tmpl | 5 ----- 3 files changed, 6 insertions(+), 25 deletions(-) (limited to 'templates') diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index 84ce662..c3b4759 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -7,15 +7,11 @@
+ - - - - - - + @@ -34,15 +30,11 @@
Recent Commits (see all)
TitleAuthorTime
+ - - - - - - + @@ -63,12 +55,11 @@
{{ if .readme }} +
/ on {{ .ref }}
ModeNameSize
- + diff --git a/templates/repo_raw_dir.html.tmpl b/templates/repo_raw_dir.html.tmpl index 3dcb8a6..f55d8c8 100644 --- a/templates/repo_raw_dir.html.tmpl +++ b/templates/repo_raw_dir.html.tmpl @@ -14,11 +14,6 @@ (Raw) /{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} on {{ .ref }} - - - - - {{- $path_spec := .path_spec }} diff --git a/templates/repo_tree_dir.html.tmpl b/templates/repo_tree_dir.html.tmpl index 7db2035..aa457c4 100644 --- a/templates/repo_tree_dir.html.tmpl +++ b/templates/repo_tree_dir.html.tmpl @@ -14,11 +14,6 @@ /{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} on {{ .ref }} - - - - - {{- $path_spec := .path_spec }} -- cgit v1.2.3
- README.md -
ModeNameSize
ModeNameSize