Files
threshold-ui/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/index.hbs
T
Priya Patel b06c396086 Refactor - Rose::Page::Layout (#2849)
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs (#2813)

* refactor: 💡 page::layout- header,breadcrumb and actions

* refactor: 💡 added new class for the page layout, fixed a11y

* refactor: 💡 addressed comments

* refactor: 💡 moved copy snippet to PH.Generic

* refactor: 💡 addressed comments

* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Part 2 (#2825)

* refactor: 💡 rose page layout header

* refactor: 💡 removed extra classes

* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Final Part (#2840)

* refactor: 💡 rose page layout header

* Refactor: Rose::Page::Layout - header, actions and breadcrumbs (#2813)

* refactor: 💡 page::layout- header,breadcrumb and actions

* refactor: 💡 added new class for the page layout, fixed a11y

* refactor: 💡 addressed comments

* refactor: 💡 moved copy snippet to PH.Generic

* refactor: 💡 addressed comments

* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Part 2 (#2825)

* refactor: 💡 rose page layout header

* refactor: 💡 removed extra classes

* refactor: 💡 fixed a11y heading, actions dropdown

* refactor: 💡 fixed page header

* refactor: 💡 fix heading margin and failing tests

* refactor: 💡 add back margin for hds header tags

* refactor: 💡 fix style
2025-06-02 16:20:50 -05:00

41 lines
1.2 KiB
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: BUSL-1.1
}}
<Rose::Layout::Page as |page|>
<page.header>
<Hds::PageHeader as |PH|>
<PH.Breadcrumb>
<Breadcrumbs::Container />
</PH.Breadcrumb>
<AuthMethods::AuthMethod::Header @model={{@model}} @header={{PH}} />
<PH.Actions>
<AuthMethods::AuthMethod::Actions
@model={{@model}}
@changeState={{this.authMethods.changeState}}
@removeAsPrimary={{this.authMethods.removeAsPrimary}}
@makePrimary={{this.authMethods.makePrimary}}
@delete={{this.authMethods.delete}}
/>
</PH.Actions>
</Hds::PageHeader>
</page.header>
<page.navigation>
<AuthMethods::AuthMethod::Nav @model={{@model}} />
</page.navigation>
<page.body>
<Form::AuthMethod
@model={{@model}}
@edit={{fn this.authMethods.edit @model}}
@submit={{fn this.authMethods.save @model}}
@cancel={{fn this.authMethods.cancel @model}}
@removeItemByIndex={{fn this.authMethods.removeItemByIndex @model}}
@addStringItem={{fn this.authMethods.addStringItem @model}}
@addAccountMapItem={{fn this.authMethods.addAccountMapItem @model}}
/>
</page.body>
</Rose::Layout::Page>