-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.gohtml
39 lines (37 loc) · 1.47 KB
/
index.gohtml
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
{{- /*gotype: main.indexPageContents */ -}}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Foreman Exporter</title>
<link rel="stylesheet" href="{{ AddPathPrefix "/static/bootstrap-5.1.3.min.css" }}">
<link rel="stylesheet" href="{{ AddPathPrefix "/static/styles.css" }}">
<script src="{{ AddPathPrefix "/static/bootstrap-5.1.3.bundle.min.js" }}"></script>
</head>
<body>
<div class="d-flex flex-column container py-3">
<div class="header row border-bottom py-3 flex-column-reverse flex-sm-row">
<div class="col-12 col-sm-9 text-center text-sm-start">
<h1>Foreman Exporter</h1>
</div>
<div class="col-12 col-sm-3 text-center text-sm-end mb-3 mb-sm-0">
<img alt="Foreman Exporter logo" class="foreman-brand" src="{{ AddPathPrefix "/static/foreman.png" }}">
</div>
</div>
{{ range $i, $ := .LinkGroups }}
<div class="row service-row border-bottom py-3">
<div class="col-sm-3 text-start text-sm-end"><h2>{{ $.Desc }}</h2></div>
<div class="col-sm-9">
<ul class="my-0 list-unstyled">
{{ range $.Links }}
<li><a href="{{ AddPathPrefix .Path }}">{{ .Desc }}</a></li>
{{ end }}
</ul>
</div>
</div>
{{ end }}
</div>
</body>
</html>