* refactor: 💡 update _typography stylesheet ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 update header margin styles into single rule ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 add remove-header-margin class ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 remove 'header' class ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * test: 💍 fix failing tests for branded-card in desktop ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 update style rule to use :where() ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 rename remove-header-margin to remove-margin ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 update style comment ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937
64 lines
1.9 KiB
Handlebars
64 lines
1.9 KiB
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
{{page-title (t 'resources.target.actions.add-brokered-credential-sources')}}
|
|
<Breadcrumbs::Item
|
|
@text={{t 'resources.target.actions.add-brokered-credential-sources'}}
|
|
@route='scopes.scope.targets.target.add-brokered-credential-sources'
|
|
/>
|
|
|
|
<Rose::Layout::Page as |page|>
|
|
|
|
<page.breadcrumbs>
|
|
<Breadcrumbs::Container />
|
|
</page.breadcrumbs>
|
|
|
|
<page.header>
|
|
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
|
{{t 'resources.target.brokered-credential-source.messages.add.title'}}
|
|
</Hds::Text::Display>
|
|
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
|
{{t
|
|
'resources.target.brokered-credential-source.messages.add.description'
|
|
}}
|
|
</Hds::Text::Body>
|
|
</page.header>
|
|
|
|
<page.body>
|
|
{{#if this.hasAvailableBrokeredCredentialSources}}
|
|
<Form::Target::AddBrokeredCredentialSources
|
|
@model={{@model.target}}
|
|
@filteredCredentialSources={{this.filteredCredentialSources}}
|
|
@submit={{fn this.save @model.target}}
|
|
@cancel={{this.cancel}}
|
|
/>
|
|
{{/if}}
|
|
|
|
{{#unless this.hasAvailableBrokeredCredentialSources}}
|
|
<Rose::Layout::Centered>
|
|
<Hds::ApplicationState as |A|>
|
|
<A.Header
|
|
@title={{t
|
|
'resources.target.brokered-credential-source.messages.none.title'
|
|
}}
|
|
/>
|
|
<A.Body
|
|
@text={{t
|
|
'resources.target.brokered-credential-source.messages.none.description'
|
|
}}
|
|
/>
|
|
<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>
|
|
</Rose::Layout::Centered>
|
|
{{/unless}}
|
|
</page.body>
|
|
|
|
</Rose::Layout::Page> |