consul/ui-v2/app/templates/settings.hbs
John Cowen cb0c5309c9 UI: Add EventSource ready for implementing blocking queries (#5070)
- Maintain http headers as JSON-API meta for all API requests (#4946)
- Add EventSource ready for implementing blocking queries
- EventSource project implementation to enable blocking queries for service and node listings (#5267)
- Add setting to enable/disable blocking queries (#5352)
2019-05-01 18:22:06 +00:00

24 lines
980 B
Handlebars

{{#hashicorp-consul id="wrapper" dcs=dcs dc=dc}}
{{#app-view class="settings show"}}
{{#block-slot 'header'}}
<h1>
Settings
</h1>
{{/block-slot}}
{{#block-slot 'content'}}
<p>
These settings allow you to configure your browser for the Consul Web UI. Everything is saved to localstorage, and persists through visits and browser usage.
</p>
<form>
<fieldset>
<div class="type-toggle">
<label>
<input type="checkbox" name="client[blocking]" checked={{if item.client.blocking 'checked' }} onchange={{action 'change'}} />
<span>Enable Catalog realtime updates (blocking queries)</span>
</label>
</div>
</fieldset>
</form>
{{/block-slot}}
{{/app-view}}
{{/hashicorp-consul}}