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