From ae00085f88b587ca6254e7d60354b24b59dad8a2 Mon Sep 17 00:00:00 2001 From: Justine Arreche Date: Mon, 8 Dec 2014 21:39:38 +0100 Subject: [PATCH] added pull request and push icons and pushed author to baseline of new-summary div --- assets/images/icons/pull-request.svg | 15 +++++++++++ assets/images/icons/push.svg | 11 ++++++++ assets/scripts/app/templates/builds/show.hbs | 5 ++++ assets/styles/main/log.sass | 1 + assets/styles/main/summary.sass | 27 +++++++++++++++++--- 5 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 assets/images/icons/pull-request.svg create mode 100644 assets/images/icons/push.svg diff --git a/assets/images/icons/pull-request.svg b/assets/images/icons/pull-request.svg new file mode 100644 index 00000000..dae09224 --- /dev/null +++ b/assets/images/icons/pull-request.svg @@ -0,0 +1,15 @@ + + + + + + + diff --git a/assets/images/icons/push.svg b/assets/images/icons/push.svg new file mode 100644 index 00000000..1d6f4b1d --- /dev/null +++ b/assets/images/icons/push.svg @@ -0,0 +1,11 @@ + + + + + + diff --git a/assets/scripts/app/templates/builds/show.hbs b/assets/scripts/app/templates/builds/show.hbs index d9ba5756..02d33aba 100644 --- a/assets/scripts/app/templates/builds/show.hbs +++ b/assets/scripts/app/templates/builds/show.hbs @@ -2,6 +2,11 @@ Loading {{else}}
+
+
+ +
+
{{#link-to "build" repo build}}#{{build.number}} {{build.state}}{{/link-to}} diff --git a/assets/styles/main/log.sass b/assets/styles/main/log.sass index 8f310425..1694d326 100644 --- a/assets/styles/main/log.sass +++ b/assets/styles/main/log.sass @@ -102,6 +102,7 @@ pre#log #log-container position: relative + margin-top: 20px #log-container #tail diff --git a/assets/styles/main/summary.sass b/assets/styles/main/summary.sass index f89deb78..bb9565ad 100644 --- a/assets/styles/main/summary.sass +++ b/assets/styles/main/summary.sass @@ -24,9 +24,8 @@ @include clearfix @include border-radius(4px) background-color: #fafafa - padding: 2px 11px - margin-bottom: 20px - padding-bottom: 10px + padding: 0 11px 0 0 + position: relative .branch font-weight: bold @@ -49,12 +48,15 @@ .body min-width: 500px + max-height: 63px display: block font-size: 12px font-family: Monaco, 'Liberation Mono', Courier, monospace margin-bottom: 0px margin-top: 10px - white-space: pre-wrap + text-overflow: ellipsis + white-space: nowrap + overflow: hidden a text-decoration: underline @@ -142,6 +144,20 @@ width: 220px font-size: 11px + .request-kind + background-color: #e8e9ea + opacity: 0.6 + float: left + position: relative + display: block + width: 40px + height: 145px + margin-right: 10px + + .kind-icon + padding-top: 13px + padding-left: 9px + .footer a color: #818181 @@ -160,6 +176,9 @@ .author float: left margin-top: 10px + position: absolute + bottom: 7px + left: 65px div display: inline