blob: afed2a3f59dc3bae4b11908ae4d6f996811f76d6 (
plain)
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
42
43
44
45
46
|
package templates
// Token is the page users see when authenticated.
const Token = `
<!DOCTYPE html>
<html lang="en">
<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: auto;
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">
<h1>Access Token</h1>
</div>
<div>
<textarea style="font-size: 15pt" class="u-full-width code" readonly spellcheck="false" onclick="this.focus();this.select();">{{.Token}}</textarea>
<h2>
The token will expire in < 1 hour.
</h2>
</div>
</div>
</body>
</html>
`
|