Commit af0b65ddb84bc3cfee58ecbed90326746823690b

Authored by Dmitriy Zaporozhets
1 parent d63339ec

projects page improved

app/assets/stylesheets/common.scss
@@ -431,6 +431,22 @@ img.lil_av { @@ -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 .row_title { 450 .row_title {
435 font-weight:bold; 451 font-weight:bold;
436 color:#444; 452 color:#444;
app/views/projects/_show.html.haml
1 -%h4 1 +%h4.title
2 = @project.name 2 = @project.name
3 -%hr 3 +%br
4 %div 4 %div
5 %a.btn.info{:href => tree_project_ref_path(@project, @project.root_ref)} Browse code 5 %a.btn.info{:href => tree_project_ref_path(@project, @project.root_ref)} Browse code
6   6  
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 %strong.right 8 %strong.right
9 = link_to project_path(@project) do 9 = link_to project_path(@project) do
10 Switch to project → 10 Switch to project →
11 -%hr 11 +%br
12 .alert-message.block-message.warning 12 .alert-message.block-message.warning
13 .input 13 .input
14 .input-prepend 14 .input-prepend
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 17
18 = simple_format @project.description 18 = simple_format @project.description
19 - unless @events.blank? 19 - unless @events.blank?
20 - %h5.cgray Recent Activity 20 + %h4.middle_title Recent Activity
21 .content_list= render @events 21 .content_list= render @events
22 22
23 23