* chore: 🤖 Update editor config settings * chore: 🤖 Add back ember-template-lint-plugin-prettier * style: 💄 Format admin * style: 💄 Format desktop * style: 💄 Format rose * style: 💄 Format core * style: 💄 Format api
41 lines
1.3 KiB
Handlebars
41 lines
1.3 KiB
Handlebars
<Rose::Form
|
|
class='full-width'
|
|
@onSubmit={{fn @submit this.selectedCredentialSourceIDs}}
|
|
@cancel={{@cancel}}
|
|
@disabled={{@model.isSaving}}
|
|
as |form|
|
|
>
|
|
<form.actions
|
|
@submitText={{t
|
|
'resources.target.actions.add-injected-application-credential-sources'
|
|
}}
|
|
@cancelText={{t 'actions.cancel'}}
|
|
/>
|
|
|
|
<Rose::Table as |table|>
|
|
<table.header as |header|>
|
|
<header.row as |row|>
|
|
<row.headerCell>{{t 'form.id.label'}}</row.headerCell>
|
|
<row.headerCell>{{t 'form.name.label'}}</row.headerCell>
|
|
<row.headerCell>{{t 'form.type.label'}}</row.headerCell>
|
|
</header.row>
|
|
</table.header>
|
|
<table.body as |body|>
|
|
{{#each @filteredCredentialSources as |credentialSource|}}
|
|
<body.row as |row|>
|
|
<row.headerCell>
|
|
<form.checkbox
|
|
@label={{credentialSource.id}}
|
|
@description={{credentialSource.description}}
|
|
@onChange={{fn this.toggleCredentialSource credentialSource.id}}
|
|
/>
|
|
</row.headerCell>
|
|
<row.cell>{{credentialSource.name}}</row.cell>
|
|
<row.cell>
|
|
<CredSourceTypeBadge @model={{credentialSource}} />
|
|
</row.cell>
|
|
</body.row>
|
|
{{/each}}
|
|
</table.body>
|
|
</Rose::Table>
|
|
</Rose::Form> |