Skip to content

Commit

Permalink
couple of quick frontend tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sr committed Feb 5, 2012
1 parent 63b7f69 commit fce2088
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
9 changes: 9 additions & 0 deletions lib/janky/public/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,21 @@ ul.builds h2 span{
ul.builds .good a{
color:#358c00;
}
ul.builds .good h2{
color:#358c00;
}
ul.builds .building a{
color:#e59741;
}
ul.builds .building h2{
color:#e59741;
}
ul.builds .janky a{
color:#ae0000;
}
ul.builds .janky h2{
color:#ae0000;
}
ul.builds p.sha1{
margin-top: 2px;
}
Expand Down
4 changes: 1 addition & 3 deletions lib/janky/templates/index.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
<a class="console" href="{{ console_path }}"></a>
<p class="right sha1"><a title="{{message}}" href="{{compare_url}}">{{sha1}}</a></p>
<h2>
<a href="{{repo_path}}">{{ repo_name }}</a>
<span>/</span>
<a href="{{branch_path}}">{{ branch_name }}</a>
<a href="{{repo_path}}">{{ repo_name }}</a>/<a href="{{branch_path}}">{{ branch_name }}</a>
</h2>
<p>
<span class="right">{{author}}</span>
Expand Down
2 changes: 1 addition & 1 deletion lib/janky/views/index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def jobs
:last_built_text => last_built_text_for(build),
:message => build.commit_message,
:sha1 => build.sha1,
:author => build.commit_author
:author => build.commit_author.split("<").first
}
end
end
Expand Down

0 comments on commit fce2088

Please sign in to comment.