-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
46 lines (46 loc) · 1.12 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Akash Proxy</title>
</head>
<body>
<h1>Akash Proxy</h1>
<table>
<thead>
<tr>
<th>Server</th>
<th>Request Count</th>
<th>Avg response time</th>
<th>Error Rate</th>
<th>Status</th>
<th>Kind</th>
</tr>
</thead>
<!-- prettier-ignore -->
<tbody>
{{ range $key, $value := . }}
{{ range $value }}
<tr>
<th><a href="{{ .URL }}">{{ .Name }}</a></th>
<th>{{ .Requests }}</th>
<th>{{ .Avg }}</th>
<th>{{ .ErrorRate }}%</th>
<th>
{{ if not .Initialized }}
initializing
{{ else if .Degraded }}
degraded
{{ else }}
OK
{{ end }}
</th>
<th>{{ $key }}</th>
</tr>
{{ end }}
{{ end }}
</tbody>
</table>
</body>
</html>