snowchive-server/templates/portions.html
2026-11-19 04:40:59 +02:00

82 lines
2.6 KiB
HTML

{{ define "title" }}Portion markings - Snowden Archive{{ end }}
{{ define "content" }}
<header class="list-header">
<p class="crumb"><a href="/explore">&larr; Explore</a></p>
<h1>Portion markings</h1>
</header>
<p class="muted">The marking each classified portion of a document carries at the
start of its own line (for example "<code>(U//FOUO)</code>", "<code>(TS//SI//NF)</code>").</p>
<h2>By level</h2>
<div class="table-scroll">
<table class="cat-table explore-table">
<thead><tr><th>Level</th><th></th><th class="num">Markings</th><th class="num">Documents</th></tr></thead>
<tbody>
{{ range .Stats.Levels }}
<tr>
<td><a href="{{ .SearchURL }}"><code>{{ .Name }}</code></a></td>
<td class="faint">{{ .Label }}</td>
<td class="num">{{ .Marks }}</td>
<td class="num">{{ .Docs }}</td>
</tr>
{{ end }}
</tbody>
</table>
</div>
<h2>Markings</h2>
<p class="muted">Every distinct marking, most used first.
{{ if gt .Stats.Distinct .RowLimit }}Top {{ .RowLimit }} of {{ .Stats.Distinct }}.{{ end }}</p>
<div class="table-scroll">
<table class="cat-table explore-table">
<thead><tr><th>Marking</th><th class="num">Markings</th><th class="num">Documents</th></tr></thead>
<tbody>
{{ range .Stats.Markings }}
<tr>
<td><a href="{{ .SearchURL }}"><code>{{ .Name }}</code></a></td>
<td class="num">{{ .Marks }}</td>
<td class="num">{{ .Docs }}</td>
</tr>
{{ end }}
</tbody>
</table>
</div>
<h2>Control markings</h2>
<p class="muted">The compartments and dissemination controls appearing inside
those markings.</p>
<div class="table-scroll">
<table class="cat-table explore-table">
<thead><tr><th>Control</th><th class="num">Markings</th><th class="num">Documents</th></tr></thead>
<tbody>
{{ range .Stats.Controls }}
<tr>
<td><a href="{{ .SearchURL }}"><code>{{ .Name }}</code></a></td>
<td class="num">{{ .Marks }}</td>
<td class="num">{{ .Docs }}</td>
</tr>
{{ end }}
</tbody>
</table>
</div>
{{ if .Stats.UnrecogEg }}
<h2>Not recognised</h2>
<p class="muted">{{ .Stats.Unrecog }} markings open a line with a classification
level but carry a part this server has no rule for.</p>
<div class="table-scroll">
<table class="cat-table explore-table">
<thead><tr><th>As the transcript writes it</th><th class="num">Occurrences</th></tr></thead>
<tbody>
{{ range .Stats.UnrecogEg }}
<tr><td><code>({{ .Name }})</code></td><td class="num">{{ .Marks }}</td></tr>
{{ end }}
</tbody>
</table>
</div>
{{ end }}
{{ end }}
{{ template "base.html" . }}