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