blob: 4e9401bc4ef45c5f51ac37c9ab84840ea7dee0e9 [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">
8 <link rel="stylesheet" href="/stat/dodo_app.css?v=0.0.8">
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 }}
20</body>
21</html>
gio183e8342024-08-20 06:01:24 +040022{{ define "resources" }}
gio7fbd4ad2024-08-27 10:06:39 +040023{{- if gt (len .Ingress) 0 -}}
24<h3>Ingress</h3>
25{{- range $i := .Ingress -}}
26Host: <a href="{{ $i.Host }}">{{ $i.Host }}</a><br/>
27<br/>
28{{- end -}}
29{{- end -}}
30{{- if gt (len .VirtualMachine) 0 -}}
31<h3>Virtual Machine</h3>
32{{- range $i := .VirtualMachine -}}
33Name: {{ $i.Name }}<br/>
34User: {{ $i.User }}<br/>
35CPU Cores: {{ $i.CPUCores }}<br/>
36Memory: {{ $i.Memory }}<br/>
gio183e8342024-08-20 06:01:24 +040037<br/>
38{{- end -}}
39{{- end -}}
40{{- if gt (len .PostgreSQL) 0 -}}
41<h3>PostgreSQL</h3>
42{{- range $p := .PostgreSQL -}}
43Name: {{ $p.Name }}<br/>
44Version: {{ $p.Version }}<br/>
45Volume: {{ $p.Volume }}<br/>
46<br/>
47{{- end -}}
48{{- end -}}
gio7fbd4ad2024-08-27 10:06:39 +040049{{- if gt (len .Volume) 0 -}}
50<h3>Volumes</h3>
51{{- range $v := .Volume -}}
52Name: {{ $v.Name }}<br/>
53Size: {{ $v.Size }}<br/>
gio183e8342024-08-20 06:01:24 +040054<br/>
55{{- end -}}
56{{- end -}}
57{{ end }}