Merge pull request #482 from travis-ci/lp-remove-builds-from-org-landing
Remove builds from org landing
This commit is contained in:
commit
e3efe7d7fc
|
@ -1,10 +0,0 @@
|
||||||
import Ember from 'ember';
|
|
||||||
import { githubCommit as githubCommitUrl } from 'travis/utils/urls';
|
|
||||||
import TravisRoute from 'travis/routes/basic';
|
|
||||||
import config from 'travis/config/environment';
|
|
||||||
|
|
||||||
export default Ember.Component.extend({
|
|
||||||
tagName: 'li',
|
|
||||||
classNameBindings: ['repo.lastBuildState'],
|
|
||||||
classNames: ['landing-row', 'row-li']
|
|
||||||
});
|
|
|
@ -1,61 +1,13 @@
|
||||||
import BasicRoute from 'travis/routes/basic';
|
import BasicRoute from 'travis/routes/basic';
|
||||||
import config from 'travis/config/environment';
|
|
||||||
import limit from 'travis/utils/computed-limit';
|
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
|
|
||||||
export default BasicRoute.extend({
|
export default BasicRoute.extend({
|
||||||
init: function() {
|
|
||||||
var repos, store;
|
|
||||||
|
|
||||||
store = this.store;
|
|
||||||
repos = Ember.ArrayProxy.extend({
|
|
||||||
isLoadedBinding: 'repos.isLoaded',
|
|
||||||
repos: [],
|
|
||||||
sorted: Ember.computed.sort('repos', 'sortedReposKeys'),
|
|
||||||
content: limit('sorted', 'limit'),
|
|
||||||
sortedReposKeys: ['sortOrderForLandingPage:desc'],
|
|
||||||
limit: 3
|
|
||||||
}).create();
|
|
||||||
|
|
||||||
this.set('repos', repos);
|
|
||||||
this.loadMoreRepos();
|
|
||||||
|
|
||||||
return this._super.apply(this, arguments);
|
|
||||||
},
|
|
||||||
|
|
||||||
loadMoreRepos() {
|
|
||||||
return this.store.findAll('build').then( (builds) => {
|
|
||||||
var repoIds, repos;
|
|
||||||
repoIds = builds.mapBy('data.repo').uniq();
|
|
||||||
repos = this.get('repos.repos');
|
|
||||||
return this.store.query('repo', {
|
|
||||||
ids: repoIds
|
|
||||||
}).then(function(reposFromRequest) {
|
|
||||||
return reposFromRequest.toArray().forEach(function(repo) {
|
|
||||||
if (!repos.contains(repo)) {
|
|
||||||
return repos.pushObject(repo);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
activate() {
|
activate() {
|
||||||
var interval;
|
|
||||||
this._super.apply(this, arguments);
|
|
||||||
interval = setInterval(() => {
|
|
||||||
return this.loadMoreRepos();
|
|
||||||
}, 60000);
|
|
||||||
this.set('interval', interval);
|
|
||||||
return this.controllerFor('top').set('landingPage', true);
|
return this.controllerFor('top').set('landingPage', true);
|
||||||
},
|
},
|
||||||
|
|
||||||
deactivate() {
|
deactivate() {
|
||||||
var interval;
|
|
||||||
this._super.apply(this, arguments);
|
|
||||||
if (interval = this.get('interval')) {
|
|
||||||
clearInterval(interval);
|
|
||||||
}
|
|
||||||
return this.controllerFor('top').set('landingPage', false);
|
return this.controllerFor('top').set('landingPage', false);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
font-size: .9em
|
font-size: .9em
|
||||||
word-wrap: break-word
|
word-wrap: break-word
|
||||||
a:not(.icon-close)
|
a:not(.icon-close)
|
||||||
display: block
|
|
||||||
line-height: 1.45
|
line-height: 1.45
|
||||||
text-decoration: underline
|
text-decoration: underline
|
||||||
|
|
||||||
|
@ -57,14 +57,15 @@
|
||||||
height: auto
|
height: auto
|
||||||
|
|
||||||
.icon-close
|
.icon-close
|
||||||
@extend %icon-line-failed
|
@extend %icon-line-cross
|
||||||
position: absolute
|
position: absolute
|
||||||
bottom: 0
|
bottom: 0
|
||||||
right: 0
|
right: 0
|
||||||
display: inline-block
|
display: inline-block
|
||||||
width: 1.2em
|
width: 1em
|
||||||
height: 1.2em
|
height: 1em
|
||||||
background-repeat: no-repeat
|
background-repeat: no-repeat
|
||||||
|
cursor: pointer
|
||||||
|
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
position: absolute
|
position: absolute
|
||||||
|
@ -72,7 +73,7 @@
|
||||||
left: 145px
|
left: 145px
|
||||||
width: 27em
|
width: 27em
|
||||||
height: auto
|
height: auto
|
||||||
margin-left: -0.7em
|
margin-left: -0.4em
|
||||||
.centered &
|
.centered &
|
||||||
left: 133px
|
left: 133px
|
||||||
&:after
|
&:after
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
$teal: #40A3AD
|
|
||||||
$green: #39A85B
|
|
||||||
$red: #DB4242
|
|
||||||
$yellow: #E5C025
|
|
||||||
$grey: #858585
|
|
||||||
|
|
||||||
.landing-pro
|
.landing-pro
|
||||||
|
|
||||||
|
@ -44,10 +39,10 @@ $grey: #858585
|
||||||
border-radius: 2px
|
border-radius: 2px
|
||||||
font-size: 27px
|
font-size: 27px
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
background-color: $green
|
background-color: $turf-green
|
||||||
&:hover
|
&:hover
|
||||||
color: white
|
color: white
|
||||||
background-color: #73c78d
|
background-color: lighten($turf-green, .2)
|
||||||
|
|
||||||
.hero-button
|
.hero-button
|
||||||
@extend .landing-button
|
@extend .landing-button
|
||||||
|
@ -199,22 +194,22 @@ $grey: #858585
|
||||||
.h1--grey
|
.h1--grey
|
||||||
@extend %h1
|
@extend %h1
|
||||||
@include linkStyle
|
@include linkStyle
|
||||||
color: $grey !important
|
color: $asphalt-grey !important
|
||||||
a
|
a
|
||||||
color: $grey
|
color: $asphalt-grey
|
||||||
|
|
||||||
.h1--teal
|
.h1--teal
|
||||||
@extend %h1
|
@extend %h1
|
||||||
font-size: 64px
|
font-size: 64px
|
||||||
color: #408692 !important
|
color: $oxide-blue !important
|
||||||
|
|
||||||
.h1--green
|
.h1--green
|
||||||
@extend %h1
|
@extend %h1
|
||||||
color: $green !important
|
color: $turf-green !important
|
||||||
|
|
||||||
.h1--red
|
.h1--red
|
||||||
@extend %h1
|
@extend %h1
|
||||||
color: $red !important
|
color: $brick-red !important
|
||||||
|
|
||||||
%h2
|
%h2
|
||||||
margin: 0 0 .5em
|
margin: 0 0 .5em
|
||||||
|
@ -224,19 +219,19 @@ $grey: #858585
|
||||||
|
|
||||||
.h2--grey
|
.h2--grey
|
||||||
@extend %h2
|
@extend %h2
|
||||||
color: $grey
|
color: $asphalt-grey
|
||||||
|
|
||||||
.h2--green
|
.h2--green
|
||||||
@extend %h2
|
@extend %h2
|
||||||
color: $green
|
color: $turf-green
|
||||||
|
|
||||||
.h2--red
|
.h2--red
|
||||||
@extend %h2
|
@extend %h2
|
||||||
color: $red
|
color: $brick-red
|
||||||
|
|
||||||
.h2--teal
|
.h2--teal
|
||||||
@extend %h2
|
@extend %h2
|
||||||
color: $teal
|
color: $oxide-blue
|
||||||
|
|
||||||
%h3
|
%h3
|
||||||
margin: .5em 0
|
margin: .5em 0
|
||||||
|
@ -254,19 +249,19 @@ $grey: #858585
|
||||||
|
|
||||||
.h3--teal
|
.h3--teal
|
||||||
@extend %h3
|
@extend %h3
|
||||||
color: $teal
|
color: $oxide-blue
|
||||||
|
|
||||||
.h3--red
|
.h3--red
|
||||||
@extend %h3
|
@extend %h3
|
||||||
color: $red
|
color: $brick-red
|
||||||
|
|
||||||
.h3--green
|
.h3--green
|
||||||
@extend %h3
|
@extend %h3
|
||||||
color: $green
|
color: $turf-green
|
||||||
|
|
||||||
.h3--yellow
|
.h3--yellow
|
||||||
@extend %h3
|
@extend %h3
|
||||||
color: $yellow
|
color: $dozer-yellow
|
||||||
|
|
||||||
.text-big
|
.text-big
|
||||||
@include linkStyle
|
@include linkStyle
|
||||||
|
|
|
@ -138,44 +138,6 @@
|
||||||
text-align: left
|
text-align: left
|
||||||
padding: 0 0 0 12%
|
padding: 0 0 0 12%
|
||||||
|
|
||||||
.recent-builds
|
|
||||||
background-color: #f6f6f6
|
|
||||||
min-height: 44rem
|
|
||||||
|
|
||||||
.recent-builds-text
|
|
||||||
text-align: center
|
|
||||||
h2
|
|
||||||
color: #db4141
|
|
||||||
text-align: right
|
|
||||||
margin: 0
|
|
||||||
|
|
||||||
a
|
|
||||||
color: #828282
|
|
||||||
|
|
||||||
p
|
|
||||||
text-align: right
|
|
||||||
margin-top: 0.5em
|
|
||||||
margin-bottom: 2em
|
|
||||||
|
|
||||||
img
|
|
||||||
margin-bottom: 20px
|
|
||||||
|
|
||||||
ul
|
|
||||||
padding-left: 0
|
|
||||||
|
|
||||||
li
|
|
||||||
background-color: #fff
|
|
||||||
border-radius: 4px
|
|
||||||
color: #828282
|
|
||||||
font-weight: 400
|
|
||||||
margin-bottom: 20px
|
|
||||||
list-style-type: none
|
|
||||||
position: relative
|
|
||||||
height: 120px
|
|
||||||
width: 100%
|
|
||||||
padding: 10px 0 0 60px
|
|
||||||
text-align: left
|
|
||||||
|
|
||||||
.free-for-oss
|
.free-for-oss
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
|
@ -459,20 +421,6 @@
|
||||||
.navigation-nested
|
.navigation-nested
|
||||||
background-color: white
|
background-color: white
|
||||||
|
|
||||||
.landing-rows
|
|
||||||
list-style: none
|
|
||||||
margin: 0
|
|
||||||
@media #{$small-only}
|
|
||||||
padding: 0
|
|
||||||
|
|
||||||
.landing-row
|
|
||||||
.two-line
|
|
||||||
padding-left: 2rem
|
|
||||||
h2
|
|
||||||
padding-left: .5rem
|
|
||||||
font-size: 18px
|
|
||||||
|
|
||||||
|
|
||||||
.landing,
|
.landing,
|
||||||
.landing-pro
|
.landing-pro
|
||||||
background-color: white
|
background-color: white
|
||||||
|
|
|
@ -19,13 +19,13 @@
|
||||||
margin: .5em 0 0
|
margin: .5em 0 0
|
||||||
.font-light
|
.font-light
|
||||||
font-weight: 300
|
font-weight: 300
|
||||||
color: $teal
|
color: $oxide-blue
|
||||||
.font-regular
|
.font-regular
|
||||||
font-weight: 400
|
font-weight: 400
|
||||||
color: #D3B01E
|
color: $dozer-yellow
|
||||||
.font-semibold
|
.font-semibold
|
||||||
font-weight: 600
|
font-weight: 600
|
||||||
color: $grey
|
color: $asphalt-grey
|
||||||
|
|
||||||
.list--colors
|
.list--colors
|
||||||
@extend %list
|
@extend %list
|
||||||
|
@ -39,15 +39,15 @@
|
||||||
height: 3em
|
height: 3em
|
||||||
margin-bottom: .5em
|
margin-bottom: .5em
|
||||||
.colors-sample--teal
|
.colors-sample--teal
|
||||||
background-color: $teal
|
background-color: $oxide-blue
|
||||||
.colors-sample--green
|
.colors-sample--green
|
||||||
background-color: $green
|
background-color: $turf-green
|
||||||
.colors-sample--yellow
|
.colors-sample--yellow
|
||||||
background-color: $yellow
|
background-color: $canary-yellow
|
||||||
.colors-sample--red
|
.colors-sample--red
|
||||||
background-color: $red
|
background-color: $brick-red
|
||||||
.colors-sample--grey
|
.colors-sample--grey
|
||||||
background-color: #666
|
background-color: $asphalt-grey
|
||||||
|
|
||||||
.list--mascot
|
.list--mascot
|
||||||
@extend %list
|
@extend %list
|
||||||
|
@ -91,3 +91,6 @@
|
||||||
margin-bottom: 3em
|
margin-bottom: 3em
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
|
|
||||||
|
.text-logo
|
||||||
|
margin: 0 auto 3em
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
margin-bottom: 2em
|
margin-bottom: 2em
|
||||||
border:
|
border:
|
||||||
width: 2px
|
width: 2px
|
||||||
color: #E8E8E8
|
color: rgba($cement-grey, .2)
|
||||||
style: solid
|
style: solid
|
||||||
|
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
|
@ -52,19 +52,19 @@
|
||||||
color: $color
|
color: $color
|
||||||
|
|
||||||
.plan--red
|
.plan--red
|
||||||
+colorPlans($red, #FCF0F0, false)
|
+colorPlans($brick-red, lighten($brick-red, 40), false)
|
||||||
.list--check li:before
|
.list--check li:before
|
||||||
background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwO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zLDUuMWMwLjMsMC4yLDAuNCwwLjYsMC4yLDAuOWwtNS4zLDguMUMxMC4xLDE0LjMsOS45LDE0LjQsOS42LDE0LjRDOS43LDE0LjQsOS43LDE0LjQsOS42LDE0LjR6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+")
|
||||||
.plan--green
|
.plan--green
|
||||||
+colorPlans($green, #73c78d)
|
+colorPlans($turf-green, lighten($turf-green, 10))
|
||||||
.list--check li:before
|
.list--check li:before
|
||||||
background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGcgaWQ9IlBhc3NlZCI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjMzlBODVCIiBkPSJNOS42LDE0LjRjLTAuMSwwLTAuMy0wLjEtMC40LTAuMWwtNC0zLjNjLTAuMy0wLjItMC4zLTAuNi0wLjEtMC45UzUuOCw5LjgsNi4xLDEwbDMuNCwyLjhsNC45LTcuNQoJCQlDMTQuNiw1LDE1LDQuOSwxNS4zLDUuMWMwLjMsMC4yLDAuNCwwLjYsMC4yLDAuOWwtNS4zLDguMUMxMC4xLDE0LjMsOS45LDE0LjQsOS42LDE0LjRDOS43LDE0LjQsOS43LDE0LjQsOS42LDE0LjR6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+")
|
background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGcgaWQ9IlBhc3NlZCI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjMzlBODVCIiBkPSJNOS42LDE0LjRjLTAuMSwwLTAuMy0wLjEtMC40LTAuMWwtNC0zLjNjLTAuMy0wLjItMC4zLTAuNi0wLjEtMC45UzUuOCw5LjgsNi4xLDEwbDMuNCwyLjhsNC45LTcuNQoJCQlDMTQuNiw1LDE1LDQuOSwxNS4zLDUuMWMwLjMsMC4yLDAuNCwwLjYsMC4yLDAuOWwtNS4zLDguMUMxMC4xLDE0LjMsOS45LDE0LjQsOS42LDE0LjRDOS43LDE0LjQsOS43LDE0LjQsOS42LDE0LjR6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+")
|
||||||
.plan--teal
|
.plan--teal
|
||||||
+colorPlans($teal, #8CC8CE)
|
+colorPlans($oxide-blue, lighten($oxide-blue, 10))
|
||||||
.list--check li:before
|
.list--check li:before
|
||||||
background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGcgaWQ9IlBhc3NlZCI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjNDBBM0FEIiBkPSJNOS42LDE0LjRjLTAuMSwwLTAuMy0wLjEtMC40LTAuMWwtNC0zLjNjLTAuMy0wLjItMC4zLTAuNi0wLjEtMC45UzUuOCw5LjgsNi4xLDEwbDMuNCwyLjhsNC45LTcuNQoJCQlDMTQuNiw1LDE1LDQuOSwxNS4zLDUuMWMwLjMsMC4yLDAuNCwwLjYsMC4yLDAuOWwtNS4zLDguMUMxMC4xLDE0LjMsOS45LDE0LjQsOS42LDE0LjRDOS43LDE0LjQsOS43LDE0LjQsOS42LDE0LjR6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+")
|
background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGcgaWQ9IlBhc3NlZCI+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjNDBBM0FEIiBkPSJNOS42LDE0LjRjLTAuMSwwLTAuMy0wLjEtMC40LTAuMWwtNC0zLjNjLTAuMy0wLjItMC4zLTAuNi0wLjEtMC45UzUuOCw5LjgsNi4xLDEwbDMuNCwyLjhsNC45LTcuNQoJCQlDMTQuNiw1LDE1LDQuOSwxNS4zLDUuMWMwLjMsMC4yLDAuNCwwLjYsMC4yLDAuOWwtNS4zLDguMUMxMC4xLDE0LjMsOS45LDE0LjQsOS42LDE0LjRDOS43LDE0LjQsOS43LDE0LjQsOS42LDE0LjR6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+")
|
||||||
.plan--yellow
|
.plan--yellow
|
||||||
+colorPlans($yellow, #EFD97C)
|
+colorPlans($dozer-yellow, lighten($dozer-yellow, 10))
|
||||||
.list--check li:before
|
.list--check li:before
|
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wwLTAuMy0wLjEtMC40LTAuMWwtNC0zLjNjLTAuMy0wLjItMC4zLTAuNi0wLjEtMC45UzUuOCw5LjgsNi4xLDEwbDMuNCwyLjhsNC45LTcuNQoJCQlDMTQuNiw1LDE1LDQuOSwxNS4zLDUuMWMwLjMsMC4yLDAuNCwwLjYsMC4yLDAuOWwtNS4zLDguMUMxMC4xLDE0LjMsOS45LDE0LjQsOS42LDE0LjRDOS43LDE0LjQsOS43LDE0LjQsOS42LDE0LjR6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+")
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
flex: 0 0 100%
|
flex: 0 0 100%
|
||||||
padding: 1em 1.5em 1.7em
|
padding: 1em 1.5em 1.7em
|
||||||
margin-bottom: 2em
|
margin-bottom: 2em
|
||||||
border: solid 1px #E8E8E8
|
border: solid 1px rgba($cement-grey, .2)
|
||||||
@media #{$medium-up}
|
@media #{$medium-up}
|
||||||
flex: 0 0 48%
|
flex: 0 0 48%
|
||||||
|
|
||||||
|
|
|
@ -1,108 +0,0 @@
|
||||||
|
|
||||||
<div class="two-line row-header fade-out">
|
|
||||||
<div class="row-name row-color">
|
|
||||||
<h3>{{#link-to "owner" repo.owner}}
|
|
||||||
{{status-icon status=repo.lastBuildState}}
|
|
||||||
<span class="label-align">{{repo.owner}}</span>{{/link-to}}
|
|
||||||
</h3>
|
|
||||||
<h2>{{#link-to "repo" repo.owner repo.name}}
|
|
||||||
<span class="label-align">{{repo.name}}</span>
|
|
||||||
{{/link-to}}
|
|
||||||
</h2>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="two-line">
|
|
||||||
<div class="row-number">
|
|
||||||
<div class="row-item row-color">
|
|
||||||
{{#link-to "build" repo repo.lastBuildId}}
|
|
||||||
<span class="icon">
|
|
||||||
<svg version="1.1" id="Layer_1" x="0px" y="0px"
|
|
||||||
viewBox="-289 191 20 20" style="enable-background:new -289 191 20 20;" xml:space="preserve">
|
|
||||||
<path fill="#A5ACAD" class="st0" d="M-272.4,198.4C-272.4,198.4-272.4,198.4-272.4,198.4l-3.4,0l0.3-3.3c0-0.3-0.2-0.6-0.5-0.6
|
|
||||||
c-0.3,0-0.6,0.2-0.6,0.5l-0.3,3.4l-3.2,0l0.3-3.6c0-0.3-0.2-0.6-0.5-0.6c-0.3,0-0.6,0.2-0.6,0.5l-0.3,3.7l-3.2,0
|
|
||||||
c-0.3,0-0.5,0.2-0.5,0.6c0,0.3,0.2,0.5,0.5,0.5c0,0,0,0,0,0l3.1,0l-0.2,2.9l-3.5,0c-0.3,0-0.5,0.2-0.5,0.6c0,0.3,0.2,0.5,0.5,0.5
|
|
||||||
c0,0,0,0,0,0l3.4,0l-0.3,3.3c0,0.3,0.2,0.6,0.5,0.6c0,0,0,0,0,0c0.3,0,0.5-0.2,0.5-0.5l0.3-3.4l3.2,0l-0.3,3.6
|
|
||||||
c0,0.3,0.2,0.6,0.5,0.6c0,0,0,0,0,0c0.3,0,0.5-0.2,0.5-0.5l0.3-3.7l3.2,0c0.3,0,0.5-0.2,0.5-0.6c0-0.3-0.2-0.5-0.5-0.5c0,0,0,0,0,0
|
|
||||||
l-3.1,0l0.2-2.9l3.5,0c0.3,0,0.5-0.2,0.5-0.6C-271.8,198.7-272.1,198.4-272.4,198.4z M-277.2,202.4l-3.2,0l0.2-2.9l3.2,0
|
|
||||||
L-277.2,202.4z"/>
|
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
<span class="label-align">
|
|
||||||
{{repo.lastBuildNumber}} {{repo.lastBuildState}}</span>
|
|
||||||
{{/link-to}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row-calendar">
|
|
||||||
<div class="row-item" title="{{repo.lastBuildFinishedAt}}">
|
|
||||||
<span class="icon">
|
|
||||||
<svg viewBox="0 0 20 20">
|
|
||||||
<g id="Cal">
|
|
||||||
<path fill="#A7AEAE" d="M16.7,2.5H3.3C3,2.5,2.8,2.7,2.8,3V17c0,0.3,0.2,0.5,0.5,0.5h13.4c0.3,0,0.5-0.2,0.5-0.5V3
|
|
||||||
C17.2,2.7,17,2.5,16.7,2.5z M16.2,3.4v3.1H3.8V3.4H16.2z M3.8,16.6v-9h12.5v9H3.8z"/>
|
|
||||||
<path fill="#A7AEAE" d="M8.7,13.4c-0.1,0-0.3,0-0.4,0c0.2-0.2,0.4-0.4,0.5-0.6c0.2-0.2,0.3-0.4,0.5-0.6c0.1-0.2,0.2-0.4,0.3-0.6
|
|
||||||
c0.1-0.2,0.1-0.4,0.1-0.6c0-0.2,0-0.4-0.1-0.6c-0.1-0.2-0.2-0.3-0.3-0.4C9.2,10,9.1,9.9,8.9,9.8C8.7,9.7,8.5,9.7,8.3,9.7
|
|
||||||
C8,9.7,7.7,9.8,7.5,9.9C7.2,10,7,10.2,6.8,10.4L7.3,11c0.1-0.1,0.2-0.2,0.4-0.3c0.1-0.1,0.3-0.1,0.4-0.1c0.2,0,0.4,0.1,0.5,0.2
|
|
||||||
c0.1,0.1,0.2,0.3,0.2,0.5c0,0.2,0,0.3-0.1,0.5c-0.1,0.2-0.2,0.4-0.4,0.6c-0.2,0.2-0.4,0.4-0.6,0.7c-0.2,0.2-0.5,0.5-0.8,0.8v0.6
|
|
||||||
H10v-0.9H9.1C9,13.4,8.8,13.4,8.7,13.4z"/>
|
|
||||||
<path fill="#A7AEAE" d="M10.6,10.7h2c-0.2,0.3-0.4,0.6-0.5,0.8c-0.1,0.3-0.3,0.6-0.4,0.8c-0.1,0.3-0.2,0.6-0.2,0.9
|
|
||||||
c0,0.3-0.1,0.7-0.1,1h1c0-0.4,0-0.8,0.1-1.2c0-0.3,0.1-0.7,0.2-0.9c0.1-0.3,0.2-0.6,0.4-0.9c0.2-0.3,0.4-0.6,0.6-0.9V9.8h-3.1
|
|
||||||
V10.7z"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
<time class="label-align" datetime="{{repo.lastBuildFinishedAt}}">
|
|
||||||
{{landing-page-last-build-time repo.lastBuildFinishedAt}}</time>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="two-line">
|
|
||||||
<div class="row-commit">
|
|
||||||
<div class="row-item">
|
|
||||||
<span class="icon">
|
|
||||||
<svg x="0px" y="0px" viewBox="2 0 20 20" xml:space="preserve">
|
|
||||||
<g id="Commit">
|
|
||||||
<path fill="#A7AEAE" d="M7.8,17.5c-0.3,0-0.5-0.2-0.5-0.5l0-1c-0.4,0-1,0.1-1.4-0.1c-0.4-0.1-1.3-0.5-1.8-1.7
|
|
||||||
c-0.1-0.2-0.3-0.4-0.4-0.6c-0.1-0.1-0.2-0.3-0.3-0.4C3,12.8,3,12,3.3,11.5c0.3-0.4,0.7-0.5,1.2-0.3c0.7,0.2,1.1,0.9,1.4,1.3
|
|
||||||
c0.1,0.1,0.1,0.2,0.2,0.2c0.4,0.4,1,0.3,1.4,0.1c0.1-0.1,0.2-0.2,0.3-0.3c-0.1,0-0.1,0-0.2,0c-0.7-0.1-1.3-0.4-1.9-0.7
|
|
||||||
c-0.2-0.2-0.6-0.4-0.8-0.7c-0.3-0.3-0.5-0.7-0.7-1.2C4.1,9.4,4,9,3.9,8.5c0-0.4-0.1-0.9,0-1.4C4,6.5,4.2,6,4.5,5.5
|
|
||||||
c0.1-0.1,0.1-0.2,0.2-0.3c0,0,0-0.1,0-0.1c-0.1-0.3-0.1-0.6-0.1-1c0-0.4,0.1-0.8,0.3-1.2C5,2.6,5.2,2.5,5.5,2.5
|
|
||||||
c0.3,0,0.8,0.1,1.2,0.3c0.4,0.2,0.8,0.4,1.2,0.7c0.5-0.1,1-0.2,1.6-0.2c0.4,0,1.6,0,2,0c0.5,0,1,0.1,1.4,0.2l0.2-0.1
|
|
||||||
c0.2-0.1,0.5-0.3,0.7-0.4c0.4-0.2,0.7-0.3,1.1-0.3c0.1,0,0.2,0,0.3,0c0.3,0,0.5,0.1,0.6,0.4c0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||||||
c0,0.1,0,0.1,0.1,0.2c0.1,0.2,0,0.4-0.1,0.5L5.5,5.8C5.5,5.9,5.4,6,5.3,6.1C5.1,6.4,4.9,6.8,4.8,7.3c-0.1,0.4,0,0.8,0,1.1
|
|
||||||
c0,0.4,0.1,0.8,0.2,1.2c0.1,0.4,0.3,0.7,0.5,0.9C5.8,10.7,6,10.9,6.2,11c0.5,0.3,1,0.5,1.6,0.6c0.2,0,0.7,0.1,0.7,0.1
|
|
||||||
c0.1,0,0.3,0.1,0.3,0.2c0.1,0.1,0.1,0.2,0.1,0.4c0,0.1-0.3,1-0.9,1.4c-0.7,0.4-1.8,0.5-2.5-0.3c-0.1-0.1-0.2-0.2-0.3-0.3
|
|
||||||
c-0.2-0.3-0.6-0.8-1-1c-0.1,0-0.1,0-0.1,0c0,0,0,0-0.1,0.1c0,0.2,0,0.4,0.1,0.6c0.1,0.1,0.2,0.2,0.3,0.4c0.2,0.3,0.4,0.5,0.5,0.8
|
|
||||||
c0.4,0.8,1,1.1,1.2,1.2C6.6,15.2,7.4,15.1,7.8,15.1C7.7,15.1,7.7,15.1,7.8,15.1z"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
<span class="label-align">
|
|
||||||
{{format-sha repo.lastBuild.commit.sha}}</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row-commiter">
|
|
||||||
<div class="row-item">
|
|
||||||
<span class="icon">
|
|
||||||
<svg version="1.1" id="Layer_1" x="0px" y="0px"
|
|
||||||
viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
|
|
||||||
<g id="Push">
|
|
||||||
<path fill="#A7AEAE" d="M16.9,9.4h-3.5c-0.3-1.6-1.7-2.8-3.4-2.8S6.9,7.8,6.6,9.4H3.1c-0.3,0-0.6,0.3-0.6,0.6s0.3,0.6,0.6,0.6h3.5
|
|
||||||
c0.3,1.6,1.7,2.8,3.4,2.8s3.1-1.2,3.4-2.8h3.5c0.3,0,0.6-0.3,0.6-0.6S17.2,9.4,16.9,9.4z M10,12.2c-1.2,0-2.2-1-2.2-2.2
|
|
||||||
c0-1.2,1-2.2,2.2-2.2c1.2,0,2.2,1,2.2,2.2c0,0,0,0,0,0c0,0,0,0,0,0C12.2,11.2,11.2,12.2,10,12.2z"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
</span><span class="label-align">{{repo.lastBuild.commit.branch}}</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
|
@ -43,26 +43,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row recent-builds">
|
|
||||||
<div class="landing-centered-wrapper">
|
|
||||||
<div class="medium-6 columns recent-builds-text">
|
|
||||||
<div class="landing-vert-center-m">
|
|
||||||
<h2>Every minute there’s<br>a new build being run</h2>
|
|
||||||
<p>Here are just a few projects<br>currently running on Travis CI</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="medium-6 columns">
|
|
||||||
<ul class="landing-rows">
|
|
||||||
{{#each repos as |repo|}}
|
|
||||||
{{landing-row repo=repo}}
|
|
||||||
{{else}}
|
|
||||||
{{loading-indicator}}
|
|
||||||
{{/each}}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row free-for-oss">
|
<div class="row free-for-oss">
|
||||||
<div class="landing-centered-wrapper">
|
<div class="landing-centered-wrapper">
|
||||||
<div class="large-12 columns">
|
<div class="large-12 columns">
|
||||||
|
|
|
@ -46,19 +46,19 @@
|
||||||
<ul class="list--colors">
|
<ul class="list--colors">
|
||||||
<li>
|
<li>
|
||||||
<div class="colors-sample--teal" aria-hidden="true"></div>
|
<div class="colors-sample--teal" aria-hidden="true"></div>
|
||||||
<p class="text-small"><strong>Turbo Teal</strong> #40A3AD</p>
|
<p class="text-small"><strong>Oxide blue</strong> #3EAAAF</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="colors-sample--green" aria-hidden="true"></div>
|
<div class="colors-sample--green" aria-hidden="true"></div>
|
||||||
<p class="text-small"><strong>Passing green</strong> #44A662</p>
|
<p class="text-small"><strong>Turf green</strong> #39AA56</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="colors-sample--yellow" aria-hidden="true"></div>
|
<div class="colors-sample--yellow" aria-hidden="true"></div>
|
||||||
<p class="text-small"><strong>Building yellow</strong> #E5DA3F</p>
|
<p class="text-small"><strong>Canary yellow</strong> #EDDE3F</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="colors-sample--red" aria-hidden="true"></div>
|
<div class="colors-sample--red" aria-hidden="true"></div>
|
||||||
<p class="text-small"><strong>Failing red</strong> #D94341</p>
|
<p class="text-small"><strong>Brick red</strong> #DB4545</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="colors-sample--grey" aria-hidden="true"></div>
|
<div class="colors-sample--grey" aria-hidden="true"></div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user