diff options
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> |