blob: a4917deb6c3a55f99395d7b4c6a2bebc1b021d1c [file] [log] [blame]
gio5e49bb62024-07-20 10:43:19 +04001<!DOCTYPE html>
2<html lang="en" data-theme="light">
3<head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>{{ block "title" . }}{{ end }}</title>
gio1bf00802024-08-17 12:31:41 +04007 <link rel="stylesheet" href="/stat/pico.2.0.6.min.css">
gio5cc6afc2024-10-06 09:33:44 +04008 <link rel="stylesheet" href="/stat/dodo_app.css?v=0.0.9">
gio5e49bb62024-07-20 10:43:19 +04009</head>
10<body class="container">
giob4a3a192024-08-19 09:55:47 +040011 <nav aria-label="breadcrumb">
12 <ul>
13 {{- range $i := .Navigation }}
14 <li><a href="{{ $i.Address }}">{{- $i.Name -}}</a></li>
15 {{- end }}
16 </ul>
17 </nav>
gio5e49bb62024-07-20 10:43:19 +040018 {{- block "content" . }}
19 {{- end }}
gio362fd8e2024-10-06 10:12:54 +040020 <script src="/stat/dodo-app.js?v=0.0.9"></script>
gio5e49bb62024-07-20 10:43:19 +040021</body>
22</html>
gio183e8342024-08-20 06:01:24 +040023{{ define "resources" }}
gio7fbd4ad2024-08-27 10:06:39 +040024{{- if gt (len .Ingress) 0 -}}
25<h3>Ingress</h3>
26{{- range $i := .Ingress -}}
27Host: <a href="{{ $i.Host }}">{{ $i.Host }}</a><br/>
28<br/>
29{{- end -}}
30{{- end -}}
31{{- if gt (len .VirtualMachine) 0 -}}
32<h3>Virtual Machine</h3>
33{{- range $i := .VirtualMachine -}}
34Name: {{ $i.Name }}<br/>
35User: {{ $i.User }}<br/>
36CPU Cores: {{ $i.CPUCores }}<br/>
37Memory: {{ $i.Memory }}<br/>
gio183e8342024-08-20 06:01:24 +040038<br/>
39{{- end -}}
40{{- end -}}
41{{- if gt (len .PostgreSQL) 0 -}}
42<h3>PostgreSQL</h3>
43{{- range $p := .PostgreSQL -}}
44Name: {{ $p.Name }}<br/>
45Version: {{ $p.Version }}<br/>
46Volume: {{ $p.Volume }}<br/>
47<br/>
48{{- end -}}
49{{- end -}}
gio7fbd4ad2024-08-27 10:06:39 +040050{{- if gt (len .Volume) 0 -}}
51<h3>Volumes</h3>
52{{- range $v := .Volume -}}
53Name: {{ $v.Name }}<br/>
54Size: {{ $v.Size }}<br/>
gio183e8342024-08-20 06:01:24 +040055<br/>
56{{- end -}}
57{{- end -}}
58{{ end }}