github.com/emate/nomad@v0.8.2-wo-binpacking/ui/app/templates/components/job-page/parts/running-deployment.hbs (about) 1 {{#if job.runningDeployment}} 2 <div class="boxed-section is-info" data-test-active-deployment> 3 <div class="boxed-section-head"> 4 <div class="boxed-section-row"> 5 Active Deployment 6 <span class="badge is-white is-subtle bumper-left" data-test-active-deployment-stat="id">{{job.runningDeployment.shortId}}</span> 7 {{#if job.runningDeployment.version.submitTime}} 8 <span class="pull-right submit-time" data-test-active-deployment-stat="submit-time">{{moment-from-now job.runningDeployment.version.submitTime}}</span> 9 {{/if}} 10 </div> 11 <div class="boxed-section-row"> 12 <span class="tag is-info is-outlined">Running</span> 13 {{#if job.runningDeployment.requiresPromotion}} 14 <span class="tag bumper-left is-warning no-text-transform">Deployment is running but requires promotion</span> 15 {{/if}} 16 </div> 17 </div> 18 <div class="boxed-section-body with-foot"> 19 {{#job-deployment-details deployment=job.runningDeployment as |d|}} 20 {{d.metrics}} 21 {{#if isShowingDeploymentDetails}} 22 {{d.taskGroups}} 23 {{d.allocations}} 24 {{/if}} 25 {{/job-deployment-details}} 26 </div> 27 <div class="boxed-section-foot"> 28 <a class="pull-right" {{action (toggle "isShowingDeploymentDetails" this)}} data-test-deployment-toggle-details> 29 {{if isShowingDeploymentDetails "Hide" "Show"}} deployment task groups and allocations 30 </a> 31 </div> 32 </div> 33 {{/if}}