-
Notifications
You must be signed in to change notification settings - Fork 6
/
after-print.html
41 lines (35 loc) · 1.34 KB
/
after-print.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<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" />
<meta http-equiv="refresh" content="2;URL=/certificate?certName={{.CertName}}&fetchKey={{.FetchKey}}">
</head>
<body>
<div class="wrapper">
<img src="static/images/logo.svg" alt="Logo" width="220" height="191" />
<h1>Printing your certificate</h1>
<div class="divider"></div>
{{if .Error}}
<div class="error">{{.Error}}</div>
{{end}}
{{if .CertName}}
<div class="success">
<p style="color: seagreen">Your certificate should now get printed! Redirecting to your certificate in 2 seconds...</p>
</div>
<div class="divider"></div>
<form method="GET" action="/certificate" class="form">
<input name="certName" type="text" value="{{.CertName}}" hidden required />
<input name="fetchKey" type="text" value="{{.FetchKey}}" hidden required />
<input type="submit" value="Back to your certificate" class="constrain" />
</form>
{{end}}
</div>
</body>
</html>