feat: add support bundle notice to viewer

This commit is contained in:
Mikhail Chusavitin
2026-03-16 18:21:34 +03:00
parent a71f55a6f9
commit e5b2ba652c
5 changed files with 69 additions and 9 deletions

View File

@@ -11,9 +11,21 @@
<div>
<h1>{{ .Title }}</h1>
</div>
{{ if .DownloadArchiveURL }}
<div class="header-actions">
<a class="header-action" href="{{ .DownloadArchiveURL }}">{{ if .DownloadArchiveLabel }}{{ .DownloadArchiveLabel }}{{ else }}Download archive{{ end }}</a>
</div>
{{ end }}
</header>
<main class="page-main">
{{ if .NoticeTitle }}
<section class="notice-panel">
<h2>{{ .NoticeTitle }}</h2>
<p>{{ .NoticeBody }}</p>
</section>
{{ end }}
{{ if .HasSnapshot }}
<section class="meta-panel">
<h2>Snapshot Metadata</h2>