github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/templates/jobs/job/services/service.hbs (about) 1 <section class="section service-list"> 2 <h1 class="title"> 3 <LinkTo class="back-link" @route="jobs.job.services"> 4 <FlightIcon @name="chevron-left" @title="Back to services" @size="24" /> 5 </LinkTo> 6 {{this.model.name}} 7 </h1> 8 9 <ListTable @source={{this.model.instances}} as |t|> 10 <t.head> 11 <th>Allocation</th> 12 <th>Client</th> 13 <th>IP Address & Port</th> 14 </t.head> 15 <t.body as |row|> 16 <tr data-test-service-row> 17 {{#let (format-id row.model "allocation") as |allocation|}} 18 <td 19 {{keyboard-shortcut 20 enumerated=true 21 action=(action "gotoAllocation" row.model.allocation) 22 }} 23 > 24 <LinkTo 25 @route="allocations.allocation" 26 @model={{allocation.id}} 27 >{{allocation.shortId}}</LinkTo> 28 </td> 29 {{/let}} 30 {{#let (async-escape-hatch row.model "node") as |node|}} 31 <td> 32 <Tooltip @text={{node.name}}> 33 <LinkTo 34 @route="clients.client" 35 @model={{node.id}} 36 >{{node.shortId}}</LinkTo> 37 </Tooltip> 38 </td> 39 {{/let}} 40 <td> 41 {{row.model.address}}:{{row.model.port}} 42 </td> 43 </tr> 44 </t.body> 45 </ListTable> 46 </section>