Commit af0b65ddb84bc3cfee58ecbed90326746823690b
1 parent
d63339ec
Exists in
master
and in
4 other branches
projects page improved
Showing
2 changed files
with
20 additions
and
4 deletions
Show diff stats
app/assets/stylesheets/common.scss
| ... | ... | @@ -431,6 +431,22 @@ img.lil_av { |
| 431 | 431 | } |
| 432 | 432 | } |
| 433 | 433 | |
| 434 | + &.padded { | |
| 435 | + h5, .title { | |
| 436 | + margin: -20px; | |
| 437 | + margin-bottom: 0; | |
| 438 | + padding: 5px 20px; | |
| 439 | + } | |
| 440 | + .middle_title { | |
| 441 | + background:#f5f5f5; | |
| 442 | + margin:20px -20px; | |
| 443 | + padding: 0 20px; | |
| 444 | + border-top:1px solid #eee; | |
| 445 | + border-bottom:1px solid #eee; | |
| 446 | + font-size:14px; | |
| 447 | + color:#777; | |
| 448 | + } | |
| 449 | + } | |
| 434 | 450 | .row_title { |
| 435 | 451 | font-weight:bold; |
| 436 | 452 | color:#444; | ... | ... |
app/views/projects/_show.html.haml
| 1 | -%h4 | |
| 1 | +%h4.title | |
| 2 | 2 | = @project.name |
| 3 | -%hr | |
| 3 | +%br | |
| 4 | 4 | %div |
| 5 | 5 | %a.btn.info{:href => tree_project_ref_path(@project, @project.root_ref)} Browse code |
| 6 | 6 | |
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | %strong.right |
| 9 | 9 | = link_to project_path(@project) do |
| 10 | 10 | Switch to project → |
| 11 | -%hr | |
| 11 | +%br | |
| 12 | 12 | .alert-message.block-message.warning |
| 13 | 13 | .input |
| 14 | 14 | .input-prepend |
| ... | ... | @@ -17,7 +17,7 @@ |
| 17 | 17 | |
| 18 | 18 | = simple_format @project.description |
| 19 | 19 | - unless @events.blank? |
| 20 | - %h5.cgray Recent Activity | |
| 20 | + %h4.middle_title Recent Activity | |
| 21 | 21 | .content_list= render @events |
| 22 | 22 | |
| 23 | 23 | ... | ... |