open-nomad/ui/app/templates/jobs/job/versions.hbs

20 lines
817 B
Handlebars
Raw Normal View History

{{page-title "Job " this.job.name " versions"}}
<JobSubnav @job={{this.job}} />
2018-07-25 22:19:43 +00:00
<section class="section">
{{#if this.error}}
<div data-test-inline-error class="notification {{this.errorLevelClass}}">
<div class="columns">
<div class="column">
<h3 data-test-inline-error-title class="title is-4">{{this.error.title}}</h3>
<p data-test-inline-error-body>{{this.error.description}}</p>
</div>
<div class="column is-centered is-minimum">
<button data-test-inline-error-close class="button {{this.errorLevelClass}}" onclick={{action this.onDismiss}} type="button">Okay</button>
</div>
</div>
</div>
{{/if}}
<JobVersionsStream @versions={{this.model.versions}} @verbose={{true}} @handleError={{action this.handleError}} />
2018-07-25 22:19:43 +00:00
</section>