all repos — legit @ 7fe98772b079cca83b854e8f8a6be5dc55c10483

web frontend for git, written in go

templates/index.html (view raw)

 1{{ define "index" }}
 2<html>
 3{{ template "head" . }}
 4
 5  <title>
 6    {{ .meta.Title }}
 7  </title>
 8
 9  <header>
10    <h1>{{ .meta.Title }}</h1>
11    <h2>{{ .meta.Description }}</h2>
12  </header>
13  <body>
14    <main>
15      <div class="index-headings small-heading">
16        <div>repository</div>
17        <div>description</div>
18        <div>idle</div>
19      </div>
20      <div class="index">
21      {{ range .info }}
22       <div><a href="/{{ .Name }}">{{ .Name }}</a></div>
23       <div class="desc">{{ .Desc }}</div>
24       <div>{{ .Idle }}</div>
25      {{ end }}
26      </div>
27    </main>
28  </body>
29</html>
30{{ end }}