2020-04-08 17:03:18 +00:00
|
|
|
{{yield}}
|
2020-11-19 16:07:23 +00:00
|
|
|
<div
|
|
|
|
class="empty-state"
|
|
|
|
...attributes
|
|
|
|
>
|
2020-07-08 13:34:57 +00:00
|
|
|
{{#if hasHeader}}
|
2020-04-08 17:03:18 +00:00
|
|
|
<header>
|
|
|
|
{{#yield-slot name="header"}}
|
|
|
|
{{yield}}
|
|
|
|
{{/yield-slot}}
|
|
|
|
{{#yield-slot name="subheader"}}
|
|
|
|
{{yield}}
|
|
|
|
{{/yield-slot}}
|
|
|
|
</header>
|
2020-07-08 13:34:57 +00:00
|
|
|
{{/if}}
|
2020-05-27 10:23:21 +00:00
|
|
|
{{#yield-slot name="body"}}
|
|
|
|
<div>
|
2020-04-08 17:03:18 +00:00
|
|
|
{{yield}}
|
2021-04-06 12:40:40 +00:00
|
|
|
{{#if login}}
|
|
|
|
<Action
|
|
|
|
data-test-empty-state-login
|
|
|
|
{{on "click" login}}
|
|
|
|
>
|
2020-05-27 10:23:21 +00:00
|
|
|
<DataSource
|
|
|
|
@src="settings://consul:token"
|
|
|
|
@onchange={{action (mut token) value="data"}}
|
|
|
|
/>
|
|
|
|
{{#if token.AccessorID}}
|
|
|
|
Log in with a different token
|
|
|
|
{{else}}
|
|
|
|
Log in
|
|
|
|
{{/if}}
|
2021-04-06 12:40:40 +00:00
|
|
|
</Action>
|
2020-05-27 10:23:21 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{/yield-slot}}
|
2020-04-08 17:03:18 +00:00
|
|
|
{{#yield-slot name="actions"}}
|
|
|
|
<ul>
|
|
|
|
{{yield}}
|
|
|
|
</ul>
|
|
|
|
{{/yield-slot}}
|
|
|
|
</div>
|