mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-12 00:26:47 +00:00
19 lines
619 B
Handlebars
19 lines
619 B
Handlebars
|
<table class="pi-horizontal-group{{#unless renderLabels}} pi-horizontal-group-no-labels{{/unless}}">
|
||
|
{{#if header}}<caption class="pi-header pi-secondary-font pi-secondary-background pi-item-spacing">{{{header}}}</caption>{{/if}}
|
||
|
{{#if renderLabels}}
|
||
|
<thead>
|
||
|
<tr>
|
||
|
{{#each labels}}
|
||
|
<th class="pi-horizontal-group-item pi-data-label pi-secondary-font pi-border-color pi-item-spacing">{{{.}}}</th>
|
||
|
{{/each}}
|
||
|
</tr>
|
||
|
</thead>
|
||
|
{{/if}}
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
{{#each values}}
|
||
|
<td class="pi-horizontal-group-item pi-data-value pi-font pi-border-color pi-item-spacing">{{{.}}}</td>
|
||
|
{{/each}}
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|