From 26ce57a710aac4cd8e4efcf4656c1f2448476c0d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 19:55:10 +0800 Subject: *: Some simple styling with tables --- templates/repo_tree_dir.html | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) (limited to 'templates/repo_tree_dir.html') diff --git a/templates/repo_tree_dir.html b/templates/repo_tree_dir.html index 1306167..0af63d6 100644 --- a/templates/repo_tree_dir.html +++ b/templates/repo_tree_dir.html @@ -7,11 +7,13 @@
-

- /{{ .path_spec }}/ -

+ + + @@ -19,7 +21,6 @@ - {{- $ref := .ref }} {{- $path_spec := .path_spec }} {{- range .files }} @@ -36,9 +37,24 @@
-
- {{ .readme -}} -
+ {{ if .readme }} +
+ /{{ .path_spec }}/ on {{ .ref }} +
Mode Name
+ + + + + + + + + + +
+ README.md +
+ {{ .readme -}} +
+ {{ end }}
-- cgit v1.2.3