411fb2e25c
* Modify templates with codemods angle brackets * ui: Fix up problem with intention filter action attribute Co-authored-by: Kenia <19161242+kaxcode@users.noreply.github.com>
31 lines
1 KiB
Handlebars
31 lines
1 KiB
Handlebars
{{title 'Services'}}
|
|
<AppView @class="service list">
|
|
<BlockSlot @name="notification" as |status type|>
|
|
{{partial 'dc/services/notifications'}}
|
|
</BlockSlot>
|
|
<BlockSlot @name="header">
|
|
<h1>
|
|
Services <em>{{format-number items.length}} total</em>
|
|
</h1>
|
|
<label for="toolbar-toggle"></label>
|
|
</BlockSlot>
|
|
<BlockSlot @name="toolbar">
|
|
{{#if (gt items.length 0) }}
|
|
<PhraseEditor @placeholder="service:name tag:name status:critical search-term" @value={{slice 0 terms.length terms}} @onchange={{action (mut terms) value='target.value'}} @searchable={{searchable}} />
|
|
{{/if}}
|
|
</BlockSlot>
|
|
<BlockSlot @name="content">
|
|
<ChangeableSet @dispatcher={{searchable}}>
|
|
<BlockSlot @name="set" as |filtered|>
|
|
<ConsulServiceList @routeName="dc.services.show" @items={{filtered}} />
|
|
</BlockSlot>
|
|
<BlockSlot @name="empty">
|
|
<p>
|
|
There are no services.
|
|
</p>
|
|
</BlockSlot>
|
|
</ChangeableSet>
|
|
</BlockSlot>
|
|
</AppView>
|
|
|