2023-03-01 09:39:41 -06:00
|
|
|
{{!
|
|
|
|
|
Copyright (c) HashiCorp, Inc.
|
2024-05-31 11:29:24 -07:00
|
|
|
SPDX-License-Identifier: BUSL-1.1
|
2023-03-01 09:39:41 -06:00
|
|
|
}}
|
|
|
|
|
|
2022-08-18 09:11:38 -07:00
|
|
|
{{page-title (t 'resources.target.actions.add-brokered-credential-sources')}}
|
2023-10-17 09:45:34 -07:00
|
|
|
<Breadcrumbs::Item
|
|
|
|
|
@text={{t 'resources.target.actions.add-brokered-credential-sources'}}
|
|
|
|
|
@route='scopes.scope.targets.target.add-brokered-credential-sources'
|
|
|
|
|
/>
|
2021-07-25 10:11:11 -04:00
|
|
|
|
2022-01-04 10:50:09 -05:00
|
|
|
<Rose::Layout::Page as |page|>
|
2021-07-27 10:03:56 -04:00
|
|
|
|
2022-01-04 10:50:09 -05:00
|
|
|
<page.breadcrumbs>
|
2023-10-17 09:45:34 -07:00
|
|
|
<Breadcrumbs::Container />
|
2022-01-04 10:50:09 -05:00
|
|
|
</page.breadcrumbs>
|
|
|
|
|
|
|
|
|
|
<page.header>
|
2025-05-15 14:48:27 -05:00
|
|
|
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
2022-08-18 09:11:38 -07:00
|
|
|
{{t 'resources.target.brokered-credential-source.messages.add.title'}}
|
2025-04-14 21:05:37 -05:00
|
|
|
</Hds::Text::Display>
|
2025-04-29 12:26:20 -05:00
|
|
|
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
|
|
|
|
{{t
|
2022-08-18 09:11:38 -07:00
|
|
|
'resources.target.brokered-credential-source.messages.add.description'
|
2025-04-29 12:26:20 -05:00
|
|
|
}}
|
|
|
|
|
</Hds::Text::Body>
|
2022-01-04 10:50:09 -05:00
|
|
|
</page.header>
|
|
|
|
|
|
|
|
|
|
<page.body>
|
2022-08-18 09:11:38 -07:00
|
|
|
{{#if this.hasAvailableBrokeredCredentialSources}}
|
|
|
|
|
<Form::Target::AddBrokeredCredentialSources
|
2022-01-04 10:50:09 -05:00
|
|
|
@model={{@model.target}}
|
2022-08-02 11:55:26 -05:00
|
|
|
@filteredCredentialSources={{this.filteredCredentialSources}}
|
2024-06-10 16:45:06 -07:00
|
|
|
@submit={{fn this.save @model.target}}
|
|
|
|
|
@cancel={{this.cancel}}
|
2022-01-04 10:50:09 -05:00
|
|
|
/>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
2022-08-18 09:11:38 -07:00
|
|
|
{{#unless this.hasAvailableBrokeredCredentialSources}}
|
2022-01-04 10:50:09 -05:00
|
|
|
<Rose::Layout::Centered>
|
2024-12-04 14:16:05 -08:00
|
|
|
<Hds::ApplicationState as |A|>
|
|
|
|
|
<A.Header
|
|
|
|
|
@title={{t
|
|
|
|
|
'resources.target.brokered-credential-source.messages.none.title'
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
<A.Body
|
|
|
|
|
@text={{t
|
2022-08-18 09:11:38 -07:00
|
|
|
'resources.target.brokered-credential-source.messages.none.description'
|
|
|
|
|
}}
|
2024-12-04 14:16:05 -08:00
|
|
|
/>
|
|
|
|
|
<A.Footer as |F|>
|
|
|
|
|
<F.LinkStandalone
|
|
|
|
|
@icon='arrow-left'
|
|
|
|
|
@text={{t 'actions.back'}}
|
|
|
|
|
@route='scopes.scope.targets.target.brokered-credential-sources'
|
|
|
|
|
/>
|
|
|
|
|
</A.Footer>
|
|
|
|
|
</Hds::ApplicationState>
|
2022-01-04 10:50:09 -05:00
|
|
|
</Rose::Layout::Centered>
|
|
|
|
|
{{/unless}}
|
|
|
|
|
</page.body>
|
|
|
|
|
|
2022-10-06 11:41:12 -04:00
|
|
|
</Rose::Layout::Page>
|