{{#global-header class="page-header"}} Jobs {{/global-header}} {{#gutter-menu class="page-body" onNamespaceChange=(action "refresh")}}
{{#if isForbidden}} {{partial "partials/forbidden-message"}} {{else}} {{#if filteredJobs.length}}
{{search-box searchTerm=(mut searchTerm) placeholder="Search jobs..."}}
{{/if}} {{#list-pagination source=sortedJobs size=pageSize page=currentPage as |p|}} {{#list-table source=p.list sortProperty=sortProperty sortDescending=sortDescending class="with-foot" as |t|}} {{#t.head}} {{#t.sort-by prop="name"}}Name{{/t.sort-by}} {{#t.sort-by prop="status"}}Status{{/t.sort-by}} {{#t.sort-by prop="type"}}Type{{/t.sort-by}} {{#t.sort-by prop="priority"}}Priority{{/t.sort-by}} Groups Allocation Status {{/t.head}} {{#t.body key="model.id" as |row|}} {{job-row job=row.model onClick=(action "gotoJob" row.model)}} {{/t.body}} {{/list-table}}
{{else}}
{{#if (eq filteredJobs.length 0)}}

No Jobs

The cluster is currently empty.

{{else if searchTerm}}

No Matches

No jobs match the term {{searchTerm}}

{{/if}}
{{/list-pagination}} {{/if}}
{{/gutter-menu}}