mirror of
https://github.com/status-im/consul.git
synced 2025-02-12 13:46:46 +00:00
d15cbc9f5a
* ui: Remove all vestiges of role=tabpanel * Switch out tablist role for a label, default to Secondary * Move healthcheckout-output headers to h2, ideally these would be outside the component * Add aria-label for empty button * Fix up non-unique ids in topology component * Temporarily fixup h2 in KV > LockSession * Fixup dl with no dt * h3 > h2 * Fix up page objects that were reliant on ids
29 lines
880 B
Handlebars
29 lines
880 B
Handlebars
<div class="tab-section">
|
|
{{#if item.Service.TaggedAddresses }}
|
|
<TabularCollection
|
|
data-test-addresses
|
|
class="consul-tagged-addresses"
|
|
@items={{entries item.Service.TaggedAddresses}} as |taggedAddress index|
|
|
>
|
|
<BlockSlot @name="header">
|
|
<th>Tag</th>
|
|
<th>Address</th>
|
|
</BlockSlot>
|
|
<BlockSlot @name="row">
|
|
{{#with (object-at 1 taggedAddress) as |address|}}
|
|
<td>
|
|
{{object-at 0 taggedAddress}}{{#if (and (eq address.Address item.Address) (eq address.Port item.Port))}} <em data-test-address-default>(default)</em>{{/if}}
|
|
</td>
|
|
<td data-test-address>
|
|
{{address.Address}}:{{address.Port}}
|
|
</td>
|
|
{{/with}}
|
|
</BlockSlot>
|
|
</TabularCollection>
|
|
{{else}}
|
|
<p>
|
|
There are no additional addresses.
|
|
</p>
|
|
{{/if}}
|
|
</div>
|