forked from stepanstipl/k8s-demo-app
-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.html
30 lines (30 loc) · 1.03 KB
/
template.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
<!DOCTYPE html>
<html>
<head>
<title>K8s Demo App</title>
<link rel="stylesheet" href="/static/picnic.min.css">
<link rel="stylesheet" href="/static/site.css">
<style>
.myCoolColor {
background: #85144b
}
</style>
</head>
<body><main class="site">
<article class="card">
<header>
<h2>{{ .Message }}</h2>
</header>
<footer>
<h3>Pod Name: <span class="label">{{ .Hostname }}</span></h3>
<h3>Pod IP Address: <span class="label success">{{ .Cluster }}</span></h3>
<h3>Instance ID: <span class="label warning">{{ .Node }}</span></h3>
<!-- <h3>Instance Type: <span class="label ">{{ .InstanceType }}</span></h3> -->
<h3>Zone: <span class="label error">{{ .Zone }}</span></h3>
<h3>Instance Type: <button disabled>{{ .InstanceType }}</button></h3>
<h3>Architecture: <button disabled>{{ .Arch }}</button></h3>
Received request on path <code>{{ .Path }}</code>.
</footer>
</article>
</main></body>
</html>