b0dfbde741
* always use ?force for kmip scope delete * update the delete message when deleting a scope * support disabling and not showing help text for checkboxes * group TLS fields and render new allowed operations widget * add operation-field-display component for kmip roles * use operation-field-display component * switch glyph for false value in info-table-row * divvy up roles and tls * fix JSDoc - showHelpText defaults to true * fix tests and linting * rename vars in operation-field-display component * make the action name clearer re: what it's actually doing * align the allowed-ops header * show all operations as checked if you check to allow all
22 lines
690 B
Handlebars
22 lines
690 B
Handlebars
{{#if model.operationAll}}
|
|
<AlertInline @type="info" @message="This role allows all KMIP operations" class="is-marginless" />
|
|
{{/if}}
|
|
{{#each @model.operationFormFields as |group|}}
|
|
{{#each-in group as |groupName fieldsInGroup|}}
|
|
<InfoTableRow @alwaysRender={{true}}
|
|
@label={{groupName}}
|
|
@value={{true}}
|
|
>
|
|
<div>
|
|
{{#each fieldsInGroup as |field|}}
|
|
<Icon
|
|
aria-hidden="true"
|
|
class={{compute (action "iconClass") model field}}
|
|
@glyph={{compute (action "iconGlyph") model field}}
|
|
/> {{field.options.label}}
|
|
<br />
|
|
{{/each}}
|
|
</div>
|
|
</InfoTableRow>
|
|
{{/each-in}}
|
|
{{/each}} |