mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
6589cbbd0d
* ui: Add the most basic workspace root in /ui * We already have a LICENSE file in the repository root * Change directory path in build scripts ui-v2 -> ui * Make yarn install flags configurable from elsewhere * Minimal workspace root makefile * Call the new docker specific target * Update yarn in the docker build image * Reconfigure the netlify target and move to the higher makefile * Move ui-v2 -> ui/packages/consul-ui * Change repo root to refleect new folder structure * Temporarily don't hoist consul-api-double * Fixup CI configuration * Fixup lint errors * Fixup Netlify target
28 lines
1004 B
Handlebars
28 lines
1004 B
Handlebars
{{on-window 'resize' (action "resize") }}
|
|
{{yield}}
|
|
{{#if hasCaption}}
|
|
<caption><YieldSlot @name="caption">{{yield}}</YieldSlot></caption>
|
|
{{/if}}
|
|
<thead>
|
|
<tr>
|
|
<YieldSlot @name="header">{{yield}}</YieldSlot>
|
|
{{#if hasActions }}
|
|
<th class="actions">Actions</th>
|
|
{{/if}}
|
|
</tr>
|
|
</thead>
|
|
<EmberNativeScrollable @tagName="tbody" @content-size={{_contentSize}} @scroll-left={{_scrollLeft}} @scroll-top={{_scrollTop}} @scrollChange={{action "scrollChange"}} @clientSizeChange={{action "clientSizeChange"}}>
|
|
<tr></tr>
|
|
{{~#each _cells as |cell index|~}}
|
|
<tr data-test-tabular-row style={{{cell.style}}} onclick={{action 'click'}}>
|
|
<YieldSlot @name="row">{{yield cell.item index}}</YieldSlot>
|
|
{{#if hasActions }}
|
|
<td class="actions">
|
|
<YieldSlot @name="actions" @params={{block-params (concat cell.index) (action "change") checked}}>
|
|
{{yield cell.item index}}
|
|
</YieldSlot>
|
|
</td>
|
|
{{/if}}
|
|
</tr>
|
|
{{~/each~}}
|
|
</EmberNativeScrollable> |