open-nomad/ui/app/templates/components/job-page/system.hbs

28 lines
1,013 B
Handlebars
Raw Normal View History

<JobPage::Parts::Body @job={{job}}>
<JobPage::Parts::Error @errorMessage={{errorMessage}} @onDismiss={{action "clearErrorMessage"}} />
<JobPage::Parts::Title @job={{job}} @handleError={{action "handleError"}} />
<div class="boxed-section job-stats">
<div class="boxed-section-body">
<span data-test-job-stat="type"><strong>Type:</strong> {{job.type}} | </span>
<span data-test-job-stat="priority"><strong>Priority:</strong> {{job.priority}} </span>
{{#if (and job.namespace system.shouldShowNamespaces)}}
<span data-test-job-stat="namespace"> | <strong>Namespace:</strong> {{job.namespace.name}}</span>
{{/if}}
</div>
</div>
<JobPage::Parts::Summary @job={{job}} />
<JobPage::Parts::PlacementFailures @job={{job}} />
<JobPage::Parts::TaskGroups
@job={{job}}
@sortProperty={{sortProperty}}
@sortDescending={{sortDescending}}
@gotoTaskGroup={{gotoTaskGroup}} />
<JobPage::Parts::RecentAllocations @job={{job}} />
</JobPage::Parts::Body>