projects page improved

This commit is contained in:
Dmitriy Zaporozhets 2012-03-11 11:46:15 +02:00
parent d63339ec2f
commit af0b65ddb8
2 changed files with 20 additions and 4 deletions

View file

@ -431,6 +431,22 @@ img.lil_av {
}
}
&.padded {
h5, .title {
margin: -20px;
margin-bottom: 0;
padding: 5px 20px;
}
.middle_title {
background:#f5f5f5;
margin:20px -20px;
padding: 0 20px;
border-top:1px solid #eee;
border-bottom:1px solid #eee;
font-size:14px;
color:#777;
}
}
.row_title {
font-weight:bold;
color:#444;

View file

@ -1,6 +1,6 @@
%h4
%h4.title
= @project.name
%hr
%br
%div
%a.btn.info{:href => tree_project_ref_path(@project, @project.root_ref)} Browse code
 
@ -8,7 +8,7 @@
%strong.right
= link_to project_path(@project) do
Switch to project →
%hr
%br
.alert-message.block-message.warning
.input
.input-prepend
@ -17,7 +17,7 @@
= simple_format @project.description
- unless @events.blank?
%h5.cgray Recent Activity
%h4.middle_title Recent Activity
.content_list= render @events