2022-08-26 03:22:55 +00:00
|
|
|
<section class="section service-list">
|
2022-12-01 15:45:31 +00:00
|
|
|
<h1 class="title">
|
|
|
|
<LinkTo class="back-link" @route="jobs.job.services">
|
|
|
|
<FlightIcon @name="chevron-left" @title="Back to services" @size="24" />
|
|
|
|
</LinkTo>
|
|
|
|
{{this.model.name}}
|
|
|
|
</h1>
|
2022-08-26 03:22:55 +00:00
|
|
|
|
2022-12-01 15:45:31 +00:00
|
|
|
<ListTable @source={{this.model.instances}} as |t|>
|
|
|
|
<t.head>
|
|
|
|
<th>Allocation</th>
|
2022-09-19 21:05:21 +00:00
|
|
|
<th>Client</th>
|
2022-12-01 15:45:31 +00:00
|
|
|
<th>IP Address & Port</th>
|
|
|
|
</t.head>
|
|
|
|
<t.body as |row|>
|
|
|
|
<tr data-test-service-row>
|
|
|
|
{{#let (format-id row.model "allocation") as |allocation|}}
|
|
|
|
<td
|
|
|
|
{{keyboard-shortcut
|
|
|
|
enumerated=true
|
|
|
|
action=(action "gotoAllocation" row.model.allocation)
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<LinkTo
|
|
|
|
@route="allocations.allocation"
|
|
|
|
@model={{allocation.id}}
|
|
|
|
>{{allocation.shortId}}</LinkTo>
|
|
|
|
</td>
|
|
|
|
{{/let}}
|
|
|
|
{{#let (async-escape-hatch row.model "node") as |node|}}
|
|
|
|
<td>
|
|
|
|
<Tooltip @text={{node.name}}>
|
|
|
|
<LinkTo
|
|
|
|
@route="clients.client"
|
|
|
|
@model={{node.id}}
|
|
|
|
>{{node.shortId}}</LinkTo>
|
|
|
|
</Tooltip>
|
|
|
|
</td>
|
|
|
|
{{/let}}
|
2022-09-19 21:05:21 +00:00
|
|
|
<td>
|
2022-12-01 15:45:31 +00:00
|
|
|
{{row.model.address}}:{{row.model.port}}
|
2022-09-19 21:05:21 +00:00
|
|
|
</td>
|
2022-12-01 15:45:31 +00:00
|
|
|
</tr>
|
|
|
|
</t.body>
|
|
|
|
</ListTable>
|
2022-08-26 03:22:55 +00:00
|
|
|
</section>
|