forgejo/templates/demo/hashbox.tmpl
0ko 3cafb7fa6c chore(ui): change /devtest to /-/demo (#11019)
It has always been largely used for showcasing UI elements but that name didn't work too well for it.

Testing:
Some of existing tests depend on these pages, making it redundant to create extra tests.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11019
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-01-26 13:12:25 +01:00

82 lines
1.9 KiB
Go HTML Template

{{template "base/head" .}}
<div class="page-content ui container">
<h1>Hashbox (shabox)</h1>
<h2>Unsigned</h2>
{{template "repo/shabox" (dict
"sha1" "475e3471b4e8da8776fe7e66a3390c8a30c19f08"
)}}
<h2>Unknown signature</h2>
<div class="tw-flex">
{{template "repo/shabox" (dict
"sha1" "475e3471b4e8da8776fe7e66a3390c8a30c19f08"
"signature" "true"
"verification" .UnknownVerif
)}}
{{template "repo/shabox" (dict
"sha1" "475e3471b4e8da8776fe7e66a3390c8a30c19f08"
"signature" "true"
"verification" .UnknownVerifUnk
)}}
</div>
<h2>Trusted</h2>
<div class="tw-flex">
{{template "repo/shabox" (dict
"sha1" "475e3471b4e8da8776fe7e66a3390c8a30c19f08"
"signature" "true"
"verification" .TrustedVerif
)}}
{{template "repo/shabox" (dict
"sha1" "475e3471b4e8da8776fe7e66a3390c8a30c19f08"
"signature" "true"
"verification" .TrustedVerifUnk
)}}
</div>
<h2>Untrusted</h2>
<div class="tw-flex">
{{template "repo/shabox" (dict
"sha1" "475e3471b4e8da8776fe7e66a3390c8a30c19f08"
"signature" "true"
"verification" .UntrustedVerif
)}}
{{template "repo/shabox" (dict
"sha1" "475e3471b4e8da8776fe7e66a3390c8a30c19f08"
"signature" "true"
"verification" .UntrustedVerifUnk
)}}
</div>
<h2>Unmatched</h2>
<div class="tw-flex">
{{template "repo/shabox" (dict
"sha1" "475e3471b4e8da8776fe7e66a3390c8a30c19f08"
"signature" "true"
"verification" .UnmatchedVerif
)}}
{{template "repo/shabox" (dict
"sha1" "475e3471b4e8da8776fe7e66a3390c8a30c19f08"
"signature" "true"
"verification" .UnmatchedVerifUnk
)}}
</div>
<h2>Warning</h2>
<div class="tw-flex">
{{template "repo/shabox" (dict
"sha1" "475e3471b4e8da8776fe7e66a3390c8a30c19f08"
"signature" "true"
"verification" .WarnVerif
)}}
{{template "repo/shabox" (dict
"sha1" "475e3471b4e8da8776fe7e66a3390c8a30c19f08"
"signature" "true"
"verification" .WarnVerifUnk
)}}
</div>
</div>
{{template "base/footer" .}}