put links in dashboard and change some styles
This commit is contained in:
parent
c7147e6146
commit
139f950861
|
@ -12,6 +12,7 @@ Route = TravisRoute.extend
|
|||
@get('stylesheetsManager').disable('dashboard')
|
||||
|
||||
model: ->
|
||||
return new Ember.RSVP.Promise(->)
|
||||
apiEndpoint = @get('config').api_endpoint
|
||||
$.ajax(apiEndpoint + '/repos?member=lislis', {
|
||||
beforeSend: (xhr) ->
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
</div>
|
||||
<div class="build-information">
|
||||
<p class="org">{{repo.owner}}</p>
|
||||
<p class="repo">{{repo.name}}</p>
|
||||
<p class="repo">{{#link-to "repo" repo.owner repo.name }}{{repo.name}}{{/link-to}}</p>
|
||||
<div class="duration">{{formatDuration repo.last_build_duration}}</div>
|
||||
<div class="finished">{{formatTime repo.last_build_finished_at}}</div>
|
||||
<p class="build-status">#{{repo.last_build_number}} {{repo.last_build_state}}</p>
|
||||
<p class="build-status">{{#link-to "build" repo.owner repo.name repo.last_build_id}}#{{repo.last_build_number}} {{repo.last_build_state}}{{/link-to}}</p>
|
||||
</div>
|
||||
<div class="star-feature">
|
||||
</div>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<div class="loading"><span>Loading</span></div>
|
||||
<div class="loading"><span>Loading main</span></div>
|
||||
|
|
|
@ -298,8 +298,6 @@ a {
|
|||
opacity : 0;
|
||||
visibility : hidden;
|
||||
box-shadow : 2px 1px 4px 0px rgba(148,145,138,0.4);
|
||||
-webkit-box-shadow : 2px 1px 4px 0px rgba(148,145,138,0.4);
|
||||
-moz-box-shadow : 2px 1px 4px 0px rgba(148,145,138,0.4);
|
||||
}
|
||||
|
||||
#views ul li ul li {
|
||||
|
@ -402,6 +400,10 @@ a {
|
|||
width : 33px;
|
||||
border-radius : 4px 0 0 4px;
|
||||
}
|
||||
// .repo a:hover,
|
||||
// .build-status a:hover {
|
||||
// text-decoration: underline;
|
||||
// }
|
||||
|
||||
.passed {
|
||||
.build-bar {
|
||||
|
@ -411,11 +413,14 @@ a {
|
|||
}
|
||||
}
|
||||
.org,
|
||||
.repo,
|
||||
.build-status {
|
||||
.repo a,
|
||||
.build-status a {
|
||||
color: #3ba85d;
|
||||
}
|
||||
|
||||
.repo a:focus,
|
||||
.build-status a:focus {
|
||||
outline: 1px dotted #3ba85d;
|
||||
}
|
||||
}
|
||||
|
||||
.failed {
|
||||
|
@ -426,10 +431,14 @@ a {
|
|||
}
|
||||
}
|
||||
.org,
|
||||
.repo,
|
||||
.build-status {
|
||||
.repo a,
|
||||
.build-status a {
|
||||
color: #d04729;
|
||||
}
|
||||
.repo a:focus,
|
||||
.build-status a:focus {
|
||||
outline: 1px dotted #d04729;
|
||||
}
|
||||
}
|
||||
|
||||
.started {
|
||||
|
@ -440,10 +449,14 @@ a {
|
|||
}
|
||||
}
|
||||
.org,
|
||||
.repo,
|
||||
.build-status {
|
||||
.repo a,
|
||||
.build-status a {
|
||||
color: #848032;
|
||||
}
|
||||
.repo a:focus,
|
||||
.build-status a:focus {
|
||||
outline: 1px dotted #848032;
|
||||
}
|
||||
}
|
||||
|
||||
.errored {
|
||||
|
@ -454,10 +467,14 @@ a {
|
|||
}
|
||||
}
|
||||
.org,
|
||||
.repo,
|
||||
.build-status {
|
||||
.repo a,
|
||||
.build-status a {
|
||||
color: #999999;
|
||||
}
|
||||
.repo a:focus,
|
||||
.build-status a:focus {
|
||||
outline: 1px dotted #999999;
|
||||
}
|
||||
}
|
||||
|
||||
.tile .build-information {
|
||||
|
|
Loading…
Reference in New Issue
Block a user