all repos — legit @ 08255439fb30e5262794344f4a83bd4538c8606f

web frontend for git

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