From 55f56418df58d196daa97f3c08e3b6305e831b82 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Fri, 5 Aug 2016 06:35:19 +0100 Subject: Use bootstrap Move templates and static under server/ --- templates/certs.go | 71 ------------------------------------------------------ templates/token.go | 49 ------------------------------------- 2 files changed, 120 deletions(-) delete mode 100644 templates/certs.go delete mode 100644 templates/token.go (limited to 'templates') diff --git a/templates/certs.go b/templates/certs.go deleted file mode 100644 index 877a0b3..0000000 --- a/templates/certs.go +++ /dev/null @@ -1,71 +0,0 @@ -package templates - -// Certs lists all unexpired issued certificates. -const Certs = ` - - Certs - - - - -
- {{ .CSRF }} - - - - - - - - - - - {{range .Certs}} - - - - - - - - - {{ end }} -
IDCreatedExpiresPrincipalsRevokedRevoke
{{.KeyID}}{{.CreatedAt}}{{.Expires}}{{.Principals}}{{.Revoked}} - {{if not .Revoked}} - - {{end}} -
-
- - -` diff --git a/templates/token.go b/templates/token.go deleted file mode 100644 index 270055b..0000000 --- a/templates/token.go +++ /dev/null @@ -1,49 +0,0 @@ -package templates - -// Token is the page users see when authenticated. -const Token = ` - - YOUR TOKEN! - - - -

- This is your token. There are many like it but this one is yours. -

- -

- The token will expire in < 1 hour. -

- -` -- cgit v1.2.3