diff --git a/assets/images/icons/state-errored-white.svg b/assets/images/icons/state-errored-white.svg new file mode 100644 index 00000000..37f854b5 --- /dev/null +++ b/assets/images/icons/state-errored-white.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/assets/images/icons/state-failed-white.svg b/assets/images/icons/state-failed-white.svg new file mode 100644 index 00000000..08c0e0fd --- /dev/null +++ b/assets/images/icons/state-failed-white.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/assets/images/icons/state-passed-white.svg b/assets/images/icons/state-passed-white.svg new file mode 100644 index 00000000..b89db066 --- /dev/null +++ b/assets/images/icons/state-passed-white.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/assets/scripts/app/templates/builds/show.hbs b/assets/scripts/app/templates/builds/show.hbs index eadc1042..622a5996 100644 --- a/assets/scripts/app/templates/builds/show.hbs +++ b/assets/scripts/app/templates/builds/show.hbs @@ -4,16 +4,35 @@
+ {{#link-to "build" repo build}}#{{build.number}} {{build.state}}{{/link-to}}
+ {{#if build.isFinished}}ran{{else}}running{{/if}} for {{formatDuration build.duration}}
+ {{formatTime build.finishedAt}}
+ + +
+ {{#if build.pullRequest}} + + + {{else}} + {{#if build.commit.compareUrl}} + + + {{/if}} + {{/if}} +
@@ -39,17 +58,6 @@ {{/if}} {{/unless}}
- -
- - {{#if build.pullRequest}} - - {{else}} - {{#if build.commit.compareUrl}} - - {{/if}} - {{/if}} -
@@ -63,4 +71,4 @@ {{else}} {{view Travis.LogView jobBinding="build.jobs.firstObject"}} {{/if}} -{{/if}} +{{/if}} \ No newline at end of file diff --git a/assets/styles/main/summary.sass b/assets/styles/main/summary.sass index 5d111d66..52876851 100644 --- a/assets/styles/main/summary.sass +++ b/assets/styles/main/summary.sass @@ -53,13 +53,8 @@ .build-status @include border-radius(4px) - float: right - min-height: 30px - min-width: 90px color: white - padding-top: 5px - padding-left: 10px - padding-right: 10px + padding: 8px 0 font-size: 16px text-align: center @@ -71,16 +66,39 @@ font-size: 13px display: block width: 100% - text-align: right - line-height: 15px + text-align: left + line-height: 25px margin-top: 5px + img + height: 13px + width: 13px + .finished float: right font-size: 13px width: 100% - text-align: right - line-height: 20px + text-align: left + line-height: 25px + + img + height: 13px + width: 13px + + .commit-changes + text-align: left + width: inherit + margin-top: 0px + float: right + + img + margin-right: 2px + height: 13px + width: 13px + + div + display: inline + clear: none .right margin-top: 10px @@ -101,22 +119,6 @@ position: relative top: 2px - .commit-changes - text-align: right - width: inherit - margin-top: 0px - float: right - - div - display: inline - clear: none - - img - margin-right: 2px - margin-left: 4px - height: 16px - width: 16px - .author float: left