-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (73 loc) · 1.96 KB
/
index.html
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" type="image/png" href="/static/favicon.ico" />
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap" rel="stylesheet" />
<title>cluster={{ .Cluster }} (sikalabs kubernetes)</title>
<style>
/* Set page size and style */
body,
html {
height: 100%;
margin: 0;
display: flex;
font-family: "IBM Plex Mono", sans-serif;
background: url(/static/bg.jpg) center center / cover no-repeat fixed;
padding: 0 1em;
color: white;
font-size: 1.2em;
}
p {
margin: 0;
}
a {
color: white;
}
/* Top-left text */
.top-left {
position: absolute;
top: 0;
left: 0;
padding: 10px;
text-align: left;
}
/* Center text */
.center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
/* Bottom-right text */
.bottom-right {
position: absolute;
bottom: 0;
right: 0;
padding: 10px;
text-align: right;
}
</style>
</head>
<body>
<div class="top-left">cluster={{ .Cluster }}</div>
<div class="center">
{{ if .Show404 }}
<p style="font-size: 7em">404</p>
{{ end }}
</div>
<div class="bottom-right">
<p>
<span>sikalabs kubernetes</span>
<br />
<span style="font-size: 0.5em">
<a href="https://sikalabs.com" target="_blank">sikalabs.com</a>,
<a href="https://github.com/sikalabs/sikalabs-kubernetes-ingress-default-page" target="_blank">src</a>
</span>
</p>
</div>
</body>
</html>