iseal-core/site/layouts/_default/term.html
Alan Orth 71bcd1092c site: apply principles from ISEAL branding guidelines
The ISEAL Branding Guidelines Version 3.0 (June 2021) say we should
use Arial font for online material and it specifies the RGB values
to use for headings, sub-headings, and body text. It also specifies
four secondary colors to be used in support of the primary colors.
2021-12-01 15:08:02 +02:00

58 lines
1.9 KiB
HTML

<p class="invisible"><a id="{{ .Params.slug }}"></a></p>
<table class="table table-sm table-bordered">
<thead>
<tr class="table-secondary">
<th colspan="2">
<span class="">{{ .Params.title | markdownify }}</span>
{{- with .Params.required -}}
<div class="badge-required">
<span class="badge align-middle">Required</span>
</div>
{{- end -}}
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="col-2 field-name">Label</td>
<td>{{ .Name | markdownify }}</td>
</tr>
<tr>
<td class="col-2 field-name">Module</td>
<td>{{ .Params.module | markdownify }}</td>
</tr>
{{ with .Params.description }}
<tr>
<td class="col-2 field-name">Definition</td>
<td>{{ . | markdownify }}</td>
</tr>
{{ end }}
{{ with .Params.comment }}
<tr>
<td class="col-2 field-name">Comment</td>
<td>{{ . | markdownify }}</td>
</tr>
{{ end }}
{{ with .Params.field }}
<tr>
<td class="col-2 field-name">Suggested element</td>
<td>{{ . }}</td>
</tr>
{{ end }}
{{ with .Params.policy }}
<tr>
<td class="col-2 field-name">Policy</td>
<td>{{ . }}</td>
</tr>
{{ end }}
{{ if .Params.vocabulary }}
{{ with .Resources.GetMatch .Params.vocabulary }}
<tr>
<td class="col-2 field-name">Vocabulary</td>
<td><a href="{{ .RelPermalink }}">{{ .Name }}</a></td>
</tr>
{{ end }}
{{ end }}
</tbody>
</table>