* refactor: 💡 update _typography stylesheet ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 update header margin styles into single rule ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 add remove-header-margin class ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 remove 'header' class ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * test: 💍 fix failing tests for branded-card in desktop ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 update style rule to use :where() ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 rename remove-header-margin to remove-margin ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937 * refactor: 💡 update style comment ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11937
38 lines
931 B
Handlebars
38 lines
931 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
}}
|
|
|
|
{{page-title @model.displayName}}
|
|
|
|
<Rose::Layout::Page as |page|>
|
|
|
|
<page.header class='session-details-info'>
|
|
<Hds::IconTile @color='boundary' @icon='terminal' />
|
|
<Hds::Text::Display @tag='h1' @size='500' class='remove-margin'>
|
|
{{@model.displayName}}
|
|
</Hds::Text::Display>
|
|
<Hds::Badge
|
|
@text={{time-remaining @model.expiration_time}}
|
|
@icon='loading'
|
|
/>
|
|
</page.header>
|
|
|
|
<page.actions>
|
|
{{#if (can 'cancel session' @model)}}
|
|
<Hds::Button
|
|
data-test-session-detail-cancel-button
|
|
@text={{t 'resources.session.actions.end'}}
|
|
@icon='x'
|
|
@color='secondary'
|
|
{{on 'click' (fn this.sessions.cancelSession @model)}}
|
|
/>
|
|
{{/if}}
|
|
|
|
</page.actions>
|
|
|
|
<page.body class='details-screen-body'>
|
|
<Session::Tabs @model={{@model}} />
|
|
</page.body>
|
|
|
|
</Rose::Layout::Page> |