all repos — legit @ 9649b3ed2b252cab6ab4076d58814790582f07f0

web frontend for git, written in go

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    <main>
11      <div class="repo-index-headings small-heading">
12        <div>repository</div>
13        <div>description</div>
14        <div>idle</div>
15      </div>
16      <div class="repo-index">
17      {{ range .info }}
18       <div><a href="/{{ .Name }}">{{ .Name }}</a></div>
19       <div>{{ .Desc }}</div>
20       <div>{{ .Idle }}</div>
21      {{ end }}
22      </div>
23    </main>
24  </body>
25</html>
26{{ end }}