2020-07-10 07:43:48 +00:00
|
|
|
<!DOCTYPE html>
|
2021-04-28 08:08:24 +00:00
|
|
|
<!--
|
|
|
|
Error {{ code }}: {{ message }}
|
|
|
|
Description: {{ description }}
|
|
|
|
-->
|
2020-07-10 07:43:48 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
|
|
<title>{{ message }}</title>
|
|
|
|
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
|
|
|
|
<style>
|
2022-01-27 12:29:49 +00:00
|
|
|
html,body {background-color:#222526;color:#fff;font-family:'Nunito',sans-serif;font-weight:100;height:100vh;margin:0;font-size:0}
|
2020-07-10 07:43:48 +00:00
|
|
|
.full-height {height:100vh}
|
|
|
|
.flex-center {align-items:center;display:flex;justify-content:center}
|
|
|
|
.position-ref {position:relative}
|
|
|
|
.code {border-right:2px solid;font-size:26px;padding:0 10px 0 15px;text-align:center}
|
|
|
|
.message {font-size:18px;text-align:center;padding:10px}
|
2022-01-27 12:29:49 +00:00
|
|
|
/* {{ if show_details }} */
|
|
|
|
.details table {width:100%;border-collapse:collapse;box-sizing:border-box;margin-top:20px}
|
|
|
|
.details td {font-size:11px;color:#999}
|
|
|
|
.details td.name {text-align:right;padding-right:.6em;width:50%;border-right:2px solid;border-color:#777}
|
|
|
|
.details td.value {text-align:left;padding-left:.6em;font-family:'Lucida Console','Courier New',monospace}
|
|
|
|
/* {{ end }} */
|
2020-07-10 07:43:48 +00:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="flex-center position-ref full-height">
|
2022-01-27 12:29:49 +00:00
|
|
|
<div>
|
|
|
|
<div class="flex-center">
|
|
|
|
<div class="code">
|
|
|
|
{{ code }}
|
|
|
|
</div>
|
|
|
|
<div class="message">
|
|
|
|
{{ message }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ if show_details }}
|
|
|
|
<div class="details">
|
|
|
|
<table>
|
|
|
|
{{- if original_uri }}<tr>
|
|
|
|
<td class="name">Original URI</td>
|
|
|
|
<td class="value">{{ original_uri }}</td>
|
|
|
|
</tr>{{ end -}}
|
|
|
|
{{- if namespace }}<tr>
|
|
|
|
<td class="name">Namespace</td>
|
|
|
|
<td class="value">{{ namespace }}</td>
|
|
|
|
</tr>{{ end -}}
|
|
|
|
{{- if ingress_name }}<tr>
|
|
|
|
<td class="name">Ingress name</td>
|
|
|
|
<td class="value">{{ ingress_name }}</td>
|
|
|
|
</tr>{{ end -}}
|
|
|
|
{{- if service_name }}<tr>
|
|
|
|
<td class="name">Service name</td>
|
|
|
|
<td class="value">{{ service_name }}</td>
|
|
|
|
</tr>{{ end -}}
|
|
|
|
{{- if service_port }}<tr>
|
|
|
|
<td class="name">Service port</td>
|
|
|
|
<td class="value">{{ service_port }}</td>
|
|
|
|
</tr>{{ end -}}
|
|
|
|
{{- if request_id }}<tr>
|
|
|
|
<td class="name">Request ID</td>
|
|
|
|
<td class="value">{{ request_id }}</td>
|
|
|
|
</tr>{{ end -}}
|
|
|
|
<tr>
|
|
|
|
<td class="name">Timestamp</td>
|
|
|
|
<td class="value">{{ now.Unix }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2020-07-10 07:43:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
2021-04-28 08:08:24 +00:00
|
|
|
<!--
|
|
|
|
Error {{ code }}: {{ message }}
|
|
|
|
Description: {{ description }}
|
|
|
|
-->
|
2020-07-10 07:43:48 +00:00
|
|
|
</html>
|