diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-17 12:46:09 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-17 12:46:57 +0530 |
commit | 9649b3ed2b252cab6ab4076d58814790582f07f0 (patch) | |
tree | 9af97b2edfb543ea96fd3d647c98763f1f52a905 /templates/index.html | |
parent | d083d5d72e4bf496b8152d14986818a5b63fe301 (diff) | |
download | legit-9649b3ed2b252cab6ab4076d58814790582f07f0.tar.gz legit-9649b3ed2b252cab6ab4076d58814790582f07f0.tar.bz2 legit-9649b3ed2b252cab6ab4076d58814790582f07f0.zip |
templates: index rework
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/templates/index.html b/templates/index.html index 3ab82c7..690e2e1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,22 +7,19 @@ <h2>{{ .meta.Description }}</h2> </header> <body> - {{ template "nav" . }} <main> - <table> - <tr> - <td>repository</td> - <td>description</td> - <td>last active</td> - </tr> - {{ range .info }} - <tr> - <td><a href="/{{ .Name }}">{{ .Name }}</a></td> - <td>{{ .Desc }}</td> - <td>{{ .Idle }}</td> - </tr> - {{ end }} - </table> + <div class="repo-index-headings small-heading"> + <div>repository</div> + <div>description</div> + <div>idle</div> + </div> + <div class="repo-index"> + {{ range .info }} + <div><a href="/{{ .Name }}">{{ .Name }}</a></div> + <div>{{ .Desc }}</div> + <div>{{ .Idle }}</div> + {{ end }} + </div> </main> </body> </html> |