Commit a41875d21e9c87f15754c1d23db3a6fb80b7bdcd
1 parent
e97abfce
Exists in
master
and in
4 other branches
Replace %h5.title with div.title
Showing
33 changed files
with
52 additions
and
58 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
| ... | ... | @@ -88,13 +88,10 @@ |
| 88 | 88 | text-shadow: 0 1px 1px #fff; |
| 89 | 89 | padding: 10px; |
| 90 | 90 | font-size: 14px; |
| 91 | + line-height: 20px; | |
| 91 | 92 | font-weight: normal; |
| 92 | 93 | margin: 0; |
| 93 | 94 | |
| 94 | - h5 { | |
| 95 | - margin: 0; | |
| 96 | - } | |
| 97 | - | |
| 98 | 95 | > a { |
| 99 | 96 | text-shadow: 0 1px 1px #fff; |
| 100 | 97 | } |
| ... | ... | @@ -106,7 +103,7 @@ |
| 106 | 103 | |
| 107 | 104 | .btn { |
| 108 | 105 | position: relative; |
| 109 | - top: -2px; | |
| 106 | + margin-top: -2px; | |
| 110 | 107 | } |
| 111 | 108 | |
| 112 | 109 | .nav-pills { | ... | ... |
app/assets/stylesheets/gitlab_bootstrap/mixins.scss
app/assets/stylesheets/sections/dashboard.scss
| ... | ... | @@ -10,8 +10,8 @@ |
| 10 | 10 | margin: 0px; |
| 11 | 11 | box-shadow: none; |
| 12 | 12 | |
| 13 | - > .title { | |
| 14 | - padding: 2px 15px; | |
| 13 | + .title .btn { | |
| 14 | + margin: 0; | |
| 15 | 15 | } |
| 16 | 16 | .nav-projects-tabs li { padding: 0; } |
| 17 | 17 | } |
| ... | ... | @@ -37,8 +37,6 @@ |
| 37 | 37 | padding: 4px 6px; |
| 38 | 38 | width: 202px; |
| 39 | 39 | float: left; |
| 40 | - margin-top: 3px; | |
| 41 | - margin-left: -2px; | |
| 42 | 40 | } |
| 43 | 41 | } |
| 44 | 42 | ... | ... |
app/views/admin/dashboard/index.html.haml
| 1 | 1 | .admin_dash.row |
| 2 | 2 | .span4 |
| 3 | 3 | .ui-box |
| 4 | - %h5.title Projects | |
| 4 | + .title Projects | |
| 5 | 5 | .data.padded |
| 6 | 6 | = link_to admin_projects_path do |
| 7 | 7 | %h1= Project.count |
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | = link_to 'New Project', new_project_path, class: "btn btn-small" |
| 10 | 10 | .span4 |
| 11 | 11 | .ui-box |
| 12 | - %h5.title Users | |
| 12 | + .title Users | |
| 13 | 13 | .data.padded |
| 14 | 14 | = link_to admin_users_path do |
| 15 | 15 | %h1= User.count |
| ... | ... | @@ -17,7 +17,7 @@ |
| 17 | 17 | = link_to 'New User', new_admin_user_path, class: "btn btn-small" |
| 18 | 18 | .span4 |
| 19 | 19 | .ui-box |
| 20 | - %h5.title Groups | |
| 20 | + .title Groups | |
| 21 | 21 | .data.padded |
| 22 | 22 | = link_to admin_groups_path do |
| 23 | 23 | %h1= Group.count | ... | ... |
app/views/admin/groups/show.html.haml
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | .row |
| 9 | 9 | .span6 |
| 10 | 10 | .ui-box |
| 11 | - %h5.title | |
| 11 | + .title | |
| 12 | 12 | Group info: |
| 13 | 13 | %ul.well-list |
| 14 | 14 | %li |
| ... | ... | @@ -50,7 +50,7 @@ |
| 50 | 50 | = @group.created_at.stamp("March 1, 1999") |
| 51 | 51 | |
| 52 | 52 | .ui-box |
| 53 | - %h5.title | |
| 53 | + .title | |
| 54 | 54 | Projects |
| 55 | 55 | %small |
| 56 | 56 | (#{@group.projects.count}) |
| ... | ... | @@ -64,7 +64,7 @@ |
| 64 | 64 | |
| 65 | 65 | .span6 |
| 66 | 66 | .ui-box |
| 67 | - %h5.title | |
| 67 | + .title | |
| 68 | 68 | Add user(s) to the group: |
| 69 | 69 | .ui-box-body.form-holder |
| 70 | 70 | %p.light |
| ... | ... | @@ -79,7 +79,7 @@ |
| 79 | 79 | %hr |
| 80 | 80 | = submit_tag 'Add users into group', class: "btn btn-create" |
| 81 | 81 | .ui-box |
| 82 | - %h5.title | |
| 82 | + .title | |
| 83 | 83 | %strong #{@group.name} |
| 84 | 84 | Group Members |
| 85 | 85 | %small | ... | ... |
app/views/admin/projects/index.html.haml
app/views/admin/projects/show.html.haml
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | .row |
| 8 | 8 | .span6 |
| 9 | 9 | .ui-box |
| 10 | - %h5.title | |
| 10 | + .title | |
| 11 | 11 | Project info: |
| 12 | 12 | %ul.well-list |
| 13 | 13 | %li |
| ... | ... | @@ -76,7 +76,7 @@ |
| 76 | 76 | .span6 |
| 77 | 77 | - if @group |
| 78 | 78 | .ui-box |
| 79 | - %h5.title | |
| 79 | + .title | |
| 80 | 80 | %strong #{@group.name} Group |
| 81 | 81 | members (#{@group.users_groups.count}) |
| 82 | 82 | .pull-right |
| ... | ... | @@ -87,7 +87,7 @@ |
| 87 | 87 | = render 'users_groups/users_group', member: member, show_controls: false |
| 88 | 88 | |
| 89 | 89 | .ui-box |
| 90 | - %h5.title | |
| 90 | + .title | |
| 91 | 91 | Team |
| 92 | 92 | %small |
| 93 | 93 | (#{@project.users.count}) | ... | ... |
app/views/admin/users/index.html.haml
app/views/admin/users/show.html.haml
| ... | ... | @@ -21,7 +21,7 @@ |
| 21 | 21 | .row |
| 22 | 22 | .span6 |
| 23 | 23 | .ui-box |
| 24 | - %h5.title | |
| 24 | + .title | |
| 25 | 25 | Account: |
| 26 | 26 | .pull-right |
| 27 | 27 | = image_tag gravatar_icon(@user.email, 32), class: "avatar s32" |
| ... | ... | @@ -65,7 +65,7 @@ |
| 65 | 65 | |
| 66 | 66 | - if @user.users_groups.present? |
| 67 | 67 | .ui-box |
| 68 | - %h5.title Groups: | |
| 68 | + .title Groups: | |
| 69 | 69 | %ul.well-list |
| 70 | 70 | - @user.users_groups.each do |user_group| |
| 71 | 71 | - group = user_group.group |
| ... | ... | @@ -76,7 +76,7 @@ |
| 76 | 76 | |
| 77 | 77 | .span6 |
| 78 | 78 | .ui-box |
| 79 | - %h5.title Projects (#{@projects.count}) | |
| 79 | + .title Projects (#{@projects.count}) | |
| 80 | 80 | %ul.well-list |
| 81 | 81 | - @projects.sort_by(&:name_with_namespace).each do |project| |
| 82 | 82 | - tm = project.team.find_tm(@user.id) | ... | ... |
app/views/dashboard/_groups.html.haml
app/views/dashboard/_projects.html.haml
app/views/dashboard/issues.html.haml
app/views/dashboard/projects.html.haml
app/views/groups/_projects.html.haml
app/views/groups/edit.html.haml
| ... | ... | @@ -18,7 +18,7 @@ |
| 18 | 18 | .tab-content |
| 19 | 19 | .tab-pane.active#tab-edit |
| 20 | 20 | .ui-box |
| 21 | - %h5.title | |
| 21 | + .title | |
| 22 | 22 | %strong= @group.name |
| 23 | 23 | Group Settings: |
| 24 | 24 | %div.form-holder |
| ... | ... | @@ -42,7 +42,7 @@ |
| 42 | 42 | |
| 43 | 43 | .tab-pane#tab-projects |
| 44 | 44 | .ui-box |
| 45 | - %h5.title | |
| 45 | + .title | |
| 46 | 46 | %strong= @group.name |
| 47 | 47 | Projects: |
| 48 | 48 | - if can? current_user, :manage_group, @group |
| ... | ... | @@ -67,7 +67,7 @@ |
| 67 | 67 | |
| 68 | 68 | .tab-pane#tab-transfer |
| 69 | 69 | .ui-box.ui-box-danger |
| 70 | - %h5.title Transfer group | |
| 70 | + .title Transfer group | |
| 71 | 71 | .ui-box-body |
| 72 | 72 | %p |
| 73 | 73 | Transferring group will cause loss of admin control over group and all child projects |
| ... | ... | @@ -78,7 +78,7 @@ |
| 78 | 78 | |
| 79 | 79 | .tab-pane#tab-remove |
| 80 | 80 | .ui-box.ui-box-danger |
| 81 | - %h5.title Remove group | |
| 81 | + .title Remove group | |
| 82 | 82 | .ui-box-body |
| 83 | 83 | %p |
| 84 | 84 | Remove of group will cause removing all child projects and resources. | ... | ... |
app/views/groups/issues.html.haml
app/views/groups/members.html.haml
app/views/help/index.html.haml
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | .span4 |
| 15 | 15 | .ui-box |
| 16 | 16 | .title |
| 17 | - %h5 Quick help | |
| 17 | + Quick help | |
| 18 | 18 | %ul.well-list |
| 19 | 19 | %li |
| 20 | 20 | Email your |
| ... | ... | @@ -38,7 +38,7 @@ |
| 38 | 38 | .span4 |
| 39 | 39 | .ui-box |
| 40 | 40 | .title |
| 41 | - %h5 User documentation | |
| 41 | + User documentation | |
| 42 | 42 | %ul.well-list |
| 43 | 43 | %li |
| 44 | 44 | %strong= link_to "Workflow", help_workflow_path |
| ... | ... | @@ -67,7 +67,7 @@ |
| 67 | 67 | .span4 |
| 68 | 68 | .ui-box |
| 69 | 69 | .title |
| 70 | - %h5 Admin documentation | |
| 70 | + Admin documentation | |
| 71 | 71 | %ul.well-list |
| 72 | 72 | |
| 73 | 73 | %li | ... | ... |
app/views/profiles/groups/index.html.haml
app/views/profiles/keys/index.html.haml
app/views/profiles/keys/show.html.haml
app/views/projects/commits/_commits.html.haml
app/views/projects/compare/show.html.haml
app/views/projects/edit.html.haml
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | .project-edit-errors |
| 3 | 3 | .project-edit-content |
| 4 | 4 | .ui-box.white |
| 5 | - %h5.title | |
| 5 | + .title | |
| 6 | 6 | %strong= @project.name |
| 7 | 7 | Project Settings: |
| 8 | 8 | .form-holder |
| ... | ... | @@ -102,7 +102,7 @@ |
| 102 | 102 | |
| 103 | 103 | - if can?(current_user, :change_namespace, @project) |
| 104 | 104 | .ui-box.ui-box-danger |
| 105 | - %h5.title Transfer project | |
| 105 | + .title Transfer project | |
| 106 | 106 | .errors-holder |
| 107 | 107 | .form-holder |
| 108 | 108 | = form_for(@project, url: transfer_project_path(@project), remote: true, html: { class: 'transfer-project' }) do |f| |
| ... | ... | @@ -122,7 +122,7 @@ |
| 122 | 122 | %p.nothing_here_message Only project owner can transfer a project |
| 123 | 123 | |
| 124 | 124 | .ui-box.ui-box-danger |
| 125 | - %h5.title Rename repository | |
| 125 | + .title Rename repository | |
| 126 | 126 | .errors-holder |
| 127 | 127 | .form-holder |
| 128 | 128 | = form_for(@project) do |f| |
| ... | ... | @@ -140,7 +140,7 @@ |
| 140 | 140 | |
| 141 | 141 | - if can?(current_user, :remove_project, @project) |
| 142 | 142 | .ui-box.ui-box-danger |
| 143 | - %h5.title Remove project | |
| 143 | + .title Remove project | |
| 144 | 144 | .ui-box-body |
| 145 | 145 | %p |
| 146 | 146 | Remove of project will cause removing repository and all related resources like issues, merge requests etc. | ... | ... |
app/views/projects/hooks/index.html.haml
app/views/projects/merge_requests/show/_commits.html.haml
app/views/projects/milestones/_issues.html.haml
app/views/projects/milestones/show.html.haml
| ... | ... | @@ -84,13 +84,13 @@ |
| 84 | 84 | .row |
| 85 | 85 | .span6 |
| 86 | 86 | .ui-box |
| 87 | - %h5.title Open | |
| 87 | + .title Open | |
| 88 | 88 | %ul.well-list |
| 89 | 89 | - @merge_requests.opened.each do |merge_request| |
| 90 | 90 | = render 'merge_request', merge_request: merge_request |
| 91 | 91 | .span6 |
| 92 | 92 | .ui-box |
| 93 | - %h5.title Closed | |
| 93 | + .title Closed | |
| 94 | 94 | %ul.well-list |
| 95 | 95 | - @merge_requests.closed.each do |merge_request| |
| 96 | 96 | = render 'merge_request', merge_request: merge_request | ... | ... |
app/views/projects/team_members/_group_members.html.haml
app/views/projects/team_members/_team.html.haml
app/views/shared/_merge_requests.html.haml
app/views/users/_profile.html.haml