2020-11-18 11:11:30 +00:00
|
|
|
{{page-title "Settings"}}
|
2020-10-01 08:33:22 +00:00
|
|
|
<AppView>
|
2020-04-21 15:49:11 +00:00
|
|
|
<BlockSlot @name="header">
|
|
|
|
<h1>
|
|
|
|
Settings
|
|
|
|
</h1>
|
|
|
|
</BlockSlot>
|
|
|
|
<BlockSlot @name="content">
|
2020-10-26 16:51:53 +00:00
|
|
|
<Notice
|
|
|
|
@type="info"
|
|
|
|
as |notice|>
|
|
|
|
<notice.Header>
|
|
|
|
<h3>Local Storage</h3>
|
|
|
|
</notice.Header>
|
|
|
|
<notice.Body>
|
|
|
|
<p>
|
|
|
|
These settings are immediately saved to local storage and persisted through browser usage.
|
|
|
|
</p>
|
|
|
|
</notice.Body>
|
|
|
|
</Notice>
|
2020-04-21 15:49:11 +00:00
|
|
|
<form>
|
|
|
|
{{#if (not (env 'CONSUL_UI_DISABLE_REALTIME'))}}
|
|
|
|
<fieldset data-test-blocking-queries>
|
|
|
|
<h2>Blocking Queries</h2>
|
|
|
|
<p>Keep catalog info up-to-date without refreshing the page. Any changes made to services, nodes and intentions would be reflected in real time.</p>
|
|
|
|
<div class="type-toggle">
|
|
|
|
<label>
|
|
|
|
<input type="checkbox" name="client[blocking]" checked={{if item.client.blocking 'checked'}} onchange={{action 'change'}} />
|
|
|
|
<span>{{if item.client.blocking 'On' 'Off'}}</span>
|
2019-05-01 18:19:43 +00:00
|
|
|
</label>
|
2020-04-21 15:49:11 +00:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
{{/if}}
|
|
|
|
</form>
|
|
|
|
</BlockSlot>
|
|
|
|
</AppView>
|