mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 02:45:43 +08:00
29 lines
586 B
Handlebars
29 lines
586 B
Handlebars
{{#conditional-loading-spinner condition=isLoading}}
|
|
<div class="table-title">
|
|
<h3>{{title}}</h3>
|
|
|
|
{{#if help}}
|
|
<a href="{{helpPage}}">{{i18n help}}</a>
|
|
{{/if}}
|
|
</div>
|
|
|
|
<div class="table-container">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
{{#each labels as |label|}}
|
|
<th>{{label}}</th>
|
|
{{/each}}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
{{#each dataset as |data|}}
|
|
<td>{{number data}}</td>
|
|
{{/each}}
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{/conditional-loading-spinner}}
|