diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-11 11:46:15 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-03-11 11:46:15 +0200 |
commit | af0b65ddb84bc3cfee58ecbed90326746823690b (patch) | |
tree | deecb2c610ef7602aed8d2a005ccd1a265eb5678 | |
parent | d63339ec2fb772a9cb214a300c0ff6dc684e99b2 (diff) | |
download | gitlab-ce-af0b65ddb84bc3cfee58ecbed90326746823690b.tar.gz |
projects page improved
-rw-r--r-- | app/assets/stylesheets/common.scss | 16 | ||||
-rw-r--r-- | app/views/projects/_show.html.haml | 8 |
2 files changed, 20 insertions, 4 deletions
diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 394763a6d54..1faf8f263b7 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -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; diff --git a/app/views/projects/_show.html.haml b/app/views/projects/_show.html.haml index ee0b19e1a51..5d30b75bb64 100644 --- a/app/views/projects/_show.html.haml +++ b/app/views/projects/_show.html.haml @@ -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 |