From b03b00869391cd70ef1e40561f72dffbd2f47b29 Mon Sep 17 00:00:00 2001 From: Colin Wilk Date: Fri, 30 Oct 2026 10:04:02 +0100 Subject: Initial Commit --- templates/manifest.gohtml | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 templates/manifest.gohtml (limited to 'templates/manifest.gohtml') diff --git a/templates/manifest.gohtml b/templates/manifest.gohtml new file mode 100644 index 0000000..93ebecc --- /dev/null +++ b/templates/manifest.gohtml @@ -0,0 +1,52 @@ +{{define "manifest"}}{{template "header" .}} +

Manifest in repository {{.Repository.Name}} in registry

+

Tags referencing manifest

+ + + + {{range .Manifest.Tags}} + + + + + {{else}} + + {{end}} + +
TagLast updated
{{if eq .ManifestDigest $.Manifest.Digest}}{{.Name}}{{else}}{{.Name}}{{end}}{{age .UpdatedAt .Age}}
No tags reference this manifest.
+
+

Pull address

+
{{pull .RegistryHost .Repository.Name .SelectedTag .Manifest.Digest}}
+
+ + {{if eq .Manifest.Kind "index"}} +

Manifests in list

+ + + + {{range .Manifest.Platforms}} + + + + + + {{else}} + + {{end}} + +
OS/ArchSizePull address
{{.Platform}}{{.Variant}}{{size .SizeBytes}}{{pull $.RegistryHost $.Repository.Name $.SelectedTag ""}}@{{.Digest}}
No platform manifests found.
+ {{else}} +

Layers in manifest

+ + + + {{range .Manifest.Layers}} + + {{else}} + + {{end}} + + +
DigestSize
{{.Digest}}{{size .SizeBytes}}
No layers found.
Total size{{size .Manifest.TotalSizeBytes}}
+ {{end}} +{{template "footer" .}}{{end}} -- cgit v1.2.3