
start row layouting work on dropup rearrange markup, make tofu toggle bäm use placeholder instead of variable, doh add border replace all the icons adjust icons sizes use icon classes instead of svg more icons adjustments more icon tweaks on caches update coloring mixins fix stateMap, update db coloring mixin cleanup owner page even more icon fun popup tweaks tweak api icon change to new broadcast icon change icon path responsive tweaks dashboard filter hack around Safari's not quite standard flexbox behaviour update row labels and icon spacing rearrange links in sidebar make last builds a component, tweak svg stroke-width more icon tweaks fiddle around with svg view props rearrange links in branch-row tweak request icon add integration test more tweaks
39 lines
1.1 KiB
Handlebars
39 lines
1.1 KiB
Handlebars
{{#if jobs.isLoaded}}
|
|
{{#if jobs.length}}
|
|
{{#each jobs as |job| }}
|
|
<div class="tile tile--sidebar {{job.state}}">
|
|
{{#if job.repo.slug}}
|
|
{{status-icon status=job.state}}
|
|
{{#link-to "job" job.repo job}}
|
|
<span class="label-align">{{job.repo.slug}}</span>
|
|
{{/link-to}}
|
|
{{/if}}
|
|
|
|
<p class="tile-title float-right">
|
|
<span class="icon-hash">
|
|
</span>
|
|
{{#if job.repo.slug}}
|
|
{{#link-to "job" job.repo job}}<span class="label-align">{{job.number}}</span>{{/link-to}}
|
|
{{/if}}
|
|
</p>
|
|
|
|
<p>
|
|
<span class="icon-clock">
|
|
</span>
|
|
<span class="label-align">
|
|
Duration:
|
|
<time class="duration" datetime={{job.startedAt}} title={{job.startedAt}}>
|
|
{{format-duration job.duration}}
|
|
</time>
|
|
</span>
|
|
</p>
|
|
|
|
</div>
|
|
{{/each}}
|
|
{{else}}
|
|
<div class="loading-container">There are no jobs running</div>
|
|
{{/if}}
|
|
{{else}}
|
|
{{loading-indicator center="true"}}
|
|
{{/if}}
|