@@ -9,7 +9,11 @@ <h2>Showing {{len .Endpoints}} endpoints.</h2>
9
9
{{range $val := .Endpoints}}
10
10
< section id ="endpoint-{{$val.ID}} ">
11
11
< details >
12
- < summary > {{$val.Name}}</ summary >
12
+ < summary class ="pico-no-chevron ">
13
+ < div class ="flex justify-between ">
14
+ {{$val.Name}}< b > {{$val.Kind}}</ b >
15
+ </ div >
16
+ </ summary >
13
17
< article >
14
18
< div class ="flex flex-col gap-4 ">
15
19
< div class ="flex justify-between gap-2 ">
@@ -23,11 +27,6 @@ <h2>Showing {{len .Endpoints}} endpoints.</h2>
23
27
</ div >
24
28
</ div >
25
29
26
- < div class ="flex justify-between gap-2 ">
27
- < div > Kind</ div >
28
- < div > {{$val.Kind}}</ div >
29
- </ div >
30
-
31
30
< div class ="flex justify-between gap-2 ">
32
31
< div >
33
32
< em title ="Do not send attachments to endpoint. ">
@@ -59,15 +58,17 @@ <h2>Showing {{len .Endpoints}} endpoints.</h2>
59
58
</ div >
60
59
61
60
{{if $val.Config}}
62
- < h4 > Config</ h4 >
63
61
< form >
64
- {{ range $key, $value := $val.Config }}
65
- < label for ="config_{{$key}} ">
66
- {{$key}}
67
- < textarea {{if $val.Internal}}readonly{{end}} {{if $value}}placeholder ="********** " {{end}}
68
- id ="config_{{$key}} "> </ textarea >
69
- </ label >
70
- {{ end }}
62
+ < fieldset >
63
+ < legend > < b > Config</ b > </ legend >
64
+ {{ range $key, $value := $val.Config }}
65
+ < label for ="config_{{$key}} ">
66
+ {{$key}}
67
+ < textarea {{if $val.Internal}}readonly{{end}} {{if $value}}placeholder ="********** " {{end}}
68
+ id ="config_{{$key}} "> </ textarea >
69
+ </ label >
70
+ {{ end }}
71
+ </ fieldset >
71
72
</ form >
72
73
{{ end }}
73
74
0 commit comments