-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.index.html
54 lines (50 loc) · 1.27 KB
/
template.index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
{{ template "head" .HeadData }}
</head>
<body>
<div class="content">
<div class="metadata">
<b>{{ .HeadData.SiteName }}</b>
</div>
<div>
<div class="metadata">
<r-grid columns="20" style="gap: 2px;">
<r-cell span="5">
<b>Name</b>
</r-cell>
<r-cell span="8">
<b>Description</b>
</r-cell>
<r-cell span="7">
<b>Git</b>
</r-cell>
{{ range .Repos }}
<r-cell span="5">
<div class="ellipsis">
<a href="{{ $.HeadData.BaseURL }}{{ .Name }}/log.html">
{{ .Name }}
</a>
</div>
</r-cell>
<r-cell span="8">
<div class="ellipsis">{{ .Description }}</div>
</r-cell>
<r-cell span="7">
<div class="ellipsis">
<a class="mono" href="{{ .BaseURL }}git/{{ .Name }}.git">
{{ .BaseURL }}{{ .Name }}.git
</a>
</div>
</r-cell>
{{ end }}
</r-grid>
</div>
<div style="padding-top: 2em">
<small><b>Generated:</b> {{ .HeadData.GenTime }}</small>
</div>
</div>
</div>
</body>
</html>