Merge pull request #881 from hashicorp/feature-add-targets-hosts-list-table-header

feat: 🎸 Add table header for hosts list within targets
This commit is contained in:
Carlos Alcaide Corvo authored and GitHub committed 2021-12-15 11:50:57 -06:00
commit af749b57bc
1 file changed
+8 -5
@@ -3,6 +3,14 @@
{{#if @model.hosts}}
<Rose::Table as |table|>
<table.header as |header|>
<header.row as |row|>
<row.headerCell>{{t 'form.name.label'}}</row.headerCell>
<row.headerCell>{{t 'form.id.label'}}</row.headerCell>
<row.headerCell>{{t 'form.address.label'}}</row.headerCell>
<row.headerCell />
</header.row>
</table.header>
<table.body as |body|>
{{#each @model.hosts as |host|}}
<body.row as |row|>
@@ -20,11 +28,6 @@
</Copyable>
</row.cell>
<row.cell>{{host.attributes.address}}</row.cell>
<row.cell>
<Rose::Badge>{{t
(concat 'resources.host.types.' host.type)
}}</Rose::Badge>
</row.cell>
<row.cell>
<Rose::Button
@style='secondary'