summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-14 17:38:48 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-14 17:39:27 +0530
commit1872ca726ab9b0105481ba2404b01e7aeb43bbee (patch)
tree6e00958263102f297b1a3ff6c2d6b8cd16de754d /templates/index.html
parentd879c2dfb088cb7911e322694c101fb0bdf7c0c0 (diff)
downloadlegit-1872ca726ab9b0105481ba2404b01e7aeb43bbee.tar.gz
legit-1872ca726ab9b0105481ba2404b01e7aeb43bbee.tar.bz2
legit-1872ca726ab9b0105481ba2404b01e7aeb43bbee.zip
routes: description and humanized time to index
Diffstat (limited to '')
-rw-r--r--templates/index.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index 91f18b7..3ab82c7 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -12,12 +12,14 @@
<table>
<tr>
<td>repository</td>
+ <td>description</td>
<td>last active</td>
</tr>
- {{ range $repo, $lc := .info }}
+ {{ range .info }}
<tr>
- <td><a href="/{{ $repo }}">{{ $repo }}</a></td>
- <td>{{ $lc }}</td>
+ <td><a href="/{{ .Name }}">{{ .Name }}</a></td>
+ <td>{{ .Desc }}</td>
+ <td>{{ .Idle }}</td>
</tr>
{{ end }}
</table>