e0326c3b0a
This gives more prominence to 'Service Instances' as opposed to 'Services'. It also begins to surface Connect related 'nouns' such as 'Proxies' and 'Upstreams' and begins to interconnect them giving more visibility to operators. Various smaller changes: 1. Move healthcheck-status component to healthcheck-output 2. Create a new healthcheck-status component for showing the number of checks plus its icon 3. Create a new healthcheck-info component to group multiple statuses plus a different view if there are no checks 4. Componentize tag-list
28 lines
669 B
Handlebars
28 lines
669 B
Handlebars
{{#if (gt item.Proxy.Upstreams.length 0) }}
|
|
{{#tabular-collection
|
|
data-test-upstreams
|
|
items=item.Proxy.Upstreams as |item index|
|
|
}}
|
|
{{#block-slot 'header'}}
|
|
<th>Destination Name</th>
|
|
<th>Destination Type</th>
|
|
<th>Local Bind Port</th>
|
|
{{/block-slot}}
|
|
{{#block-slot 'row'}}
|
|
<td data-test-destination-name>
|
|
<a>{{item.DestinationName}}</a>
|
|
</td>
|
|
<td data-test-destination-type>
|
|
{{item.DestinationType}}
|
|
</td>
|
|
<td data-test-local-bind-port>
|
|
{{item.LocalBindPort}}
|
|
</td>
|
|
{{/block-slot}}
|
|
{{/tabular-collection}}
|
|
{{else}}
|
|
<p>
|
|
There are no upstreams.
|
|
</p>
|
|
{{/if}}
|