mirror of
https://github.com/status-im/consul.git
synced 2025-01-21 02:59:48 +00:00
6589cbbd0d
* ui: Add the most basic workspace root in /ui * We already have a LICENSE file in the repository root * Change directory path in build scripts ui-v2 -> ui * Make yarn install flags configurable from elsewhere * Minimal workspace root makefile * Call the new docker specific target * Update yarn in the docker build image * Reconfigure the netlify target and move to the higher makefile * Move ui-v2 -> ui/packages/consul-ui * Change repo root to refleect new folder structure * Temporarily don't hoist consul-api-double * Fixup CI configuration * Fixup lint errors * Fixup Netlify target
36 lines
841 B
Handlebars
36 lines
841 B
Handlebars
{{yield}}
|
|
<div class="empty-state" ...attributes>
|
|
{{#if hasHeader}}
|
|
<header>
|
|
{{#yield-slot name="header"}}
|
|
{{yield}}
|
|
{{/yield-slot}}
|
|
{{#yield-slot name="subheader"}}
|
|
{{yield}}
|
|
{{/yield-slot}}
|
|
</header>
|
|
{{/if}}
|
|
{{#yield-slot name="body"}}
|
|
<div>
|
|
{{yield}}
|
|
{{#if (and (env 'CONSUL_ACLS_ENABLED') allowLogin)}}
|
|
<label for="login-toggle" data-test-empty-state-login>
|
|
<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}}
|
|
{{#yield-slot name="actions"}}
|
|
<ul>
|
|
{{yield}}
|
|
</ul>
|
|
{{/yield-slot}}
|
|
</div> |