2022-01-03 16:37:57 +00:00
|
|
|
<td data-test-job-name>
|
|
|
|
<LinkTo
|
|
|
|
@route="jobs.job"
|
2022-01-14 15:11:22 +00:00
|
|
|
@model={{this.job}}
|
2022-01-03 16:37:57 +00:00
|
|
|
@query={{hash namespace=this.job.namespace.id}}
|
|
|
|
class="is-primary"
|
|
|
|
>
|
|
|
|
{{this.job.name}}
|
|
|
|
</LinkTo>
|
|
|
|
</td>
|
2021-04-29 20:00:59 +00:00
|
|
|
{{#if this.system.shouldShowNamespaces}}
|
2022-01-03 16:37:57 +00:00
|
|
|
<td data-test-job-namespace>
|
|
|
|
{{this.job.namespace.name}}
|
|
|
|
</td>
|
2021-04-29 20:00:59 +00:00
|
|
|
{{/if}}
|
2020-09-19 00:33:43 +00:00
|
|
|
{{#if (eq @context "child")}}
|
2022-01-03 16:37:57 +00:00
|
|
|
<td data-test-job-submit-time>
|
|
|
|
{{format-month-ts this.job.submitTime}}
|
|
|
|
</td>
|
2020-09-19 00:33:43 +00:00
|
|
|
{{/if}}
|
2018-01-05 20:59:36 +00:00
|
|
|
<td data-test-job-status>
|
2022-01-03 16:37:57 +00:00
|
|
|
<span class="tag {{this.job.statusClass}}">
|
|
|
|
{{this.job.status}}
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
<td data-test-job-type>
|
|
|
|
{{this.job.displayType}}
|
|
|
|
</td>
|
|
|
|
<td data-test-job-priority>
|
|
|
|
{{this.job.priority}}
|
2017-09-19 14:47:10 +00:00
|
|
|
</td>
|
2018-01-05 20:59:36 +00:00
|
|
|
<td data-test-job-task-groups>
|
2020-07-09 20:19:07 +00:00
|
|
|
{{#if this.job.taskGroupCount}}
|
|
|
|
{{this.job.taskGroupCount}}
|
2018-02-12 23:27:19 +00:00
|
|
|
{{else}}
|
|
|
|
--
|
2017-10-03 23:24:30 +00:00
|
|
|
{{/if}}
|
|
|
|
</td>
|
2018-01-05 20:59:36 +00:00
|
|
|
<td data-test-job-allocations>
|
2018-01-23 21:26:07 +00:00
|
|
|
<div class="inline-chart">
|
2020-07-09 20:19:07 +00:00
|
|
|
{{#if this.job.hasChildren}}
|
|
|
|
{{#if (gt this.job.totalChildren 0)}}
|
|
|
|
<ChildrenStatusBar @job={{this.job}} @isNarrow={{true}} />
|
2018-03-20 19:30:48 +00:00
|
|
|
{{else}}
|
2022-01-03 16:37:57 +00:00
|
|
|
<em class="is-faded">
|
|
|
|
No Children
|
|
|
|
</em>
|
2018-03-20 19:30:48 +00:00
|
|
|
{{/if}}
|
2018-01-23 21:26:07 +00:00
|
|
|
{{else}}
|
2022-01-14 15:11:22 +00:00
|
|
|
<AllocationStatusBar
|
|
|
|
@allocationContainer={{this.job}}
|
|
|
|
@isNarrow={{true}}
|
|
|
|
/>
|
2018-01-23 21:26:07 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-01-03 16:37:57 +00:00
|
|
|
</td>
|