-
Notifications
You must be signed in to change notification settings - Fork 6
/
header.gohtml
45 lines (43 loc) · 1.3 KB
/
header.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
40
41
42
43
44
45
<html>
<style type="text/css">
.content-header {
width: 100%;
display: flex;
flex-wrap: wrap;
background-color: white;
color: black;
padding: 5px;
-webkit-print-color-adjust: exact;
vertical-align: middle;
font-weight: bold;
font-size: 20px;
margin-left: 20px;
margin-right: 20px;
display: inline-block;
text-align: start;
border-bottom: 1px solid lightgray;
}
.content-header-left {
font-weight: bold;
font-size: 8px;
float: left;
}
.content-header-right {
font-weight: bold;
font-size: 8px;
float: right;
}
</style>
<body>
<div class="content-header">
<div class="content-header-left">generated on {{.Date}}</div>
<div class="content-header-right">Datetime range: {{.From}} to {{.To}}</div>
<br />
{{ .Title }} <span class="pageNumber"></span>/<span class="totalPages"></span>
{{- if .VariableValues}}
<br />
<div class="content-header-left">{{ .VariableValues }}</div>
{{- end}}
</div>
</body>
</html>