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}}
|
2020-05-27 10:23:21 +00:00
|
|
|
{{#if (and (env 'CONSUL_ACLS_ENABLED') allowLogin)}}
|
2020-10-01 08:33:22 +00:00
|
|
|
<label for="login-toggle" data-test-empty-state-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}}
|
|
|
|
</label>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{/yield-slot}}
|
2020-04-08 17:03:18 +00:00
|
|
|
{{#yield-slot name="actions"}}
|
|
|
|
<ul>
|
|
|
|
{{yield}}
|
|
|
|
</ul>
|
|
|
|
{{/yield-slot}}
|
|
|
|
</div>
|