-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlist.html
69 lines (65 loc) · 1.97 KB
/
list.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
{{if .Refresh}}
<meta http-equiv="refresh" content="{{.Refresh}}" />
{{end}}
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="static/styles.css" />
</head>
<body>
<div class="wrapper">
<br />
<img src="static/images/logo.svg" alt="Logo" width="220" height="191" />
<h1 class="mainTitle">Print Your Certificate</h1>
<p>
<strong>{{.CountPrinted}}</strong> certificates have already been
printed, and there are <strong>{{.CountPending}}</strong> waiting to be printed.
</p>
<div class="divider"></div>
<div class="panel large">
<div class="content">
<table>
<thead class="header">
<tr>
<th>#</th>
<th>Name</th>
<th>Date</th>
<th>State</th>
</tr>
</thead>
<tbody>
{{range .Certificates}}
<tr>
<td class="bold">{{.Position}}</td>
<td class="bold limit">{{.Name}}</td>
<td>{{.Date}}</td>
<td>{{.State}}</td>
</tr>
{{end}}
</tbody>
</table>
</div>
</div>
<div class="push"></div>
</div>
<footer>
<p>
Powered by <a href="https://cert-manager.io" target="_blank">cert-manager.io</a>
</p>
<p class="small">
Project proudly supported by
<a href="https://venafi.com" target="_blank">Venafi</a>
</p>
<p class="small">
Design by <a href="https://constantinchirila.com" target="_blank">Constantin Chirila</a>
</p>
</footer>
</body>
</html>