2020-07-17 14:42:45 +01:00
|
|
|
{{#let item.Services as |items|}}
|
2020-04-08 10:56:36 +01:00
|
|
|
<div id="services" class="tab-section">
|
|
|
|
<div role="tabpanel">
|
|
|
|
{{#if (gt items.length 0) }}
|
|
|
|
<input type="checkbox" id="toolbar-toggle" />
|
2020-05-29 16:42:46 +01:00
|
|
|
<SearchBar
|
|
|
|
@placeholder="Search by name/port"
|
|
|
|
@value={{search}}
|
|
|
|
@onsearch={{action (mut search) value="target.value"}}
|
|
|
|
/>
|
2020-04-08 10:56:36 +01:00
|
|
|
{{/if}}
|
2020-07-01 10:27:29 -04:00
|
|
|
<ChangeableSet @dispatcher={{searchable 'nodeservice' items}} @terms={{search}}>
|
2020-04-08 10:56:36 +01:00
|
|
|
<BlockSlot @name="set" as |filtered|>
|
2020-10-14 09:03:39 +01:00
|
|
|
<Consul::ServiceInstance::List @routeName="dc.services.show" @items={{filtered}} @checks={{checks}}/>
|
2020-04-08 10:56:36 +01:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="empty">
|
2020-07-08 14:34:57 +01:00
|
|
|
<EmptyState>
|
|
|
|
<BlockSlot @name="body">
|
|
|
|
<p>
|
|
|
|
There are no services.
|
|
|
|
</p>
|
|
|
|
</BlockSlot>
|
|
|
|
</EmptyState>
|
2020-04-08 10:56:36 +01:00
|
|
|
</BlockSlot>
|
|
|
|
</ChangeableSet>
|
|
|
|
</div>
|
2020-07-17 14:42:45 +01:00
|
|
|
</div>
|
|
|
|
{{/let}}
|