blob: 644ff41c33e84ded8144b0f8c58557d7968a7dc2 [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" }}
23{{- if gt (len .Volume) 0 -}}
24<h3>Volumes</h3>
25{{- range $v := .Volume -}}
26Name: {{ $v.Name }}<br/>
27Size: {{ $v.Size }}<br/>
28<br/>
29{{- end -}}
30{{- end -}}
31{{- if gt (len .PostgreSQL) 0 -}}
32<h3>PostgreSQL</h3>
33{{- range $p := .PostgreSQL -}}
34Name: {{ $p.Name }}<br/>
35Version: {{ $p.Version }}<br/>
36Volume: {{ $p.Volume }}<br/>
37<br/>
38{{- end -}}
39{{- end -}}
40{{- if gt (len .Ingress) 0 -}}
41<h3>Ingress</h3>
42{{- range $i := .Ingress -}}
43Host: {{ $i.Host }}<br/>
44<br/>
45{{- end -}}
46{{- end -}}
47{{ end }}