github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/templates/jobs/job/services/index.hbs (about)

     1  <section class="section service-list">
     2  	{{#if this.sortedServices.length}}
     3  		<ListTable
     4  			@source={{this.sortedServices}}
     5  			@sortProperty={{this.sortProperty}}
     6  			@sortDescending={{this.sortDescending}}
     7  			as |t|
     8  		>
     9  			<t.head>
    10  				<t.sort-by @prop="name">Name</t.sort-by>
    11  				<t.sort-by @prop="level">Level</t.sort-by>
    12  				<th>Tags</th>
    13  				<t.sort-by @prop="numAllocs">Number of Alocations</t.sort-by>
    14  			</t.head>
    15  			<t.body as |row|>
    16  				<JobServiceRow
    17  					{{keyboard-shortcut 
    18  						enumerated=true
    19  						action=(action "gotoService" row.model)
    20  					}}
    21  					@service={{row.model}}
    22  				/>
    23  			</t.body>
    24  		</ListTable>
    25  	{{else}}
    26  		<div class="boxed-section-body">
    27  			<div class="empty-message" data-test-empty-services-list>
    28  				<h3 class="empty-message-headline" data-test-empty-services-list-headline>
    29  					No Services
    30  				</h3>
    31  				<p class="empty-message-body">
    32  					No services running on {{this.job.name}}.
    33  				</p>
    34  			</div>
    35  		</div>
    36  	{{/if}}
    37  </section>