mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Merge pull request #5714 from hashicorp/b-empty-clients-jobs-facets-alignment
Change clients/jobs facets to always right-align
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
{{partial "partials/forbidden-message"}}
|
||||
{{else}}
|
||||
<div class="toolbar">
|
||||
{{#if nodes.length}}
|
||||
<div class="toolbar-item">
|
||||
<div class="toolbar-item">
|
||||
{{#if nodes.length}}
|
||||
{{search-box
|
||||
searchTerm=(mut searchTerm)
|
||||
onChange=(action resetPagination)
|
||||
placeholder="Search clients..."}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="toolbar-item is-right-aligned is-mobile-full-width">
|
||||
<div class="button-bar">
|
||||
{{multi-select-dropdown
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
{{partial "partials/forbidden-message"}}
|
||||
{{else}}
|
||||
<div class="toolbar">
|
||||
{{#if visibleJobs.length}}
|
||||
<div class="toolbar-item">
|
||||
<div class="toolbar-item">
|
||||
{{#if visibleJobs.length}}
|
||||
{{search-box
|
||||
data-test-jobs-search
|
||||
searchTerm=(mut searchTerm)
|
||||
onChange=(action resetPagination)
|
||||
placeholder="Search jobs..."}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if (media "isMobile")}}
|
||||
<div class="toolbar-item is-right-aligned">
|
||||
{{#link-to "jobs.run" data-test-run-job class="button is-primary"}}Run Job{{/link-to}}
|
||||
|
||||
Reference in New Issue
Block a user