github.com/outbrain/consul@v1.4.5/ui-v2/app/templates/components/tabular-collection.hbs (about)

     1  {{yield}}
     2  {{#if hasCaption}}
     3    <caption>{{#yield-slot 'caption'}}{{yield}}{{/yield-slot}}</caption>
     4  {{/if}}
     5    <thead>
     6        <tr>
     7            {{#yield-slot 'header'}}{{yield}}{{/yield-slot}}
     8  {{#if hasActions }}
     9            <th class="actions">Actions<input type="radio" name="actions" id="actions_close" onchange={{action change}} value="" /></th>
    10  {{/if}}
    11        </tr>
    12    </thead>
    13    {{#ember-native-scrollable tagName='tbody' content-size=_contentSize scroll-left=_scrollLeft scroll-top=_scrollTop scrollChange=(action "scrollChange") clientSizeChange=(action "clientSizeChange")}}
    14        <tr></tr>
    15  {{~#each _cells as |cell|~}}
    16        <tr data-test-tabular-row style={{{cell.style}}} onclick={{action 'click'}}>
    17            {{#yield-slot 'row'}}{{yield cell.item cell.index}}{{/yield-slot}}
    18  {{#if hasActions }}
    19            <td class="actions">
    20                {{#yield-slot 'actions' (block-params (concat cell.index) change checked)}}{{yield cell.item cell.index}}{{/yield-slot}}
    21            </td>
    22  {{/if}}
    23        </tr>
    24  {{~/each~}}
    25    {{/ember-native-scrollable}}