all repos — legit @ e4d12fc667c9830dd5f08f827b2a70adff58a09b

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    <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 }}