mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
ui: Improve language surrounding marking a token as local/global (#7830)
This commit moved the checkbox used for marking a token as local/global to use a more traditional UX, i.e.: [ ] Question? Clicking the radiobutton toggles true/false: true = yes false = no instead of: false=yes true=no
This commit is contained in:
parent
ad9a24d53f
commit
5b76cb7ddc
@ -1,12 +1,11 @@
|
||||
<fieldset>
|
||||
{{#if create }}
|
||||
<div class="type-toggle type-negative">
|
||||
<span>Restrict this token to a local datacenter?</span>
|
||||
<em>Local tokens get set in the Raft store of the local DC and do not ever get transmitted to the primary DC or replicated to any other DC.</em>
|
||||
<div class="type-toggle">
|
||||
<label>
|
||||
<input type="checkbox" name="Local" checked={{if (not Local) 'checked' }} onchange={{action 'change'}} />
|
||||
<span>No</span>
|
||||
<input type="checkbox" name="Local" checked={{if Local 'checked' }} onchange={{action 'change'}} />
|
||||
<span>Restrict this token to a local datacenter?</span>
|
||||
</label>
|
||||
<em>Local tokens get set in the Raft store of the local DC and do not ever get transmitted to the primary DC or replicated to any other DC.</em>
|
||||
</div>
|
||||
{{/if}}
|
||||
<label class="type-text validate-optional">
|
||||
|
Loading…
x
Reference in New Issue
Block a user