* [COMPLIANCE] Add Copyright and License Headers * chore: 🤖 update Copyright headers to satisfy our lint rules --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
54 lines
1.2 KiB
Handlebars
54 lines
1.2 KiB
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: MPL-2.0
|
|
}}
|
|
|
|
{{page-title @model.target.displayName}}
|
|
|
|
<Rose::Layout::Page as |page|>
|
|
|
|
<page.header>
|
|
<h2>
|
|
{{@model.displayName}}
|
|
{{#if @model.isActive}}
|
|
|
|
<Hds::Badge @color='success' @text={{t 'states.active'}} />
|
|
{{/if}}
|
|
</h2>
|
|
<p>{{@model.description}}</p>
|
|
<p>
|
|
<Copyable
|
|
@text={{@model.id}}
|
|
@buttonText={{t 'actions.copy-to-clipboard'}}
|
|
@acknowledgeText={{t 'states.copied'}}
|
|
>
|
|
<code>{{@model.id}}</code>
|
|
</Copyable>
|
|
</p>
|
|
</page.header>
|
|
|
|
<page.actions>
|
|
<Rose::Button
|
|
@style='primary'
|
|
{{on 'click' (route-action 'connect' @model)}}
|
|
>
|
|
{{t 'resources.session.actions.connect'}}
|
|
</Rose::Button>
|
|
</page.actions>
|
|
|
|
<page.navigation>
|
|
<Rose::Nav::Tabs as |nav|>
|
|
<nav.link @route='scopes.scope.projects.targets.target.sessions'>
|
|
{{t 'resources.session.active_plural'}}
|
|
</nav.link>
|
|
<nav.link @route='scopes.scope.projects.targets.target.hosts'>
|
|
{{t 'resources.host.title_plural'}}
|
|
</nav.link>
|
|
</Rose::Nav::Tabs>
|
|
</page.navigation>
|
|
|
|
<page.body>
|
|
{{outlet}}
|
|
</page.body>
|
|
|
|
</Rose::Layout::Page> |