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
This commit is contained in:
1 parent
5555603a5c
commit
b06c396086
130 files changed
+1781
-1616
No files matched your search
@@ -6,11 +6,7 @@
|
||||
<div ...attributes class='rose-layout-page'>
|
||||
{{yield
|
||||
(hash
|
||||
breadcrumbs=(component
|
||||
'rose/anonymous' class='rose-layout-page-breadcrumbs'
|
||||
)
|
||||
header=(component 'rose/anonymous' class='rose-layout-page-header')
|
||||
actions=(component 'rose/anonymous' class='rose-layout-page-actions')
|
||||
navigation=(component
|
||||
'rose/anonymous' class='rose-layout-page-navigation'
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
.rose-header {
|
||||
// Temporary fix: This header component will be retired upon integrating HDS side nav for desktop.
|
||||
.header-dropdown-button-override > button {
|
||||
.header-dropdown-button-override > button {
|
||||
background: var(--black);
|
||||
border: none;
|
||||
color: var(--white);
|
||||
|
||||
@@ -9,36 +9,32 @@
|
||||
.rose-layout-page {
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
'breadcrumbs breadcrumbs breadcrumbs'
|
||||
'header header actions'
|
||||
'header header header'
|
||||
'navigation navigation navigation'
|
||||
'body body body';
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-template-rows: auto 1fr;
|
||||
|
||||
.rose-layout-page-breadcrumbs {
|
||||
grid-area: breadcrumbs;
|
||||
}
|
||||
|
||||
.rose-layout-page-header {
|
||||
grid-area: header;
|
||||
margin-bottom: sizing.rems(s);
|
||||
|
||||
h2 {
|
||||
h1 {
|
||||
display: flex;
|
||||
gap: sizing.rems(xxs);
|
||||
align-items: center;
|
||||
gap: sizing.rems(xs);
|
||||
margin: 0;
|
||||
|
||||
.doc-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rose-layout-page-actions {
|
||||
grid-area: actions;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
.hds-copy-snippet {
|
||||
align-self: start;
|
||||
margin-top: sizing.rems(s);
|
||||
}
|
||||
}
|
||||
|
||||
.rose-layout-page-navigation {
|
||||
@@ -55,9 +51,7 @@
|
||||
.rose-layout-page {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-areas:
|
||||
'breadcrumbs'
|
||||
'header'
|
||||
'actions'
|
||||
'navigation'
|
||||
'body';
|
||||
}
|
||||
|
||||
@@ -22,9 +22,7 @@ test.describe('user/password authentication tests', () => {
|
||||
);
|
||||
|
||||
// click dropdown
|
||||
await electronPage
|
||||
.getByRole('button', { name: 'admin' })
|
||||
.click();
|
||||
await electronPage.getByRole('button', { name: 'admin' }).click();
|
||||
|
||||
await electronPage.getByRole('button', { name: 'Sign Out' }).click();
|
||||
await expect(electronPage).toHaveURL(/.*\/scopes\/global\/authenticate\//);
|
||||
|
||||
@@ -52,7 +52,9 @@ test.describe('Scope tests', () => {
|
||||
}) => {
|
||||
const headerNavLocator = authedPage.getByLabel('header-nav');
|
||||
await expect(headerNavLocator).toBeVisible();
|
||||
await expect(headerNavLocator.locator('.hds-dropdown-toggle-button')).toHaveText('Global');
|
||||
await expect(
|
||||
headerNavLocator.locator('.hds-dropdown-toggle-button'),
|
||||
).toHaveText('Global');
|
||||
|
||||
await expect(
|
||||
authedPage.getByRole('link', { name: targetA.name }),
|
||||
@@ -67,7 +69,9 @@ test.describe('Scope tests', () => {
|
||||
});
|
||||
await orgAHeaderNavLink.click();
|
||||
|
||||
await expect(headerNavLocator.locator('.hds-dropdown-toggle-button')).toHaveText(orgA.name);
|
||||
await expect(
|
||||
headerNavLocator.locator('.hds-dropdown-toggle-button'),
|
||||
).toHaveText(orgA.name);
|
||||
await expect(
|
||||
authedPage.getByRole('link', { name: targetA.name }),
|
||||
).toBeVisible();
|
||||
@@ -82,7 +86,9 @@ test.describe('Scope tests', () => {
|
||||
|
||||
await orgBHeaderNavLink.click();
|
||||
|
||||
await expect(headerNavLocator.locator('.hds-dropdown-toggle-button')).toHaveText(orgB.name);
|
||||
await expect(
|
||||
headerNavLocator.locator('.hds-dropdown-toggle-button'),
|
||||
).toHaveText(orgB.name);
|
||||
await expect(
|
||||
authedPage.getByRole('link', { name: targetB.name }),
|
||||
).toBeVisible();
|
||||
|
||||
@@ -3,11 +3,13 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.account.title'}}
|
||||
<DocLink @doc='account' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.account.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
@@ -3,16 +3,16 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.auth-method.title'}}
|
||||
{{#if @model.isPrimary}}
|
||||
|
||||
<Hds::Badge @text={{t 'states.primary'}} @color='success' />
|
||||
|
||||
{{/if}}
|
||||
<DocLink @doc='auth-method' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>{{t
|
||||
'resources.auth-method.description'
|
||||
}}</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.auth-method.description'}}
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
+8
-6
@@ -3,11 +3,13 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.managed-group.title'}}
|
||||
<DocLink @doc='managed-groups' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>{{t
|
||||
'resources.managed-group.description'
|
||||
}}</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.managed-group.description'}}
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
@@ -3,11 +3,13 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.credential-store.title'}}
|
||||
<DocLink @doc='credential-store' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>{{t
|
||||
'resources.credential-store.description'
|
||||
}}</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.credential-store.description'}}
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
@@ -80,8 +80,8 @@
|
||||
<F.Control>
|
||||
<div class='ldap-section'>
|
||||
<Hds::Text::Display
|
||||
@tag='h3'
|
||||
@size='300'
|
||||
@tag='h2'
|
||||
@size='400'
|
||||
@weight='bold'
|
||||
class='remove-margin'
|
||||
>
|
||||
|
||||
@@ -48,8 +48,8 @@
|
||||
|
||||
<div class='ldap-section'>
|
||||
<Hds::Text::Display
|
||||
@tag='h3'
|
||||
@size='300'
|
||||
@tag='h2'
|
||||
@size='400'
|
||||
@weight='bold'
|
||||
class='remove-margin'
|
||||
>
|
||||
@@ -222,8 +222,8 @@
|
||||
|
||||
<div class='ldap-section'>
|
||||
<Hds::Text::Display
|
||||
@tag='h3'
|
||||
@size='300'
|
||||
@tag='h2'
|
||||
@size='400'
|
||||
@weight='bold'
|
||||
class='remove-margin'
|
||||
>
|
||||
@@ -307,8 +307,8 @@
|
||||
|
||||
<div class='ldap-section'>
|
||||
<Hds::Text::Display
|
||||
@tag='h3'
|
||||
@size='300'
|
||||
@tag='h2'
|
||||
@size='400'
|
||||
@weight='bold'
|
||||
class='remove-margin'
|
||||
>
|
||||
@@ -350,8 +350,8 @@
|
||||
|
||||
<div class='ldap-section'>
|
||||
<Hds::Text::Display
|
||||
@tag='h3'
|
||||
@size='300'
|
||||
@tag='h2'
|
||||
@size='400'
|
||||
@weight='bold'
|
||||
class='remove-margin'
|
||||
>
|
||||
@@ -448,8 +448,8 @@
|
||||
|
||||
<div class='ldap-section'>
|
||||
<Hds::Text::Display
|
||||
@tag='h3'
|
||||
@size='300'
|
||||
@tag='h2'
|
||||
@size='400'
|
||||
@weight='bold'
|
||||
class='remove-margin'
|
||||
>
|
||||
|
||||
@@ -10,13 +10,15 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.policy.titles.new'}}</Hds::Text::Display>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.policy.titles.new'}}
|
||||
</PH.Title>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
@@ -26,5 +28,4 @@
|
||||
@cancel={{fn this.cancel @model}}
|
||||
/>
|
||||
</page.body>
|
||||
|
||||
</Rose::Layout::Page>
|
||||
@@ -3,11 +3,13 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.group.title'}}
|
||||
<DocLink @doc='group' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.group.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
@@ -3,11 +3,13 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.host-catalog.title'}}
|
||||
<DocLink @doc='host-catalog' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.host-catalog.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
+4
-4
@@ -3,10 +3,10 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.host-set.host.messages.add.title'}}
|
||||
<DocLink @doc='host-set.add-hosts' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.host-set.host.messages.add.description'}}
|
||||
</Hds::Text::Body>
|
||||
</@header.Description>
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.host-set.actions.create-and-add-host'}}
|
||||
<DocLink @doc='host.new' />
|
||||
</Hds::Text::Display>
|
||||
</@header.Title>
|
||||
+7
-5
@@ -3,11 +3,13 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.host-set.title'}}
|
||||
<DocLink @doc='host-set' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.host-set.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
@@ -3,10 +3,10 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.host-set.titles.new'}}
|
||||
<DocLink @doc='host-set.new' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.host-set.description'}}
|
||||
</Hds::Text::Body>
|
||||
</@header.Description>
|
||||
@@ -3,11 +3,13 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.host.title'}}
|
||||
<DocLink @doc='host' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.host.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
@@ -3,10 +3,10 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.host.titles.new'}}
|
||||
<DocLink @doc='host.new' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.host.description'}}
|
||||
</Hds::Text::Body>
|
||||
</@header.Description>
|
||||
@@ -3,11 +3,13 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.role.title'}}
|
||||
<DocLink @doc='role' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.role.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
@@ -3,11 +3,13 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.target.title'}}
|
||||
<DocLink @doc='target' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.target.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
@@ -3,11 +3,13 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.user.title'}}
|
||||
<DocLink @doc='user' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.user.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
@@ -3,11 +3,13 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
<@header.Title>
|
||||
{{t 'resources.worker.title'}}
|
||||
<DocLink @doc='worker' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
</@header.Title>
|
||||
<@header.Description>
|
||||
{{t 'resources.worker.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Description>
|
||||
<@header.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</@header.Generic>
|
||||
@@ -7,4 +7,33 @@ import Controller, { inject as controller } from '@ember/controller';
|
||||
|
||||
export default class ScopesScopeEditController extends Controller {
|
||||
@controller('scopes/scope/index') scopes;
|
||||
|
||||
get scopeTypes() {
|
||||
return [
|
||||
{
|
||||
key: 'isGlobal',
|
||||
title: 'resources.global.title',
|
||||
description: 'resources.global.description',
|
||||
doc: 'global',
|
||||
},
|
||||
{
|
||||
key: 'isOrg',
|
||||
title: 'resources.org.title',
|
||||
description: 'resources.org.description',
|
||||
doc: 'org',
|
||||
},
|
||||
{
|
||||
key: 'isProject',
|
||||
title: 'resources.project.title',
|
||||
description: 'resources.project.description',
|
||||
doc: 'project',
|
||||
},
|
||||
{
|
||||
key: 'isScope',
|
||||
title: 'resources.scope.title',
|
||||
description: 'resources.scope.description',
|
||||
doc: 'scope',
|
||||
},
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -10,18 +10,20 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.policy.titles.new'}}
|
||||
<DocLink @doc='storage-policy.new' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.policy.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.policy.titles.new'}}
|
||||
<DocLink @doc='storage-policy.new' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.policy.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -9,15 +9,16 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.policy.actions.add'}}
|
||||
<DocLink @doc='storage-policy.new' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.policy.actions.add'}}
|
||||
<DocLink @doc='storage-policy.new' />
|
||||
</PH.Title>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
@@ -28,5 +29,4 @@
|
||||
@cancel={{fn this.cancel @model}}
|
||||
/>
|
||||
</page.body>
|
||||
|
||||
</Rose::Layout::Page>
|
||||
@@ -4,18 +4,56 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.alias.title'}}
|
||||
<DocLink @doc='alias' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.alias.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @color='secondary' @textToCopy={{@model.id}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.alias.title'}}
|
||||
<DocLink @doc='alias' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.alias.description'}}
|
||||
</PH.Description>
|
||||
<PH.Actions>
|
||||
{{#let
|
||||
(hash
|
||||
canUpdate=(can 'update model' @model)
|
||||
canDelete=(can 'delete model' @model)
|
||||
)
|
||||
as |perms|
|
||||
}}
|
||||
{{#if (or perms.canUpdate perms.canDelete)}}
|
||||
<Hds::Dropdown data-test-manage-alias as |dd|>
|
||||
<dd.ToggleButton
|
||||
@text={{t 'actions.manage'}}
|
||||
@color='secondary'
|
||||
/>
|
||||
{{#if (and perms.canUpdate @model.destination_id)}}
|
||||
<dd.Interactive
|
||||
@color='action'
|
||||
{{on 'click' (fn this.aliases.clearAlias @model)}}
|
||||
>
|
||||
{{t 'actions.clear'}}
|
||||
</dd.Interactive>
|
||||
{{/if}}
|
||||
{{#if perms.canDelete}}
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.aliases.deleteAlias @model)}}
|
||||
>
|
||||
{{t 'actions.delete'}}
|
||||
</dd.Interactive>
|
||||
{{/if}}
|
||||
</Hds::Dropdown>
|
||||
{{/if}}
|
||||
{{/let}}
|
||||
</PH.Actions>
|
||||
<PH.Generic>
|
||||
<Hds::Copy::Snippet @color='secondary' @textToCopy={{@model.id}} />
|
||||
</PH.Generic>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
@@ -25,39 +63,7 @@
|
||||
</nav.link>
|
||||
</Rose::Nav::Tabs>
|
||||
</page.navigation>
|
||||
{{#let
|
||||
(hash
|
||||
canUpdate=(can 'update model' @model)
|
||||
canDelete=(can 'delete model' @model)
|
||||
)
|
||||
as |perms|
|
||||
}}
|
||||
<page.actions>
|
||||
|
||||
{{#if (or perms.canUpdate perms.canDelete)}}
|
||||
<Hds::Dropdown data-test-manage-alias as |dd|>
|
||||
<dd.ToggleButton @text={{t 'actions.manage'}} @color='secondary' />
|
||||
{{#if (and perms.canUpdate @model.destination_id)}}
|
||||
<dd.Interactive
|
||||
@color='action'
|
||||
{{on 'click' (fn this.aliases.clearAlias @model)}}
|
||||
>
|
||||
{{t 'actions.clear'}}
|
||||
</dd.Interactive>
|
||||
{{/if}}
|
||||
{{#if perms.canDelete}}
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.aliases.deleteAlias @model)}}
|
||||
>
|
||||
{{t 'actions.delete'}}
|
||||
</dd.Interactive>
|
||||
{{/if}}
|
||||
</Hds::Dropdown>
|
||||
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
{{/let}}
|
||||
<page.body>
|
||||
<Form::Alias
|
||||
@model={{@model}}
|
||||
|
||||
@@ -4,31 +4,32 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.alias.title_plural'}}
|
||||
<DocLink @doc='alias' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.alias.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.alias.title_plural'}}
|
||||
<DocLink @doc='alias' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.alias.description'}}
|
||||
</PH.Description>
|
||||
<PH.Actions>
|
||||
{{#if (can 'create model' this.scope collection='aliases')}}
|
||||
{{#if @model.doAliasesExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.aliases.new'
|
||||
@text={{t 'resources.alias.titles.new'}}
|
||||
/>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
{{#if (can 'create model' this.scope collection='aliases')}}
|
||||
{{#if @model.doAliasesExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.aliases.new'
|
||||
@text={{t 'resources.alias.titles.new'}}
|
||||
/>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
|
||||
<page.body class='search-filtering'>
|
||||
{{#if @model.doAliasesExist}}
|
||||
<Hds::SegmentedGroup as |S|>
|
||||
|
||||
@@ -10,20 +10,21 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.alias.titles.new'}}
|
||||
<DocLink @doc='alias' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.alias.description'}}
|
||||
</Hds::Text::Body>
|
||||
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.alias.titles.new'}}
|
||||
<DocLink @doc='alias' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.alias.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
<Form::Alias
|
||||
@model={{@model}}
|
||||
|
||||
+15
-12
@@ -5,25 +5,28 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<AuthMethods::AuthMethod::Accounts::Account::Header @model={{@model}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<AuthMethods::AuthMethod::Accounts::Account::Header
|
||||
@header={{PH}}
|
||||
@model={{@model}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<AuthMethods::AuthMethod::Accounts::Account::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.accounts.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
<AuthMethods::AuthMethod::Accounts::Account::Nav @model={{@model}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<AuthMethods::AuthMethod::Accounts::Account::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.accounts.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
<Form::Account
|
||||
@model={{@model}}
|
||||
|
||||
+20
-18
@@ -11,31 +11,33 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>{{t
|
||||
'resources.account.title'
|
||||
}}</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.account.messages.set-password.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.account.title'}}
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.account.messages.set-password.description'}}
|
||||
</PH.Description>
|
||||
<PH.Actions>
|
||||
<AuthMethods::AuthMethod::Accounts::Account::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.accounts.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
<PH.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</PH.Generic>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
<AuthMethods::AuthMethod::Accounts::Account::Nav @model={{@model}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<AuthMethods::AuthMethod::Accounts::Account::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.accounts.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
<Form::Account::Password::SetPassword
|
||||
@model={{@model}}
|
||||
|
||||
@@ -4,29 +4,31 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<AuthMethods::AuthMethod::Header @model={{@model.authMethod}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<AuthMethods::AuthMethod::Header
|
||||
@model={{@model.authMethod}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<AuthMethods::AuthMethod::Actions
|
||||
@model={{@model.authMethod}}
|
||||
@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.authMethod}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<AuthMethods::AuthMethod::Actions
|
||||
@model={{@model.authMethod}}
|
||||
@changeState={{this.authMethods.changeState}}
|
||||
@removeAsPrimary={{this.authMethods.removeAsPrimary}}
|
||||
@makePrimary={{this.authMethods.makePrimary}}
|
||||
@delete={{this.authMethods.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
{{#if @model.accounts}}
|
||||
{{! OIDC accounts display more fields }}
|
||||
|
||||
@@ -11,18 +11,19 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.account.titles.new'}}
|
||||
<DocLink @doc='account.new' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.account.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.account.titles.new'}}
|
||||
<DocLink @doc='account.new' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.account.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -4,29 +4,28 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<AuthMethods::AuthMethod::Header @model={{@model}} />
|
||||
<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.actions>
|
||||
<AuthMethods::AuthMethod::Actions
|
||||
@model={{@model}}
|
||||
@changeState={{this.authMethods.changeState}}
|
||||
@removeAsPrimary={{this.authMethods.removeAsPrimary}}
|
||||
@makePrimary={{this.authMethods.makePrimary}}
|
||||
@delete={{this.authMethods.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
<Form::AuthMethod
|
||||
@model={{@model}}
|
||||
|
||||
+18
-16
@@ -4,29 +4,31 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<AuthMethods::AuthMethod::Header @model={{@model.authMethod}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<AuthMethods::AuthMethod::Header
|
||||
@model={{@model.authMethod}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<AuthMethods::AuthMethod::Actions
|
||||
@model={{@model.authMethod}}
|
||||
@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.authMethod}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<AuthMethods::AuthMethod::Actions
|
||||
@model={{@model.authMethod}}
|
||||
@changeState={{this.authMethods.changeState}}
|
||||
@removeAsPrimary={{this.authMethods.removeAsPrimary}}
|
||||
@makePrimary={{this.authMethods.makePrimary}}
|
||||
@delete={{this.authMethods.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
{{#if @model.managedGroups}}
|
||||
{{#if (get @model.managedGroups '0.isOIDC')}}
|
||||
|
||||
+15
-15
@@ -4,15 +4,22 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<AuthMethods::AuthMethod::ManagedGroups::ManagedGroup::Header
|
||||
@model={{@model}}
|
||||
/>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<AuthMethods::AuthMethod::ManagedGroups::ManagedGroup::Header
|
||||
@model={{@model}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<AuthMethods::AuthMethod::ManagedGroups::ManagedGroup::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.managedGroups.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
@@ -21,13 +28,6 @@
|
||||
/>
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<AuthMethods::AuthMethod::ManagedGroups::ManagedGroup::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.managedGroups.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
<Form::ManagedGroup
|
||||
@model={{@model}}
|
||||
|
||||
+15
-15
@@ -10,15 +10,22 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<AuthMethods::AuthMethod::ManagedGroups::ManagedGroup::Header
|
||||
@model={{@model.managedGroup}}
|
||||
/>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<AuthMethods::AuthMethod::ManagedGroups::ManagedGroup::Header
|
||||
@model={{@model.managedGroup}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<AuthMethods::AuthMethod::ManagedGroups::ManagedGroup::Actions
|
||||
@model={{@model.managedGroup}}
|
||||
@delete={{this.managedGroups.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
@@ -27,13 +34,6 @@
|
||||
/>
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<AuthMethods::AuthMethod::ManagedGroups::ManagedGroup::Actions
|
||||
@model={{@model.managedGroup}}
|
||||
@delete={{this.managedGroups.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
{{#if @model.members}}
|
||||
{{#if (get @model.members '0.isOIDC')}}
|
||||
|
||||
+12
-12
@@ -10,19 +10,19 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.managed-group.titles.new'}}
|
||||
<DocLink @doc='managed-groups' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.managed-group.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.managed-group.titles.new'}}
|
||||
<DocLink @doc='managed-groups' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.managed-group.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -5,42 +5,42 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.auth-method.title_plural'}}
|
||||
<DocLink @doc='auth-method' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.auth-method.description'}}
|
||||
</Hds::Text::Body>
|
||||
</page.header>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.actions>
|
||||
{{#if (can 'create model' this.scopeModel collection='auth-methods')}}
|
||||
<Hds::Dropdown data-test-new-dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'titles.new'}} @color='secondary' />
|
||||
<dd.Interactive
|
||||
@route='scopes.scope.auth-methods.new'
|
||||
@query={{hash type='password'}}
|
||||
>{{t 'resources.auth-method.types.password'}}</dd.Interactive>
|
||||
<dd.Interactive
|
||||
@route='scopes.scope.auth-methods.new'
|
||||
@query={{hash type='oidc'}}
|
||||
>{{t 'resources.auth-method.types.oidc'}}</dd.Interactive>
|
||||
{{#if (feature-flag 'ldap-auth-methods')}}
|
||||
<dd.Interactive
|
||||
@route='scopes.scope.auth-methods.new'
|
||||
@query={{hash type='ldap'}}
|
||||
>
|
||||
{{t 'resources.auth-method.types.ldap'}}
|
||||
</dd.Interactive>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.auth-method.title_plural'}}
|
||||
<DocLink @doc='auth-method' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.auth-method.description'}}
|
||||
</PH.Description>
|
||||
<PH.Actions>
|
||||
{{#if (can 'create model' this.scopeModel collection='auth-methods')}}
|
||||
<Hds::Dropdown data-test-new-dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'titles.new'}} @color='secondary' />
|
||||
<dd.Interactive
|
||||
@route='scopes.scope.auth-methods.new'
|
||||
@query={{hash type='password'}}
|
||||
>{{t 'resources.auth-method.types.password'}}</dd.Interactive>
|
||||
<dd.Interactive
|
||||
@route='scopes.scope.auth-methods.new'
|
||||
@query={{hash type='oidc'}}
|
||||
>{{t 'resources.auth-method.types.oidc'}}</dd.Interactive>
|
||||
{{#if (feature-flag 'ldap-auth-methods')}}
|
||||
<dd.Interactive
|
||||
@route='scopes.scope.auth-methods.new'
|
||||
@query={{hash type='ldap'}}
|
||||
>
|
||||
{{t 'resources.auth-method.types.ldap'}}
|
||||
</dd.Interactive>
|
||||
{{/if}}
|
||||
</Hds::Dropdown>
|
||||
{{/if}}
|
||||
</Hds::Dropdown>
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body class='search-filtering'>
|
||||
{{#if @model.doAuthMethodsExist}}
|
||||
|
||||
@@ -11,19 +11,20 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.auth-method.titles.new'}}
|
||||
<DocLink @doc='auth-method' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.auth-method.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.auth-method.titles.new'}}
|
||||
<DocLink @doc='auth-method' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.auth-method.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.body>
|
||||
<Form::AuthMethod
|
||||
@model={{@model}}
|
||||
|
||||
+28
-26
@@ -4,20 +4,35 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.credential-library.title'}}
|
||||
<DocLink @doc='credential-library' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.credential-library.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.credential-library.title'}}
|
||||
<DocLink @doc='credential-library' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.credential-library.description'}}
|
||||
</PH.Description>
|
||||
{{#if (can 'delete model' @model)}}
|
||||
<PH.Actions>
|
||||
<Hds::Dropdown data-test-manage-credential-library-dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'actions.manage'}} @color='secondary' />
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.credentialLibraries.delete @model)}}
|
||||
>
|
||||
{{t 'resources.credential-library.actions.delete'}}
|
||||
</dd.Interactive>
|
||||
</Hds::Dropdown>
|
||||
</PH.Actions>
|
||||
{{/if}}
|
||||
<PH.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</PH.Generic>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
@@ -30,19 +45,6 @@
|
||||
</Rose::Nav::Tabs>
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
{{#if (can 'delete model' @model)}}
|
||||
<Hds::Dropdown data-test-manage-credential-library-dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'actions.manage'}} @color='secondary' />
|
||||
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.credentialLibraries.delete @model)}}
|
||||
>{{t 'resources.credential-library.actions.delete'}}</dd.Interactive>
|
||||
</Hds::Dropdown>
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
<Form::CredentialLibrary
|
||||
@model={{@model}}
|
||||
|
||||
+16
-15
@@ -4,28 +4,29 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<CredentialStores::CredentialStore::Header
|
||||
@model={{this.credentialStore}}
|
||||
/>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<CredentialStores::CredentialStore::Header
|
||||
@model={{this.credentialStore}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<CredentialStores::CredentialStore::Actions
|
||||
@model={{this.credentialStore}}
|
||||
@delete={{fn this.credentialStores.delete this.credentialStore}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
<CredentialStores::CredentialStore::Nav @model={{this.credentialStore}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<CredentialStores::CredentialStore::Actions
|
||||
@model={{this.credentialStore}}
|
||||
@delete={{fn this.credentialStores.delete this.credentialStore}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
{{#if @model}}
|
||||
|
||||
|
||||
+12
-12
@@ -10,19 +10,19 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.credential-library.titles.new'}}
|
||||
<DocLink @doc='credential-library' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.credential-library.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.credential-library.titles.new'}}
|
||||
<DocLink @doc='credential-library' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.credential-library.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
+26
-25
@@ -4,20 +4,33 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.credential.title'}}
|
||||
<DocLink @doc='credential' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.credential.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.credential.title'}}
|
||||
<DocLink @doc='credential' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.credential.description'}}
|
||||
</PH.Description>
|
||||
{{#if (can 'delete model' @model)}}
|
||||
<PH.Actions>
|
||||
<Hds::Dropdown data-test-manage-credentials-dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'actions.manage'}} @color='secondary' />
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.credentials.delete @model)}}
|
||||
>{{t 'resources.credential.actions.delete'}}</dd.Interactive>
|
||||
</Hds::Dropdown>
|
||||
</PH.Actions>
|
||||
{{/if}}
|
||||
<PH.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</PH.Generic>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
@@ -30,18 +43,6 @@
|
||||
</Rose::Nav::Tabs>
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
{{#if (can 'delete model' @model)}}
|
||||
<Hds::Dropdown data-test-manage-credentials-dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'actions.manage'}} @color='secondary' />
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.credentials.delete @model)}}
|
||||
>{{t 'resources.credential.actions.delete'}}</dd.Interactive>
|
||||
</Hds::Dropdown>
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
<Form::Credential
|
||||
@model={{@model}}
|
||||
|
||||
+15
-15
@@ -4,28 +4,28 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<CredentialStores::CredentialStore::Header
|
||||
@model={{this.credentialStore}}
|
||||
/>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<CredentialStores::CredentialStore::Header
|
||||
@model={{this.credentialStore}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<CredentialStores::CredentialStore::Actions
|
||||
@model={{this.credentialStore}}
|
||||
@delete={{fn this.credentialStores.delete this.credentialStore}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
<CredentialStores::CredentialStore::Nav @model={{this.credentialStore}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<CredentialStores::CredentialStore::Actions
|
||||
@model={{this.credentialStore}}
|
||||
@delete={{fn this.credentialStores.delete this.credentialStore}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
{{#if @model}}
|
||||
|
||||
|
||||
+12
-12
@@ -10,19 +10,19 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.credential.titles.new'}}
|
||||
<DocLink @doc='credential' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.credential.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.credential.titles.new'}}
|
||||
<DocLink @doc='credential' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.credential.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
+14
-11
@@ -10,18 +10,21 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='300'>
|
||||
{{t 'actions.edit-worker-filter'}}
|
||||
<DocLink @doc='worker-filters-format' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300'>
|
||||
{{t 'resources.credential-store.worker-filter.messages.edit.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'actions.edit-worker-filter'}}
|
||||
<DocLink @doc='worker-filters-format' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t
|
||||
'resources.credential-store.worker-filter.messages.edit.description'
|
||||
}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -4,26 +4,28 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<CredentialStores::CredentialStore::Header @model={{@model}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<CredentialStores::CredentialStore::Header
|
||||
@model={{@model}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<CredentialStores::CredentialStore::Actions
|
||||
@model={{@model}}
|
||||
@delete={{fn this.credentialStores.delete @model}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
<CredentialStores::CredentialStore::Nav @model={{@model}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<CredentialStores::CredentialStore::Actions
|
||||
@model={{@model}}
|
||||
@delete={{fn this.credentialStores.delete @model}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
<Form::CredentialStore
|
||||
@model={{@model}}
|
||||
|
||||
+15
-12
@@ -10,25 +10,28 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<CredentialStores::CredentialStore::Header @model={{@model}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<CredentialStores::CredentialStore::Header
|
||||
@model={{@model}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<CredentialStores::CredentialStore::Actions
|
||||
@model={{@model}}
|
||||
@delete={{fn this.credentialStores.delete @model}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
<CredentialStores::CredentialStore::Nav @model={{@model}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<CredentialStores::CredentialStore::Actions
|
||||
@model={{@model}}
|
||||
@delete={{fn this.credentialStores.delete @model}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
{{#if @model.worker_filter}}
|
||||
<Hds::CodeBlock
|
||||
|
||||
@@ -4,34 +4,33 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.credential-store.title_plural'}}
|
||||
<DocLink @doc='credential-store' />
|
||||
</Hds::Text::Display>
|
||||
{{#if @model.doCredentialStoresExist}}
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.credential-store.description'}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.credential-store.title_plural'}}
|
||||
<DocLink @doc='credential-store' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{#if @model.doCredentialStoresExist}}
|
||||
{{t 'resources.credential-store.description'}}
|
||||
{{/if}}
|
||||
</PH.Description>
|
||||
<PH.Actions>
|
||||
{{#if (can 'create model' this.scope collection='credential-stores')}}
|
||||
{{#if @model.doCredentialStoresExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.credential-stores.new'
|
||||
@text={{t 'resources.credential-store.titles.new'}}
|
||||
/>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
|
||||
{{#if (can 'create model' this.scope collection='credential-stores')}}
|
||||
{{#if @model.doCredentialStoresExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.credential-stores.new'
|
||||
@text={{t 'resources.credential-store.titles.new'}}
|
||||
/>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
|
||||
<page.body class='search-filtering'>
|
||||
{{#if @model.doCredentialStoresExist}}
|
||||
<Hds::SegmentedGroup as |S|>
|
||||
|
||||
@@ -10,18 +10,19 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.credential-store.titles.new'}}
|
||||
<DocLink @doc='credential-store' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.credential-store.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.credential-store.titles.new'}}
|
||||
<DocLink @doc='credential-store' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.credential-store.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -15,39 +15,43 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
{{#if @model.isGlobal}}
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.global.title'}}
|
||||
<DocLink @doc='global' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.global.description'}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
{{#if @model.isOrg}}
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.org.title'}}
|
||||
<DocLink @doc='org' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.org.description'}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
{{#if @model.isProject}}
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.project.title'}}
|
||||
<DocLink @doc='project' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.project.description'}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
{{#each this.scopeTypes as |scope|}}
|
||||
{{#if (get @model scope.key)}}
|
||||
<PH.Title>
|
||||
{{t scope.title}}
|
||||
<DocLink @doc={{scope.doc}} />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t scope.description}}
|
||||
</PH.Description>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{#if (and (can 'delete model' @model) (not @model.isGlobal))}}
|
||||
<PH.Actions>
|
||||
<Hds::Dropdown data-test-manage-projects-dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'actions.manage'}} @color='secondary' />
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.scopes.delete @model)}}
|
||||
>{{t
|
||||
(if
|
||||
@model.isOrg
|
||||
'resources.org.actions.delete'
|
||||
'resources.project.actions.delete'
|
||||
)
|
||||
}}</dd.Interactive>
|
||||
</Hds::Dropdown>
|
||||
</PH.Actions>
|
||||
{{/if}}
|
||||
<PH.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</PH.Generic>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
{{#if (can 'read model' @model)}}
|
||||
@@ -60,24 +64,6 @@
|
||||
</page.navigation>
|
||||
{{/if}}
|
||||
|
||||
{{#if (and (can 'delete model' @model) (not @model.isGlobal))}}
|
||||
<page.actions>
|
||||
<Hds::Dropdown data-test-manage-projects-dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'actions.manage'}} @color='secondary' />
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.scopes.delete @model)}}
|
||||
>{{t
|
||||
(if
|
||||
@model.isOrg
|
||||
'resources.org.actions.delete'
|
||||
'resources.project.actions.delete'
|
||||
)
|
||||
}}</dd.Interactive>
|
||||
</Hds::Dropdown>
|
||||
</page.actions>
|
||||
{{/if}}
|
||||
|
||||
<page.body>
|
||||
<Rose::Layout::BodyContent as |bc|>
|
||||
<bc.Body>
|
||||
@@ -98,7 +84,7 @@
|
||||
{{#if (can 'attachStoragePolicy scope' @model)}}
|
||||
<bc.Sidebar>
|
||||
<div class='policy-sidebar'>
|
||||
<Hds::Text::Display @tag='h3' class='remove-margin'>
|
||||
<Hds::Text::Display @tag='h2' class='remove-margin'>
|
||||
{{t 'resources.policy.title'}}
|
||||
</Hds::Text::Display>
|
||||
|
||||
|
||||
@@ -11,18 +11,19 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.group.messages.add-members.title'}}
|
||||
<DocLink @doc='group.add-members' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.group.messages.add-members.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.group.messages.add-members.title'}}
|
||||
<DocLink @doc='group.add-members' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.group.messages.add-members.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -5,25 +5,26 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Groups::Group::Header @model={{@model}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<Groups::Group::Header @model={{@model}} @header={{PH}} />
|
||||
<PH.Actions>
|
||||
<Groups::Group::Actions
|
||||
@model={{@model}}
|
||||
@delete={{fn this.groups.delete @model}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
<Groups::Group::Nav @model={{@model}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<Groups::Group::Actions
|
||||
@model={{@model}}
|
||||
@delete={{fn this.groups.delete @model}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
<Form::Group
|
||||
@model={{@model}}
|
||||
|
||||
@@ -11,25 +11,25 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Groups::Group::Header @model={{@model.group}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<Groups::Group::Header @model={{@model.group}} @header={{PH}} />
|
||||
<PH.Actions>
|
||||
<Groups::Group::Actions
|
||||
@model={{@model.group}}
|
||||
@delete={{fn this.groups.delete @model.group}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
<Groups::Group::Nav @model={{@model.group}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<Groups::Group::Actions
|
||||
@model={{@model.group}}
|
||||
@delete={{fn this.groups.delete @model.group}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
{{#if @model.members}}
|
||||
|
||||
|
||||
@@ -5,32 +5,32 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.group.title_plural'}}
|
||||
<DocLink @doc='group' />
|
||||
</Hds::Text::Display>
|
||||
{{#if @model.doGroupsExist}}
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.group.description'}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
{{#if (can 'create model' this.scope collection='groups')}}
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.group.title_plural'}}
|
||||
<DocLink @doc='group' />
|
||||
</PH.Title>
|
||||
{{#if @model.doGroupsExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.groups.new'
|
||||
@text={{t 'resources.group.titles.new'}}
|
||||
/>
|
||||
<PH.Description>
|
||||
{{t 'resources.group.description'}}
|
||||
</PH.Description>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
{{#if (can 'create model' this.scope collection='groups')}}
|
||||
{{#if @model.doGroupsExist}}
|
||||
<PH.Actions>
|
||||
<Hds::Button
|
||||
@route='scopes.scope.groups.new'
|
||||
@text={{t 'resources.group.titles.new'}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body class='search-filtering'>
|
||||
|
||||
|
||||
@@ -11,18 +11,19 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.group.titles.new'}}
|
||||
<DocLink @doc='group' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.group.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.group.titles.new'}}
|
||||
<DocLink @doc='group' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.group.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
+8
-5
@@ -10,12 +10,15 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::AddHosts::Header />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::AddHosts::Header
|
||||
@header={{PH}}
|
||||
/>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
+8
-6
@@ -10,14 +10,16 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::CreateAndAddHost::Header
|
||||
@model={{@model}}
|
||||
/>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::CreateAndAddHost::Header
|
||||
@header={{PH}}
|
||||
/>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
+9
-6
@@ -4,14 +4,17 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Hosts::Host::Header
|
||||
@model={{@model}}
|
||||
/>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Hosts::Host::Header
|
||||
@model={{@model}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
|
||||
+15
-13
@@ -4,23 +4,25 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Header
|
||||
@model={{@model.hostSet}}
|
||||
/>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Header
|
||||
@model={{@model.hostSet}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Actions
|
||||
@model={{@model.hostSet}}
|
||||
@delete={{this.hostSets.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Actions
|
||||
@model={{@model.hostSet}}
|
||||
@delete={{this.hostSets.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.navigation>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Navigation
|
||||
@model={{@model}}
|
||||
|
||||
+15
-11
@@ -4,21 +4,25 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Header @model={{@model}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Header
|
||||
@model={{@model}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.hostSets.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.hostSets.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.navigation>
|
||||
<HostCatalogs::HostCatalog::HostSets::HostSet::Navigation
|
||||
@model={{@model}}
|
||||
|
||||
+15
-12
@@ -4,21 +4,24 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<HostCatalogs::HostCatalog::Header @model={{@model.hostCatalog}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<HostCatalogs::HostCatalog::Header
|
||||
@model={{@model.hostCatalog}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<HostCatalogs::HostCatalog::Actions
|
||||
@model={{@model.hostCatalog}}
|
||||
@delete={{this.hostCatalogs.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
<HostCatalogs::HostCatalog::Actions
|
||||
@model={{@model.hostCatalog}}
|
||||
@delete={{this.hostCatalogs.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.navigation>
|
||||
<HostCatalogs::HostCatalog::Navigation @model={{@model.hostCatalog}} />
|
||||
</page.navigation>
|
||||
|
||||
@@ -10,12 +10,16 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<HostCatalogs::HostCatalog::HostSets::New::Header @model={{@model}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<HostCatalogs::HostCatalog::HostSets::New::Header
|
||||
@model={{@model}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
+15
-11
@@ -4,21 +4,25 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<HostCatalogs::HostCatalog::Hosts::Host::Header @model={{@model}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<HostCatalogs::HostCatalog::Hosts::Host::Header
|
||||
@model={{@model}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<HostCatalogs::HostCatalog::Hosts::Host::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.hosts.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
<HostCatalogs::HostCatalog::Hosts::Host::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.hosts.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.navigation>
|
||||
<HostCatalogs::HostCatalog::Hosts::Host::Navigation />
|
||||
</page.navigation>
|
||||
|
||||
@@ -4,21 +4,25 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<HostCatalogs::HostCatalog::Header @model={{@model.hostCatalog}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<HostCatalogs::HostCatalog::Header
|
||||
@model={{@model.hostCatalog}}
|
||||
@header={{PH}}
|
||||
/>
|
||||
<PH.Actions>
|
||||
<HostCatalogs::HostCatalog::Actions
|
||||
@model={{@model.hostCatalog}}
|
||||
@delete={{this.hostCatalogs.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
<HostCatalogs::HostCatalog::Actions
|
||||
@model={{@model.hostCatalog}}
|
||||
@delete={{this.hostCatalogs.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.navigation>
|
||||
<HostCatalogs::HostCatalog::Navigation @model={{@model.hostCatalog}} />
|
||||
</page.navigation>
|
||||
|
||||
@@ -10,12 +10,14 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<HostCatalogs::HostCatalog::Hosts::New::Header @model={{@model}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<HostCatalogs::HostCatalog::Hosts::New::Header @header={{PH}} />
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -4,25 +4,26 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<HostCatalogs::HostCatalog::Header @model={{@model}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<HostCatalogs::HostCatalog::Header @model={{@model}} @header={{PH}} />
|
||||
<PH.Actions>
|
||||
<HostCatalogs::HostCatalog::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.hostCatalogs.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
<HostCatalogs::HostCatalog::Navigation @model={{@model}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<HostCatalogs::HostCatalog::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.hostCatalogs.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
<Form::HostCatalog
|
||||
@model={{@model}}
|
||||
|
||||
@@ -5,32 +5,32 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.host-catalog.title_plural'}}
|
||||
<DocLink @doc='host-catalog' />
|
||||
</Hds::Text::Display>
|
||||
{{#if @model.doHostCatalogsExist}}
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.host-catalog.description'}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
{{#if (can 'create model' this.scope collection='host-catalogs')}}
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.host-catalog.title_plural'}}
|
||||
<DocLink @doc='host-catalog' />
|
||||
</PH.Title>
|
||||
{{#if @model.doHostCatalogsExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.host-catalogs.new'
|
||||
@text={{t 'resources.host-catalog.titles.new'}}
|
||||
/>
|
||||
<PH.Description>
|
||||
{{t 'resources.host-catalog.description'}}
|
||||
</PH.Description>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
{{#if (can 'create model' this.scope collection='host-catalogs')}}
|
||||
{{#if @model.doHostCatalogsExist}}
|
||||
<PH.Actions>
|
||||
<Hds::Button
|
||||
@route='scopes.scope.host-catalogs.new'
|
||||
@text={{t 'resources.host-catalog.titles.new'}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body class='search-filtering'>
|
||||
{{#if @model.doHostCatalogsExist}}
|
||||
|
||||
@@ -11,18 +11,19 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.host-catalog.titles.new'}}
|
||||
<DocLink @doc='host-catalog.new' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.host-catalog.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.host-catalog.titles.new'}}
|
||||
<DocLink @doc='host-catalog.new' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.host-catalog.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -3,29 +3,30 @@
|
||||
SPDX-License-Identifier: BUSL-1.1
|
||||
}}
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.policy.title_plural'}}
|
||||
<DocLink @doc='storage-policy' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.policy.description'}}
|
||||
</Hds::Text::Body>
|
||||
</page.header>
|
||||
<page.actions>
|
||||
{{#if (can 'create model' this.scope collection='policies')}}
|
||||
{{#if @model}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.policies.new'
|
||||
@text={{t 'resources.policy.titles.new'}}
|
||||
/>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.policy.title_plural'}}
|
||||
<DocLink @doc='storage-policy' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.policy.description'}}
|
||||
</PH.Description>
|
||||
{{#if (can 'create model' this.scope collection='policies')}}
|
||||
<PH.Actions>
|
||||
<Hds::Button
|
||||
@route='scopes.scope.policies.new'
|
||||
@text={{t 'resources.policy.titles.new'}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
{{#if @model}}
|
||||
<Hds::Table
|
||||
|
||||
@@ -10,18 +10,20 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.policy.titles.new'}}
|
||||
<DocLink @doc='storage-policy.new' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.policy.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.policy.titles.new'}}
|
||||
<DocLink @doc='storage-policy.new' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.policy.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -4,19 +4,23 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.policy.title'}}
|
||||
<DocLink @doc='storage-policy' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.policy.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @color='secondary' @textToCopy={{@model.id}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.policy.title'}}
|
||||
<DocLink @doc='storage-policy' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.policy.description'}}
|
||||
</PH.Description>
|
||||
<PH.Generic>
|
||||
<Hds::Copy::Snippet @color='secondary' @textToCopy={{@model.id}} />
|
||||
</PH.Generic>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
|
||||
@@ -5,33 +5,33 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.role.title_plural'}}
|
||||
<DocLink @doc='role' />
|
||||
</Hds::Text::Display>
|
||||
{{#if @model.doRolesExist}}
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.role.description'}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
{{#if (can 'create model' this.scope collection='roles')}}
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.role.title_plural'}}
|
||||
<DocLink @doc='role' />
|
||||
</PH.Title>
|
||||
{{#if @model.doRolesExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.roles.new'
|
||||
@text={{t 'resources.role.titles.new'}}
|
||||
data-test-new-role-button
|
||||
/>
|
||||
<PH.Description>
|
||||
{{t 'resources.role.description'}}
|
||||
</PH.Description>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
<PH.Actions>
|
||||
{{#if (can 'create model' this.scope collection='roles')}}
|
||||
{{#if @model.doRolesExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.roles.new'
|
||||
@text={{t 'resources.role.titles.new'}}
|
||||
data-test-new-role-button
|
||||
/>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body class='search-filtering'>
|
||||
{{#if @model.doRolesExist}}
|
||||
|
||||
@@ -10,18 +10,20 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.role.titles.new'}}
|
||||
<DocLink @doc='role' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.role.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.role.titles.new'}}
|
||||
<DocLink @doc='role' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.role.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -11,18 +11,19 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.role.principal.messages.add-principals.title'}}
|
||||
<DocLink @doc='role.add-principals' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.role.principal.messages.add-principals.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.role.principal.messages.add-principals.title'}}
|
||||
<DocLink @doc='role.add-principals' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.role.principal.messages.add-principals.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -11,25 +11,27 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.role.title'}}
|
||||
<DocLink @doc='role' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.role.grant.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.role.title'}}
|
||||
<DocLink @doc='role' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.role.grant.description'}}
|
||||
</PH.Description>
|
||||
<PH.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</PH.Generic>
|
||||
<PH.Actions>
|
||||
<Roles::Role::Actions @model={{@model}} @delete={{this.roles.delete}} />
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
<Roles::Role::Actions @model={{@model}} @delete={{this.roles.delete}} />
|
||||
</page.actions>
|
||||
|
||||
<page.navigation>
|
||||
<Roles::Role::Nav @model={{@model}} />
|
||||
</page.navigation>
|
||||
|
||||
@@ -5,18 +5,18 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Roles::Role::Header @model={{@model}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<Roles::Role::Header @model={{@model}} @header={{PH}} />
|
||||
<PH.Actions>
|
||||
<Roles::Role::Actions @model={{@model}} @delete={{this.roles.delete}} />
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
<Roles::Role::Actions @model={{@model}} @delete={{this.roles.delete}} />
|
||||
</page.actions>
|
||||
|
||||
<page.navigation>
|
||||
<Roles::Role::Nav @model={{@model}} />
|
||||
</page.navigation>
|
||||
|
||||
@@ -5,18 +5,19 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.role.scope.messages.manage-scopes.title'}}
|
||||
<DocLink @doc='role.add-grant-scopes' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.role.scope.messages.manage-scopes.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.role.scope.messages.manage-scopes.title'}}
|
||||
<DocLink @doc='role.add-grant-scopes' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.role.scope.messages.manage-scopes.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
+12
-11
@@ -11,18 +11,19 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.role.scope.messages.manage-custom-scopes.title'}}
|
||||
<DocLink @doc='role.add-grant-scopes' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.role.scope.messages.manage-custom-scopes.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.role.scope.messages.manage-custom-scopes.title'}}
|
||||
<DocLink @doc='role.add-grant-scopes' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.role.scope.messages.manage-custom-scopes.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body class='search-filtering'>
|
||||
|
||||
+15
-14
@@ -26,21 +26,22 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t
|
||||
'resources.role.scope.messages.manage-org-projects.title'
|
||||
orgDisplayName=@model.orgScope.displayName
|
||||
}}
|
||||
<DocLink @doc='role.add-grant-scopes' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.role.scope.messages.manage-org-projects.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t
|
||||
'resources.role.scope.messages.manage-org-projects.title'
|
||||
orgDisplayName=@model.orgScope.displayName
|
||||
}}
|
||||
<DocLink @doc='role.add-grant-scopes' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.role.scope.messages.manage-org-projects.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body class='search-filtering'>
|
||||
|
||||
@@ -11,28 +11,30 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.role.title'}}
|
||||
<DocLink @doc='role' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.role.principal.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.role.id}} @color='secondary' />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.role.title'}}
|
||||
<DocLink @doc='role' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.role.principal.description'}}
|
||||
</PH.Description>
|
||||
<PH.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.role.id}} @color='secondary' />
|
||||
</PH.Generic>
|
||||
<PH.Actions>
|
||||
<Roles::Role::Actions
|
||||
@model={{@model.role}}
|
||||
@delete={{this.roles.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
<Roles::Role::Actions
|
||||
@model={{@model.role}}
|
||||
@delete={{this.roles.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.navigation>
|
||||
<Roles::Role::Nav @model={{@model.role}} />
|
||||
</page.navigation>
|
||||
|
||||
@@ -11,34 +11,36 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.role.title'}}
|
||||
<DocLink @doc='role' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{#if @model.role.scope.isOrg}}
|
||||
{{t 'resources.role.scope.description.org'}}
|
||||
{{else if @model.role.scope.isProject}}
|
||||
{{t 'resources.role.scope.description.project'}}
|
||||
{{else}}
|
||||
{{t 'resources.role.scope.description.global'}}
|
||||
{{/if}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.role.id}} @color='secondary' />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.role.title'}}
|
||||
<DocLink @doc='role' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{#if @model.role.scope.isOrg}}
|
||||
{{t 'resources.role.scope.description.org'}}
|
||||
{{else if @model.role.scope.isProject}}
|
||||
{{t 'resources.role.scope.description.project'}}
|
||||
{{else}}
|
||||
{{t 'resources.role.scope.description.global'}}
|
||||
{{/if}}
|
||||
</PH.Description>
|
||||
<PH.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.role.id}} @color='secondary' />
|
||||
</PH.Generic>
|
||||
<PH.Actions>
|
||||
<Roles::Role::Actions
|
||||
@model={{@model.role}}
|
||||
@delete={{this.roles.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
<Roles::Role::Actions
|
||||
@model={{@model.role}}
|
||||
@delete={{this.roles.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.navigation>
|
||||
<Roles::Role::Nav @model={{@model.role}} />
|
||||
</page.navigation>
|
||||
|
||||
@@ -5,51 +5,46 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
{{#if @model.currentScope.isGlobal}}
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.org.title_plural'}}
|
||||
<DocLink @doc='org' />
|
||||
</Hds::Text::Display>
|
||||
{{#if @model.doScopesExist}}
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.org.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
{{#if (or @model.currentScope.isGlobal @model.currentScope.isOrg)}}
|
||||
{{#let
|
||||
(if @model.currentScope.isGlobal 'org' 'project')
|
||||
as |scopeType|
|
||||
}}
|
||||
<PH.Title>
|
||||
{{t (concat 'resources.' scopeType '.title_plural')}}
|
||||
<DocLink @doc={{scopeType}} />
|
||||
</PH.Title>
|
||||
{{#if @model.doScopesExist}}
|
||||
<PH.Description>
|
||||
{{t (concat 'resources.' scopeType '.description')}}
|
||||
</PH.Description>
|
||||
{{/if}}
|
||||
{{/let}}
|
||||
{{/if}}
|
||||
{{else if @model.currentScope.isOrg}}
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.project.title_plural'}}
|
||||
<DocLink @doc='project' />
|
||||
</Hds::Text::Display>
|
||||
{{#if @model.doScopesExist}}
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.project.description'}}
|
||||
</Hds::Text::Body>
|
||||
{{#if (can 'create model' @model.currentScope collection='scopes')}}
|
||||
<PH.Actions>
|
||||
{{#if @model.doScopesExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.scopes.new'
|
||||
@text={{t
|
||||
(if
|
||||
@model.currentScope.isGlobal
|
||||
'resources.org.titles.new'
|
||||
'resources.project.titles.new'
|
||||
)
|
||||
}}
|
||||
/>
|
||||
{{/if}}
|
||||
</PH.Actions>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
{{#if (can 'create model' @model.currentScope collection='scopes')}}
|
||||
{{#if @model.doScopesExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.scopes.new'
|
||||
@text={{t
|
||||
(if
|
||||
@model.currentScope.isGlobal
|
||||
'resources.org.titles.new'
|
||||
'resources.project.titles.new'
|
||||
)
|
||||
}}
|
||||
/>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
|
||||
<page.body class='search-filtering'>
|
||||
|
||||
{{#if @model.doScopesExist}}
|
||||
|
||||
@@ -18,28 +18,37 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
{{#if @model.isOrg}}
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.org.titles.new'}}
|
||||
<DocLink @doc='org.new' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.org.description'}}
|
||||
</Hds::Text::Body>
|
||||
{{else if @model.isProject}}
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.project.titles.new'}}
|
||||
<DocLink @doc='project.new' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.project.description'}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
{{#if @model.isOrg}}
|
||||
<PH.Title>
|
||||
{{t 'resources.org.titles.new'}}
|
||||
<DocLink @doc='org.new' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.org.description'}}
|
||||
</PH.Description>
|
||||
{{else if @model.isProject}}
|
||||
<PH.Title>
|
||||
{{t 'resources.project.titles.new'}}
|
||||
<DocLink @doc='project.new' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.project.description'}}
|
||||
</PH.Description>
|
||||
{{/if}}
|
||||
{{#if (can 'create model' @model.currentScope collection='scopes')}}
|
||||
<PH.Actions>
|
||||
<Hds::Button
|
||||
@route='scopes.scope.scopes.new'
|
||||
@text={{t 'actions.create'}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
{{/if}}
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -4,19 +4,20 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>{{t
|
||||
'resources.session-recording.title_plural'
|
||||
}}
|
||||
<DocLink @doc='session-recording' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.session-recording.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.session-recording.title_plural'}}
|
||||
<DocLink @doc='session-recording' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.session-recording.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body class='search-filtering'>
|
||||
|
||||
+19
-14
@@ -14,22 +14,27 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header class='channel-header'>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{reverse-indexed-display-name
|
||||
'resources.session-recording.channel.title_index'
|
||||
@model.channelRecording.connection_recording.channel_recordings
|
||||
@model.channelRecording
|
||||
}}
|
||||
</Hds::Text::Display>
|
||||
<Hds::Copy::Snippet
|
||||
@textToCopy={{@model.channelRecording.id}}
|
||||
@color='secondary'
|
||||
/>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{reverse-indexed-display-name
|
||||
'resources.session-recording.channel.title_index'
|
||||
@model.channelRecording.connection_recording.channel_recordings
|
||||
@model.channelRecording
|
||||
}}
|
||||
<DocLink @doc='session-recording' />
|
||||
</PH.Title>
|
||||
<PH.Generic>
|
||||
<Hds::Copy::Snippet
|
||||
@textToCopy={{@model.channelRecording.id}}
|
||||
@color='secondary'
|
||||
/>
|
||||
</PH.Generic>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
+33
-28
@@ -4,38 +4,43 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>{{t
|
||||
'resources.session-recording.session.title'
|
||||
}}</Hds::Text::Display>
|
||||
</page.header>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.session-recording.session.title'}}
|
||||
</PH.Title>
|
||||
<PH.Actions>
|
||||
{{#if
|
||||
(can 'reapplyStoragePolicy session-recording' @model.sessionRecording)
|
||||
}}
|
||||
<Hds::Dropdown data-test-manage-channels-dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'actions.manage'}} @color='secondary' />
|
||||
|
||||
<page.actions>
|
||||
{{#if
|
||||
(can 'reapplyStoragePolicy session-recording' @model.sessionRecording)
|
||||
}}
|
||||
<Hds::Dropdown data-test-manage-channels-dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'actions.manage'}} @color='secondary' />
|
||||
|
||||
<dd.Interactive
|
||||
{{on 'click' (fn this.reapplyStoragePolicy @model.sessionRecording)}}
|
||||
>{{t 'resources.policy.actions.update'}}</dd.Interactive>
|
||||
{{#if (can 'delete session-recording' @model.sessionRecording)}}
|
||||
<dd.Separator />
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.delete @model.sessionRecording)}}
|
||||
>
|
||||
{{t 'resources.policy.actions.delete_recording'}}
|
||||
</dd.Interactive>
|
||||
<dd.Interactive
|
||||
{{on
|
||||
'click'
|
||||
(fn this.reapplyStoragePolicy @model.sessionRecording)
|
||||
}}
|
||||
>{{t 'resources.policy.actions.update'}}</dd.Interactive>
|
||||
{{#if (can 'delete session-recording' @model.sessionRecording)}}
|
||||
<dd.Separator />
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.delete @model.sessionRecording)}}
|
||||
>
|
||||
{{t 'resources.policy.actions.delete_recording'}}
|
||||
</dd.Interactive>
|
||||
{{/if}}
|
||||
</Hds::Dropdown>
|
||||
{{/if}}
|
||||
</Hds::Dropdown>
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
<div class='channels-by-connection'>
|
||||
|
||||
@@ -5,18 +5,19 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.session.title_plural'}}
|
||||
<DocLink @doc='session' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.session.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.session.title_plural'}}
|
||||
<DocLink @doc='session' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.session.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body class='search-filtering'>
|
||||
|
||||
@@ -4,30 +4,28 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.storage-bucket.title_plural'}}
|
||||
<DocLink @doc='storage-bucket' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.storage-bucket.description'}}
|
||||
</Hds::Text::Body>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
{{#if (can 'create scope' this.scope collection='storage-buckets')}}
|
||||
{{#if @model}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.storage-buckets.new'
|
||||
@text={{t 'resources.storage-bucket.titles.new'}}
|
||||
/>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.storage-bucket.title_plural'}}
|
||||
<DocLink @doc='storage-bucket' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.storage-bucket.description'}}
|
||||
</PH.Description>
|
||||
{{#if (can 'create scope' this.scope collection='storage-buckets')}}
|
||||
<PH.Actions>
|
||||
<Hds::Button
|
||||
@route='scopes.scope.storage-buckets.new'
|
||||
@text={{t 'resources.storage-bucket.titles.new'}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
{{#if @model}}
|
||||
|
||||
@@ -10,15 +10,17 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.storage-bucket.titles.new'}}
|
||||
<DocLink @doc='storage-bucket.new' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.storage-bucket.titles.new'}}
|
||||
<DocLink @doc='storage-bucket.new' />
|
||||
</PH.Title>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -4,30 +4,33 @@
|
||||
}}
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.storage-bucket.title'}}
|
||||
<DocLink @doc='storage-bucket' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.storage-bucket.title'}}
|
||||
<DocLink @doc='storage-bucket' />
|
||||
</PH.Title>
|
||||
<PH.Generic>
|
||||
<Hds::Copy::Snippet @textToCopy={{@model.id}} @color='secondary' />
|
||||
</PH.Generic>
|
||||
{{#if (can 'delete storage-bucket' @model)}}
|
||||
<PH.Actions>
|
||||
<Hds::Dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'actions.manage'}} @color='secondary' />
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.storageBuckets.delete @model)}}
|
||||
>{{t 'actions.delete'}}</dd.Interactive>
|
||||
</Hds::Dropdown>
|
||||
</PH.Actions>
|
||||
{{/if}}
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
{{#if (can 'delete storage-bucket' @model)}}
|
||||
<page.actions>
|
||||
<Hds::Dropdown as |dd|>
|
||||
<dd.ToggleButton @text={{t 'actions.manage'}} @color='secondary' />
|
||||
<dd.Interactive
|
||||
@color='critical'
|
||||
{{on 'click' (fn this.storageBuckets.delete @model)}}
|
||||
>{{t 'actions.delete'}}</dd.Interactive>
|
||||
</Hds::Dropdown>
|
||||
</page.actions>
|
||||
{{/if}}
|
||||
|
||||
<page.navigation>
|
||||
<Rose::Nav::Tabs as |nav|>
|
||||
<nav.link @route='scopes.scope.storage-buckets.storage-bucket.index'>
|
||||
|
||||
@@ -4,33 +4,35 @@
|
||||
}}
|
||||
|
||||
<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.title_plural'}}
|
||||
<DocLink @doc='target' />
|
||||
</Hds::Text::Display>
|
||||
{{#if @model.doTargetsExist}}
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.target.description'}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.target.title_plural'}}
|
||||
<DocLink @doc='target' />
|
||||
</PH.Title>
|
||||
{{#if @model.doTargetsExist}}
|
||||
<PH.Description>
|
||||
{{t 'resources.target.description'}}
|
||||
</PH.Description>
|
||||
{{/if}}
|
||||
{{#if (can 'create model' this.scope collection='targets')}}
|
||||
<PH.Actions>
|
||||
{{#if @model.doTargetsExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.targets.new'
|
||||
@text={{t 'resources.target.titles.new'}}
|
||||
data-test-new-target-button
|
||||
/>
|
||||
{{/if}}
|
||||
</PH.Actions>
|
||||
{{/if}}
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
{{#if (can 'create model' this.scope collection='targets')}}
|
||||
{{#if @model.doTargetsExist}}
|
||||
<Hds::Button
|
||||
@route='scopes.scope.targets.new'
|
||||
@text={{t 'resources.target.titles.new'}}
|
||||
data-test-new-target-button
|
||||
/>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</page.actions>
|
||||
<page.body class='search-filtering'>
|
||||
{{#if @model.doTargetsExist}}
|
||||
<Hds::SegmentedGroup as |S|>
|
||||
|
||||
@@ -11,18 +11,19 @@
|
||||
|
||||
<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.titles.new'}}
|
||||
<DocLink @doc='target.new' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.target.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.target.titles.new'}}
|
||||
<DocLink @doc='target.new' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.target.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
<page.body>
|
||||
<Form::Target
|
||||
|
||||
+13
-12
@@ -11,19 +11,20 @@
|
||||
|
||||
<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>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.target.brokered-credential-source.messages.add.title'}}
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t
|
||||
'resources.target.brokered-credential-source.messages.add.description'
|
||||
}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
@@ -11,18 +11,19 @@
|
||||
|
||||
<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.host-source.messages.add.title'}}
|
||||
<DocLink @doc='target.add-host-sources' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.target.host-source.messages.add.description'}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.target.host-source.messages.add.title'}}
|
||||
<DocLink @doc='target.add-host-sources' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.target.host-source.messages.add.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
+15
-13
@@ -14,21 +14,23 @@
|
||||
/>
|
||||
|
||||
<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.injected-application-credential-source.messages.add.title'
|
||||
}}
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t
|
||||
'resources.target.injected-application-credential-source.messages.add.description'
|
||||
}}
|
||||
</Hds::Text::Body>
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t
|
||||
'resources.target.injected-application-credential-source.messages.add.title'
|
||||
}}
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t
|
||||
'resources.target.injected-application-credential-source.messages.add.description'
|
||||
}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.body>
|
||||
|
||||
+12
-12
@@ -11,25 +11,25 @@
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Targets::Target::Header @model={{@model}} />
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<Targets::Target::Header @model={{@model}} @header={{PH}} />
|
||||
<PH.Actions>
|
||||
<Targets::Target::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.targets.delete}}
|
||||
/>
|
||||
</PH.Actions>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
|
||||
<page.navigation>
|
||||
<Targets::Target::Nav @model={{@model}} />
|
||||
</page.navigation>
|
||||
|
||||
<page.actions>
|
||||
<Targets::Target::Actions
|
||||
@model={{@model}}
|
||||
@delete={{this.targets.delete}}
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
{{#if @model.brokeredCredentialSources}}
|
||||
|
||||
|
||||
@@ -10,19 +10,20 @@
|
||||
/>
|
||||
|
||||
<Rose::Layout::Page as |page|>
|
||||
<page.breadcrumbs>
|
||||
<Breadcrumbs::Container />
|
||||
</page.breadcrumbs>
|
||||
|
||||
<page.header>
|
||||
<Hds::Text::Display @tag='h2' @size='400' @weight='bold'>
|
||||
{{t 'resources.alias.titles.new'}}
|
||||
<DocLink @doc='alias' />
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body @tag='p' @size='300' class='p'>
|
||||
{{t 'resources.alias.description'}}
|
||||
</Hds::Text::Body>
|
||||
|
||||
<Hds::PageHeader as |PH|>
|
||||
<PH.Breadcrumb>
|
||||
<Breadcrumbs::Container />
|
||||
</PH.Breadcrumb>
|
||||
<PH.Title>
|
||||
{{t 'resources.alias.titles.new'}}
|
||||
<DocLink @doc='alias' />
|
||||
</PH.Title>
|
||||
<PH.Description>
|
||||
{{t 'resources.alias.description'}}
|
||||
</PH.Description>
|
||||
</Hds::PageHeader>
|
||||
</page.header>
|
||||
<page.body>
|
||||
<Form::Alias
|
||||
|
||||
Loaded 100 of 130 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user