From 82680f5b8cb6457275f18d60e1af017101a79b64 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Wed, 17 Aug 2016 20:09:58 +0100 Subject: Switch from bootstrap to skeleton --- server/templates/certs.go | 100 +++++++++++++++++++--------------------------- server/templates/token.go | 80 ++++++++++++++++--------------------- 2 files changed, 77 insertions(+), 103 deletions(-) (limited to 'server/templates') diff --git a/server/templates/certs.go b/server/templates/certs.go index 2bda893..8c7f7ef 100644 --- a/server/templates/certs.go +++ b/server/templates/certs.go @@ -4,67 +4,51 @@ package templates const Certs = ` - - - - - - Issued Certificates + + + + Issued Certificates - - + + + + + +
+ - - - - - -
- - -
- {{ .CSRF }} - - - - - - - - - - - {{range .Certs}} -
-
- - - - - - - + + {{ .CSRF }} +
IDCreatedExpiresPrincipalsRevokedRevoke
{{.KeyID}}{{.CreatedAt}}{{.Expires}}{{.Principals}}{{.Revoked}} - {{if not .Revoked}} - - {{end}} -
+ + + + + + + + + + + + {{range .Certs}} + + + + + + + + + {{ end }} + +
IDCreatedExpiresPrincipalsRevokedRevoke
{{.KeyID}}{{.CreatedAt}}{{.Expires}}{{.Principals}}{{.Revoked}}{{if not .Revoked}}{{end}}
+
+
- {{ end }} - - - -
- - - - - - + ` diff --git a/server/templates/token.go b/server/templates/token.go index d21c03f..afed2a3 100644 --- a/server/templates/token.go +++ b/server/templates/token.go @@ -4,53 +4,43 @@ package templates const Token = ` - - - - - - Token + + + + Token - - - - - - - - - -
- -
- -

- The token will expire in < 1 hour. -

+ + +
+ +
+ +

+ The token will expire in < 1 hour. +

+
-
- - - - - + ` -- cgit v1.2.3