mirror of
https://github.com/status-im/consul.git
synced 2025-01-19 10:15:06 +00:00
e4e85a8f83
* Add before and after skip links portals * Move EmptyState and ErrorState to use a @login action/function * Move page title setting to the Route component * Add Routes and Outlets everywhere, and use those to access login modal * Add some aria-labels to the modals * Docs * Remove the label/input now we no longer need it, fixup pageobject * Add basic modal docs * Switch out old toggle names for ids * Wrap nspace Route template in a Route component * type > class
20 lines
861 B
Handlebars
20 lines
861 B
Handlebars
<Route
|
|
@name={{routeName}}
|
|
as |route|>
|
|
<div class="tab-section">
|
|
{{#if (gt proxy.Service.Proxy.Expose.Paths.length 0)}}
|
|
<p>
|
|
The following list shows individual HTTP paths exposed through Envoy for external services like Prometheus. Read more about this in our documentation.
|
|
</p>
|
|
<Consul::ExposedPath::List @items={{proxy.Service.Proxy.Expose.Paths}} @address={{proxy.Address}} />
|
|
{{else}}
|
|
<EmptyState>
|
|
<BlockSlot @name="body">
|
|
<p>
|
|
There are no individual HTTP paths exposed through Envoy for external services like Prometheus. Read more about this in our <Action @href={{concat (env 'CONSUL_DOCS_URL') '/connect/registration/service-registration#expose-paths-configuration-reference'}} @external={{true}}>documentation</Action>.
|
|
</p>
|
|
</BlockSlot>
|
|
</EmptyState>
|
|
{{/if}}
|
|
</div>
|
|
</Route> |