aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-10 08:30:39 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-10 08:37:23 +0800
commitc339ab02c2db423125f6b3c1a19606cd5a4c793e (patch)
tree5e5a95a6a1f3f72847b89554b5d3951fde5b3af1 /templates
parentrepo_index: Only display first four characters of os_mode (diff)
downloadforge-c339ab02c2db423125f6b3c1a19606cd5a4c793e.tar.gz
forge-c339ab02c2db423125f6b3c1a19606cd5a4c793e.tar.zst
forge-c339ab02c2db423125f6b3c1a19606cd5a4c793e.zip
reop_index.html, style.css: padding-wrapper
Diffstat (limited to '')
-rw-r--r--templates/repo_index.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/repo_index.html b/templates/repo_index.html
index 13bac72..776b84e 100644
--- a/templates/repo_index.html
+++ b/templates/repo_index.html
@@ -6,6 +6,7 @@
<title>{{ .project_name }}/repos/{{ .repo_name }}</title>
</head>
<body class="repo-index">
+<div class="padding-wrapper">
<table id="recent-commits">
<thead>
<tr>
@@ -30,10 +31,11 @@
{{- end }}
</tbody>
</table>
+</div>
+<div class="padding-wrapper">
<table id="file-tree">
<thead>
<tr>
-<!--th scope="col">Blob/Tree ID</th-->
<th scope="col">Mode</th>
<th scope="col">Name</th>
<th scope="col">Size</th>
@@ -49,11 +51,16 @@
{{- end }}
</tbody>
</table>
+</div>
+<div class="padding-wrapper">
<div id="refs">
</div>
+</div>
+<div class="padding-wrapper">
<div id="readme">
{{ .readme -}}
</div>
+</div>
</body>
</html>
{{- end -}}