-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from SgtCoDFish/bettersign
Add a success page for signing
- Loading branch information
Showing
5 changed files
with
73 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!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>Signing the Guestbook</h1> | ||
|
||
<div class="divider"></div> | ||
|
||
{{if .Error}} | ||
<div class="error">{{.Error}}</div> | ||
{{end}} | ||
|
||
{{if .CertName}} | ||
<div> | ||
<p>You signed the guestbook! Thanks for taking part in the cert-manager booth demo!</p> | ||
<p>Note that you get a bonus star in the guestbook if you sign manually using your cert.</p> | ||
<p>You can download your certificate and private key using the QR code on your printed cert.</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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters