From a9c39ceab6c5d9cfe73e64356f6036c57c5e4648 Mon Sep 17 00:00:00 2001 From: Lisa P Date: Wed, 7 Oct 2015 15:28:06 +0200 Subject: [PATCH] update icons for running builds in sidebar --- app/styles/app/layouts/sidebar.sass | 1 - app/templates/components/queued-jobs.hbs | 30 +++++++++++++--- app/templates/components/running-jobs.hbs | 43 ++++++++++++++++++----- 3 files changed, 60 insertions(+), 14 deletions(-) diff --git a/app/styles/app/layouts/sidebar.sass b/app/styles/app/layouts/sidebar.sass index 1b77a76e..1e133d45 100644 --- a/app/styles/app/layouts/sidebar.sass +++ b/app/styles/app/layouts/sidebar.sass @@ -38,7 +38,6 @@ $sb-font-size: 14px .icon width: 1.3em height: 1.4em - margin-right: .1em .tabnav--sidebar font-size: $sb-font-size diff --git a/app/templates/components/queued-jobs.hbs b/app/templates/components/queued-jobs.hbs index 27b545e3..b4d4bf10 100644 --- a/app/templates/components/queued-jobs.hbs +++ b/app/templates/components/queued-jobs.hbs @@ -3,19 +3,41 @@ {{#each jobs as |job|}}
{{#if job.repo.slug}} - + {{status-icon status=job.state}} {{#link-to "job" job.repo job}}{{job.repo.slug}}{{/link-to}} {{/if}}

- + + + + + {{#if job.repo.slug}} - {{#link-to "job" job.repo job}}{{job.number}}{{/link-to}} + {{#link-to "job" job.repo job}}{{job.number}}{{/link-to}} {{/if}}

- Queued + + + + + + + + + Queued

diff --git a/app/templates/components/running-jobs.hbs b/app/templates/components/running-jobs.hbs index a1a45fc2..96f7feaf 100644 --- a/app/templates/components/running-jobs.hbs +++ b/app/templates/components/running-jobs.hbs @@ -3,23 +3,48 @@ {{#each jobs as |job| }}
{{#if job.repo.slug}} - - {{#link-to "job" job.repo job}}{{job.repo.slug}}{{/link-to}} + {{status-icon status=job.state}} + {{#link-to "job" job.repo job}} + {{job.repo.slug}} + {{/link-to}} {{/if}}

- + + + + + {{#if job.repo.slug}} - {{#link-to "job" job.repo job}}{{job.number}}{{/link-to}} + {{#link-to "job" job.repo job}}{{job.number}}{{/link-to}} {{/if}}

- - Duration: - - {{format-duration job.duration}} - + + + + + + + + + + Duration: + + {{format-duration job.duration}} + +