aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorAnirudh Oppiliappan <x@icyphox.sh>2022-12-14 17:38:48 +0530
committerAnirudh Oppiliappan <x@icyphox.sh>2022-12-14 17:39:27 +0530
commit1872ca726ab9b0105481ba2404b01e7aeb43bbee (patch)
tree6e00958263102f297b1a3ff6c2d6b8cd16de754d /templates/index.html
parenttemplate: line numbers for file view (diff)
downloadlegitrx-1872ca726ab9b0105481ba2404b01e7aeb43bbee.tar.gz
legitrx-1872ca726ab9b0105481ba2404b01e7aeb43bbee.tar.zst
legitrx-1872ca726ab9b0105481ba2404b01e7aeb43bbee.zip
routes: description and humanized time to index
Diffstat (limited to 'templates/index.html')
-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>