John Cowen a42e844ccc
ui: Add EmptyState for exposed paths, plus additional details (#9445)
* ui: Add EmptyState for exposed paths, plus additional details

1. Add the port to the combined address
2. Use the proxy address for the ip address used

* Convert to glimmer component

* Add spaces to ListenerPort and LocalPathPort Tooltips
2021-01-05 16:59:16 +00:00

27 lines
478 B
Handlebars

{{#if @for~}}
<label
for={{@for}}
...attributes
>{{yield}}</label>
{{~else if @href~}}
{{~#if @external~}}
<a
href={{@href}}
target="_blank"
rel="noopener noreferrer"
...attributes
>{{yield}}</a>
{{~else~}}
<a
href={{@href}}
...attributes
>{{yield}}</a>
{{~/if~}}
{{~else~}}
<button
tabindex="-1"
type="button"
{{on 'click' (optional @onclick)}}
...attributes
>{{yield}}</button>
{{~/if}}