2020-01-28 14:25:52 +00:00
|
|
|
{{title item.Service.Service}}
|
2020-02-19 19:26:38 +00:00
|
|
|
<AppView @class="service show">
|
|
|
|
<BlockSlot @name="notification" as |status type|>
|
2020-02-06 12:06:48 +00:00
|
|
|
{{partial 'dc/services/notifications'}}
|
2020-04-16 14:15:45 +00:00
|
|
|
{{partial 'dc/intentions/notifications'}}
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="breadcrumbs">
|
2020-02-06 12:06:48 +00:00
|
|
|
<ol>
|
|
|
|
<li><a data-test-back href={{href-to 'dc.services'}}>All Services</a></li>
|
|
|
|
</ol>
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="header">
|
2020-04-21 14:21:52 +00:00
|
|
|
<div class="title-bar">
|
|
|
|
<h1>
|
|
|
|
{{item.Service.Service}}
|
|
|
|
</h1>
|
|
|
|
<ConsulExternalSource @item={{item.Service}} />
|
|
|
|
</div>
|
2020-05-06 18:13:36 +00:00
|
|
|
{{#if (not item.Service.Kind)}}
|
2020-04-21 14:21:52 +00:00
|
|
|
<TabNav @items={{
|
|
|
|
compact
|
|
|
|
(array
|
|
|
|
(hash label="Instances" href=(href-to "dc.services.show.instances") selected=(is-href "dc.services.show.instances"))
|
|
|
|
(hash label="Intentions" href=(href-to "dc.services.show.intentions") selected=(is-href "dc.services.show.intentions"))
|
2020-04-08 09:56:36 +00:00
|
|
|
(if (not-eq chain) (hash label="Routing" href=(href-to "dc.services.show.routing") selected=(is-href "dc.services.show.routing")) '')
|
2020-04-21 14:21:52 +00:00
|
|
|
(hash label="Tags" href=(href-to "dc.services.show.tags") selected=(is-href "dc.services.show.tags"))
|
|
|
|
)
|
|
|
|
}}/>
|
2020-05-06 18:13:36 +00:00
|
|
|
{{/if}}
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="actions">
|
2020-02-06 12:06:48 +00:00
|
|
|
{{#if urls.service}}
|
|
|
|
{{#templated-anchor data-test-dashboard-anchor href=urls.service vars=(hash Datacenter=dc Service=(hash Name=item.Service.Service)) rel="external"}}Open Dashboard{{/templated-anchor}}
|
|
|
|
{{/if}}
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="content">
|
2020-04-08 09:56:36 +00:00
|
|
|
{{outlet}}
|
2020-02-19 19:26:38 +00:00
|
|
|
</BlockSlot>
|
|
|
|
</AppView>
|