1 parent
1b1e002581
commit
f83d214524
2 files changed
+17
-17
No files matched your search
@@ -505,3 +505,12 @@ $chevron-down: url("data:image/svg+xml;utf-8,<svg viewBox='0 0 24 24' fill='%231
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.target-details-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
> * {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
}
|
||||
@@ -8,28 +8,19 @@
|
||||
<Rose::Layout::Page as |page|>
|
||||
|
||||
<page.header>
|
||||
<h2>
|
||||
<h1 class='target-details-header'>
|
||||
<Hds::IconTile @color='boundary' @icon='target' />
|
||||
{{@model.displayName}}
|
||||
</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>
|
||||
</h1>
|
||||
</page.header>
|
||||
|
||||
<page.actions>
|
||||
<Rose::Button
|
||||
@style='primary'
|
||||
<Hds::Button
|
||||
@text={{t 'resources.session.actions.connect'}}
|
||||
@icon='entry-point'
|
||||
@iconPosition='trailing'
|
||||
{{on 'click' (route-action 'connect' @model)}}
|
||||
>
|
||||
{{t 'resources.session.actions.connect'}}
|
||||
</Rose::Button>
|
||||
/>
|
||||
</page.actions>
|
||||
|
||||
<page.body>
|
||||
|
||||
Reference in new issue
Block a user