all repos — legit @ 5ea7cae973e8329ae768c35bda41e656f974815d

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