istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pkg/ctrlz/topics/assets/templates/collection/list.html (about) 1 {{ define "content" }} 2 3 {{ with $context := . }} 4 5 {{ if ne $context.Error "" }} 6 <b>{{$context.Error}}</b> 7 {{else}} 8 <p> Collection {{ $context.Collection }} </p> 9 10 <table> 11 <thead> 12 <tr> 13 <th>Index</th> 14 <th>Item</th> 15 </tr> 16 </thead> 17 18 <tbody> 19 {{ range $index, $key := $context.Keys }} 20 <tr> 21 <td>{{$index}}</td> 22 <td><a href="{{$context.Collection}}/{{$key}}">{{$key}}</a></td> 23 </tr> 24 {{ end }} 25 </tbody> 26 </table> 27 {{end}} 28 29 {{end}} 30 31 {{ template "last-refresh" .}} 32 33 {{ end }}