Merge branch 'master' into job-matrix

This commit is contained in:
Lisa Passing 2015-03-12 16:16:08 +01:00
commit af364e044c
5 changed files with 46 additions and 18 deletions

View File

@ -56,6 +56,7 @@
margin-top: 2em margin-top: 2em
.repo-main-commit .repo-main-commit
position: relative
&, &,
small small
margin: 0 margin: 0
@ -66,12 +67,19 @@
small small
margin-right: .3em margin-right: .3em
font-weight: 600 font-weight: 600
@media #{$medium-up}
white-space: nowrap
overflow: hidden
&:after
@include fadeOut(right, -90deg, $cream-light)
.repo-main-description .repo-main-description
p
margin: .5em 0 0
@media #{$medium-up} @media #{$medium-up}
position: relative position: relative
max-height: 4.9em height: 4.9em
overflow: hidden overflow: hidden
&:after &:after
@include fadeOut(bottom, 0deg, $cream-light) @include fadeOut(bottom, 0deg, $cream-light)
@ -101,6 +109,8 @@
white-space: nowrap white-space: nowrap
&:hover &:hover
text-decoration: underline text-decoration: underline
li
white-space: nowrap
.repo-main-tools .repo-main-tools
position: absolute position: absolute

View File

@ -52,7 +52,6 @@
.travis-switch .travis-switch
display: block display: block
margin-top: 4px
label label
display: inline-block display: inline-block
@ -222,16 +221,15 @@
float: left float: left
padding-bottom: 0 padding-bottom: 0
min-height: 33px min-height: 33px
line-height: 33px line-height: 2
span.equals span.equals
float: left float: left
display: block display: block
line-height: 33px line-height: 2
margin: 0 10px 0 14px margin: 0 10px 0 14px
.field.name .field.name
width: 242px
margin-bottom: 10px margin-bottom: 10px
input input
width: 97% width: 97%
@ -241,6 +239,7 @@
width: 97% width: 97%
.actions .actions
margin-bottom: 10px margin-bottom: 10px
clear: both
ul.env-vars ul.env-vars
display: block display: block
@ -279,7 +278,6 @@
.name .name
width: 250px width: 250px
margin: 0 10px 0 20px
text-align: left text-align: left
.value .value
@ -294,3 +292,15 @@
.value, .value,
.name .name
display: inline-block display: inline-block
vertical-align: middle
.field--switch
display: inline-block
vertical-align: middle
label.public
width: auto
line-height: 1.8
.value--extra
padding: 0 !important
width: 250px !important

View File

@ -1,7 +1,7 @@
{{#if loading}} {{#if loading}}
<span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span> <span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span>
{{else}} {{else}}
<section {{bind-attr class=":tile :tile--pass :row build.state"}} {{!-- id="new-summary" --}}> <section {{bind-attr class=":tile :tile--pass :row build.state"}}>
<div class="tile-status"> <div class="tile-status">
<span {{bind-attr class=":icon :icon-status build.state"}}></span> <span {{bind-attr class=":icon :icon-status build.state"}}></span>
<span {{bind-attr class=":request-kind build.eventType :icon"}}></span> <span {{bind-attr class=":request-kind build.eventType :icon"}}></span>
@ -9,10 +9,16 @@
<div class="tile-main medium-8 columns"> <div class="tile-main medium-8 columns">
<h2 class="repo-main-commit"> <h2 class="repo-main-commit">
{{#if build.pullRequest}}
<small class="repo-main-branch" {{bind-attr title="build.pullRequestTitle"}}>Pull Request #{{build.pullRequestNumber}}</small>
{{build.pullRequestTitle}}
{{else}}
<small class="repo-main-branch" {{bind-attr title="build.commit.branch"}}>{{build.commit.branch}}</small> <small class="repo-main-branch" {{bind-attr title="build.commit.branch"}}>{{build.commit.branch}}</small>
{{format-message build.commit.subject repoBinding=build.repo}} {{format-message build.commit.subject repoBinding=build.repo}}
{{/if}}
</h2> </h2>
<div class="repo-main-description"> <div class="repo-main-description">
<p>{{format-message build.commit.subject repoBinding=build.repo}}</p>
<pre class="body">{{format-message build.commit.body repoBinding=build.repo pre=true}}</pre> <pre class="body">{{format-message build.commit.body repoBinding=build.repo pre=true}}</pre>
</div> </div>
<div class="tile-author"> <div class="tile-author">

View File

@ -10,14 +10,15 @@
<h2> <h2>
{{#if isPullRequestsList}} {{#if isPullRequestsList}}
<small>PR #{{build.pullRequestNumber}}</small> <small>PR #{{build.pullRequestNumber}}</small>
{{#link-to "build" build.repo build}}
{{{format-message build.pullRequestTitle short="true" repoBinding=build.repo}}}
{{/link-to}}
{{else}} {{else}}
{{!-- <a {{bind-attr href="build.urlGithubPullRequest"}}> --}} <small>{{build.commit.branch}}</small>
<small>{{build.commit.branch}}</small> {{#link-to "build" build.repo build}}
{{!-- </a> --}} {{{format-message build.commit.message short="true" repoBinding=build.repo}}}
{{/link-to}}
{{/if}} {{/if}}
{{#link-to "build" build.repo build}}
{{{format-message build.commit.message short="true" repoBinding=build.repo}}}
{{/link-to}}
</h2> </h2>
<p class="tile-author"><img {{bind-attr src="build.urlAuthorGravatarImage"}} alt="">{{build.commit.committerName}} commited</p> <p class="tile-author"><img {{bind-attr src="build.urlAuthorGravatarImage"}} alt="">{{build.commit.committerName}} commited</p>
</div> </div>

View File

@ -5,16 +5,17 @@
{{/travis-field}} {{/travis-field}}
<span class="equals">=</span> <span class="equals">=</span>
{{#if showValueField}} {{#if showValueField}}
<div class="field value"> <div class="field value value--extra">
{{#label for="value" class="value"}}Value:{{/label}} {{#label for="value" class="value"}}Value:{{/label}}
{{input value=value class="env-value" placeholder="Value"}} {{input value=value class="env-value" placeholder="Value"}}
</div> </div>
{{else}} {{else}}
<span class="value value-display secure">{{value}}</span> <div class="field name">
<span class="value value-display secure">{{value}}</span>
</div>
{{/if}} {{/if}}
<div class="clear"></div> <div class="field field--switch">
<div class="field"> {{travis-switch active=public}}
{{travis-switch active=public class="value"}}
{{#label for="secure" class="public"}}Display value in build logs{{/label}} {{#label for="secure" class="public"}}Display value in build logs{{/label}}
</div> </div>