all repos — legit @ 1872ca726ab9b0105481ba2404b01e7aeb43bbee

web frontend for git

templates/index.html (view raw)

 1{{ define "index" }}
 2<html>
 3{{ template "head" . }}
 4
 5  <header>
 6    <h1>{{ .meta.Title }}</h1>
 7    <h2>{{ .meta.Description }}</h2>
 8  </header>
 9  <body>
10    {{ template "nav" . }}
11    <main>
12      <table>
13        <tr>
14          <td>repository</td>
15          <td>description</td>
16          <td>last active</td>
17        </tr>
18        {{ range .info }}
19        <tr>
20          <td><a href="/{{ .Name }}">{{ .Name }}</a></td>
21          <td>{{ .Desc }}</td>
22          <td>{{ .Idle }}</td>
23        </tr>
24        {{ end }}
25      </table>
26    </main>
27  </body>
28</html>
29{{ end }}