diff options
author | Ben Burwell <ben@benburwell.com> | 2020-04-13 23:57:13 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2020-04-13 23:57:13 -0400 |
commit | 2ce3b86e0ff69538935db3149d1ed2f24aea09a3 (patch) | |
tree | 1c0329a5c1191690e57e7160bd3150c9a2851866 /server/templates | |
parent | 8b1ee3e95010681d98d1b31af98f0ce0832cedd2 (diff) |
Simplify
Diffstat (limited to 'server/templates')
-rw-r--r-- | server/templates/token.go | 40 |
1 files changed, 4 insertions, 36 deletions
diff --git a/server/templates/token.go b/server/templates/token.go index 7eb0b47..05f5a82 100644 --- a/server/templates/token.go +++ b/server/templates/token.go @@ -3,49 +3,17 @@ package templates // Token is the page users see when authenticated. const Token = ` <!DOCTYPE html> -<html lang="en"> +<html> <head> <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Token</title> - - <link rel="stylesheet" href="/static/css/normalize.css"> - <link rel="stylesheet" href="/static/css/skeleton.css"> - <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet"> - <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet"> <style> - <!-- - .code { - background-color: #eee; - border: solid 1px #ccc; - font-family: 'Source Code Pro', monospace; - font-weight: bold; - height: 120px; - margin: 12px 12px 12px 12px; - padding: 24px 12px 12px 12px; - resize: none; - text-align: center; - } - --> </style> </head> <body> - <div class="container"> - <div class="page-header"> - <h2>Access Token</h2> - </div> - <div> - <textarea style="font-size: 12pt" class="u-full-width code" readonly spellcheck="false" onclick="this.focus();this.select();">{{.Token}}</textarea> - <h3> - The token will expire in < 1 hour. - </h3> - </div> - <div> - <h4> - <a href="/admin/certs">Previously Issued Certificates</a> - </h4> - </div> - </div> + <h1>Access Token</h1> + <p>Paste the following token at your <code>cashier</code> prompt:</p> + <pre><code>{{.Token}}</code></pre> </body> </html> ` |