Commit 36fd4de8251cb265244320e67d3d5a3420712a85
1 parent
8b1d44f7
Exists in
master
and in
4 other branches
Replace page_title with page-title. Correct margin for some blocks/layouts
Showing
87 changed files
with
96 additions
and
110 deletions
Show diff stats
app/assets/stylesheets/common.scss
@@ -23,12 +23,8 @@ body { | @@ -23,12 +23,8 @@ body { | ||
23 | 23 | ||
24 | .help li { color:$style_color; } | 24 | .help li { color:$style_color; } |
25 | 25 | ||
26 | -.back_link { | ||
27 | - text-decoration: underline; | 26 | +.back-link { |
28 | font-size: 14px; | 27 | font-size: 14px; |
29 | - font-weight: bold; | ||
30 | - padding: 10px 0; | ||
31 | - padding-bottom: 0; | ||
32 | } | 28 | } |
33 | 29 | ||
34 | table a code { | 30 | table a code { |
@@ -412,7 +408,7 @@ img.emoji { | @@ -412,7 +408,7 @@ img.emoji { | ||
412 | } | 408 | } |
413 | 409 | ||
414 | .navless-container { | 410 | .navless-container { |
415 | - margin-top: 30px; | 411 | + margin-top: 20px; |
416 | } | 412 | } |
417 | 413 | ||
418 | .description-block { | 414 | .description-block { |
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | */ | 11 | */ |
12 | .ui-box { | 12 | .ui-box { |
13 | background: #F9F9F9; | 13 | background: #F9F9F9; |
14 | - margin-bottom: 25px; | 14 | + margin-bottom: 20px; |
15 | border: 1px solid #CCC; | 15 | border: 1px solid #CCC; |
16 | word-wrap: break-word; | 16 | word-wrap: break-word; |
17 | @include solid-shade; | 17 | @include solid-shade; |
app/assets/stylesheets/gitlab_bootstrap/typography.scss
@@ -7,11 +7,12 @@ h1, h2, h3, h4, h5, h6 { margin: 0; } | @@ -7,11 +7,12 @@ h1, h2, h3, h4, h5, h6 { margin: 0; } | ||
7 | h3, h4, h5, h6 { line-height: 36px; } | 7 | h3, h4, h5, h6 { line-height: 36px; } |
8 | h5 { font-size: 14px; } | 8 | h5 { font-size: 14px; } |
9 | 9 | ||
10 | -h3.page_title { | 10 | +h3.page-title { |
11 | color: #456; | 11 | color: #456; |
12 | font-size: 20px; | 12 | font-size: 20px; |
13 | font-weight: normal; | 13 | font-weight: normal; |
14 | line-height: 28px; | 14 | line-height: 28px; |
15 | + margin-bottom: 15px; | ||
15 | } | 16 | } |
16 | 17 | ||
17 | h6 { | 18 | h6 { |
app/assets/stylesheets/sections/nav.scss
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/votes.scss
app/assets/stylesheets/sections/wiki.scss
app/views/admin/background_jobs/show.html.haml
app/views/admin/groups/edit.html.haml
app/views/admin/groups/index.html.haml
app/views/admin/groups/new.html.haml
app/views/admin/groups/show.html.haml
app/views/admin/projects/index.html.haml
app/views/admin/projects/show.html.haml
app/views/admin/users/edit.html.haml
app/views/admin/users/index.html.haml
app/views/admin/users/new.html.haml
app/views/admin/users/show.html.haml
app/views/dashboard/issues.html.haml
1 | -%h3.page_title | 1 | +%h3.page-title |
2 | Issues | 2 | Issues |
3 | %span.light | 3 | %span.light |
4 | – | 4 | – |
5 | Assigned to you | 5 | Assigned to you |
6 | %span.pull-right #{@issues.total_count} issues | 6 | %span.pull-right #{@issues.total_count} issues |
7 | 7 | ||
8 | -%br | ||
9 | - | ||
10 | .row | 8 | .row |
11 | .span3 | 9 | .span3 |
12 | = render 'filter', entity: 'issue' | 10 | = render 'filter', entity: 'issue' |
app/views/dashboard/merge_requests.html.haml
1 | -%h3.page_title | 1 | +%h3.page-title |
2 | Merge Requests | 2 | Merge Requests |
3 | %span.light | 3 | %span.light |
4 | – | 4 | – |
5 | Authored by or assigned to you | 5 | Authored by or assigned to you |
6 | %span.pull-right #{@merge_requests.total_count} merge requests | 6 | %span.pull-right #{@merge_requests.total_count} merge requests |
7 | 7 | ||
8 | -%br | ||
9 | .row | 8 | .row |
10 | .span3 | 9 | .span3 |
11 | = render 'filter', entity: 'merge_request' | 10 | = render 'filter', entity: 'merge_request' |
app/views/devise/passwords/new.html.haml
1 | = form_for(resource, as: resource_name, url: password_path(resource_name), html: { class: "login-box", method: :post }) do |f| | 1 | = form_for(resource, as: resource_name, url: password_path(resource_name), html: { class: "login-box", method: :post }) do |f| |
2 | - %h3.page_title Reset password | 2 | + %h3.page-title Reset password |
3 | %br | 3 | %br |
4 | = devise_error_messages! | 4 | = devise_error_messages! |
5 | = f.email_field :email, placeholder: "Email", class: "text" | 5 | = f.email_field :email, placeholder: "Email", class: "text" |
app/views/devise/registrations/new.html.haml
1 | = form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: "login-box" }) do |f| | 1 | = form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: "login-box" }) do |f| |
2 | - %h3.page_title Sign Up | 2 | + %h3.page-title Sign Up |
3 | %br | 3 | %br |
4 | = devise_error_messages! | 4 | = devise_error_messages! |
5 | %div | 5 | %div |
app/views/devise/sessions/new.html.haml
app/views/errors/access_denied.html.haml
1 | %h1.http_status_code 403 | 1 | %h1.http_status_code 403 |
2 | -%h3.page_title Access Denied | 2 | +%h3.page-title Access Denied |
3 | %hr | 3 | %hr |
4 | %p You are not allowed to access this page. | 4 | %p You are not allowed to access this page. |
5 | %p Read more about project permissions #{link_to "here", help_permissions_path, class: "vlink"} | 5 | %p Read more about project permissions #{link_to "here", help_permissions_path, class: "vlink"} |
app/views/errors/encoding.html.haml
app/views/errors/git_not_found.html.haml
1 | %h1.http_status_code 404 | 1 | %h1.http_status_code 404 |
2 | -%h3.page_title Git Resource Not found | 2 | +%h3.page-title Git Resource Not found |
3 | %hr | 3 | %hr |
4 | %p | 4 | %p |
5 | Application can't get access to some branch or commit in your repository. It | 5 | Application can't get access to some branch or commit in your repository. It |
app/views/errors/not_found.html.haml
1 | %h1.http_status_code 404 | 1 | %h1.http_status_code 404 |
2 | -%h3.page_title The resource you were looking for doesn't exist. | 2 | +%h3.page-title The resource you were looking for doesn't exist. |
3 | %hr | 3 | %hr |
4 | %p You may have mistyped the address or the page may have moved. | 4 | %p You may have mistyped the address or the page may have moved. |
app/views/groups/_filter.html.haml
1 | = form_tag group_filter_path(entity), method: 'get' do | 1 | = form_tag group_filter_path(entity), method: 'get' do |
2 | - %fieldset.dashboard-search-filter | ||
3 | - = search_field_tag "search", params[:search], { placeholder: 'Search', class: 'search-text-input' } | ||
4 | - = button_tag type: 'submit', class: 'btn' do | ||
5 | - %i.icon-search | ||
6 | - | ||
7 | %fieldset | 2 | %fieldset |
8 | - %legend Status: | ||
9 | %ul.nav.nav-pills.nav-stacked | 3 | %ul.nav.nav-pills.nav-stacked |
10 | %li{class: ("active" if !params[:status])} | 4 | %li{class: ("active" if !params[:status])} |
11 | = link_to group_filter_path(entity, status: nil) do | 5 | = link_to group_filter_path(entity, status: nil) do |
app/views/groups/issues.html.haml
app/views/groups/merge_requests.html.haml
app/views/help/api.html.haml
app/views/help/index.html.haml
app/views/help/markdown.html.haml
app/views/help/permissions.html.haml
app/views/help/public_access.html.haml
app/views/help/raketasks.html.haml
app/views/help/ssh.html.haml
app/views/help/system_hooks.html.haml
app/views/help/web_hooks.html.haml
app/views/help/workflow.html.haml
app/views/layouts/_page_title.html.haml
app/views/profiles/keys/index.html.haml
app/views/profiles/keys/new.html.haml
app/views/profiles/notifications/show.html.haml
app/views/profiles/show.html.haml
app/views/projects/commit/_commit_box.html.haml
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | %li= link_to "Plain Diff", project_commit_path(@project, @commit, format: :diff) | 15 | %li= link_to "Plain Diff", project_commit_path(@project, @commit, format: :diff) |
16 | = link_to project_tree_path(@project, @commit), class: "btn btn-primary grouped" do | 16 | = link_to project_tree_path(@project, @commit), class: "btn btn-primary grouped" do |
17 | %span Browse Code » | 17 | %span Browse Code » |
18 | - %h3.commit-title.page_title | 18 | + %h3.commit-title.page-title |
19 | = gfm escape_once(@commit.title) | 19 | = gfm escape_once(@commit.title) |
20 | - if @commit.description.present? | 20 | - if @commit.description.present? |
21 | %pre.commit-description | 21 | %pre.commit-description |
app/views/projects/compare/index.html.haml
app/views/projects/compare/show.html.haml
app/views/projects/deploy_keys/new.html.haml
app/views/projects/deploy_keys/show.html.haml
1 | -%h3.page_title | 1 | +%h3.page-title |
2 | Deploy key: | 2 | Deploy key: |
3 | = @key.title | 3 | = @key.title |
4 | %small | 4 | %small |
5 | created at | 5 | created at |
6 | = @key.created_at.stamp("Aug 21, 2011") | 6 | = @key.created_at.stamp("Aug 21, 2011") |
7 | -.back_link | 7 | +.back-link |
8 | = link_to project_deploy_keys_path(@project) do | 8 | = link_to project_deploy_keys_path(@project) do |
9 | ← To keys list | 9 | ← To keys list |
10 | %hr | 10 | %hr |
app/views/projects/graphs/show.html.haml
1 | .loading-graph | 1 | .loading-graph |
2 | %center | 2 | %center |
3 | .loading | 3 | .loading |
4 | - %h3.page_title Building repository graph. Please wait a moment. | 4 | + %h3.page-title Building repository graph. Please wait a moment. |
5 | 5 | ||
6 | .stat-graph | 6 | .stat-graph |
7 | .header.clearfix | 7 | .header.clearfix |
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | %option{:value => "commits"} Commits | 10 | %option{:value => "commits"} Commits |
11 | %option{:value => "additions"} Additions | 11 | %option{:value => "additions"} Additions |
12 | %option{:value => "deletions"} Deletions | 12 | %option{:value => "deletions"} Deletions |
13 | - %h3#date_header.page_title | 13 | + %h3#date_header.page-title |
14 | %input#brush_change{:type => "hidden"} | 14 | %input#brush_change{:type => "hidden"} |
15 | .graphs | 15 | .graphs |
16 | #contributors-master | 16 | #contributors-master |
app/views/projects/issues/_form.html.haml
1 | %div.issue-form-holder | 1 | %div.issue-form-holder |
2 | - %h3.page_title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}" | 2 | + %h3.page-title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}" |
3 | = form_for [@project, @issue] do |f| | 3 | = form_for [@project, @issue] do |f| |
4 | -if @issue.errors.any? | 4 | -if @issue.errors.any? |
5 | .alert.alert-error | 5 | .alert.alert-error |
app/views/projects/issues/index.html.haml
1 | = render "head" | 1 | = render "head" |
2 | .issues_content | 2 | .issues_content |
3 | - %h3.page_title | 3 | + %h3.page-title |
4 | Issues | 4 | Issues |
5 | %span (<span class=issue_counter>#{@issues.total_count}</span>) | 5 | %span (<span class=issue_counter>#{@issues.total_count}</span>) |
6 | .pull-right | 6 | .pull-right |
@@ -16,8 +16,6 @@ | @@ -16,8 +16,6 @@ | ||
16 | = hidden_field_tag :label_name, params[:label_name], id: 'search_label_name' | 16 | = hidden_field_tag :label_name, params[:label_name], id: 'search_label_name' |
17 | = search_field_tag :issue_search, nil, { placeholder: 'Search', class: 'issue_search input-xlarge append-right-10 search-text-input' } | 17 | = search_field_tag :issue_search, nil, { placeholder: 'Search', class: 'issue_search input-xlarge append-right-10 search-text-input' } |
18 | 18 | ||
19 | - .clearfix | ||
20 | - | ||
21 | .row | 19 | .row |
22 | .span3 | 20 | .span3 |
23 | = render 'filter', entity: 'issue' | 21 | = render 'filter', entity: 'issue' |
app/views/projects/issues/show.html.haml
1 | -%h3.page_title | 1 | +%h3.page-title |
2 | Issue ##{@issue.id} | 2 | Issue ##{@issue.id} |
3 | 3 | ||
4 | %small | 4 | %small |
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | .pull-right | 22 | .pull-right |
23 | .span3#votes= render 'votes/votes_block', votable: @issue | 23 | .span3#votes= render 'votes/votes_block', votable: @issue |
24 | 24 | ||
25 | -.back_link | 25 | +.back-link |
26 | = link_to project_issues_path(@project) do | 26 | = link_to project_issues_path(@project) do |
27 | ← To issues list | 27 | ← To issues list |
28 | 28 |
app/views/projects/labels/index.html.haml
app/views/projects/merge_requests/edit.html.haml
app/views/projects/merge_requests/index.html.haml
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | = link_to new_project_merge_request_path(@project), class: "pull-right btn btn-primary", title: "New Merge Request" do | 2 | = link_to new_project_merge_request_path(@project), class: "pull-right btn btn-primary", title: "New Merge Request" do |
3 | %i.icon-plus | 3 | %i.icon-plus |
4 | New Merge Request | 4 | New Merge Request |
5 | -%h3.page_title | 5 | +%h3.page-title |
6 | Merge Requests | 6 | Merge Requests |
7 | 7 | ||
8 | %br | 8 | %br |
app/views/projects/merge_requests/new.html.haml
app/views/projects/merge_requests/show/_mr_title.html.haml
1 | -%h3.page_title | 1 | +%h3.page-title |
2 | = "Merge Request ##{@merge_request.id}:" | 2 | = "Merge Request ##{@merge_request.id}:" |
3 | | 3 | |
4 | %span.label-branch= @merge_request.source_branch | 4 | %span.label-branch= @merge_request.source_branch |
@@ -26,6 +26,6 @@ | @@ -26,6 +26,6 @@ | ||
26 | .pull-right | 26 | .pull-right |
27 | .span3#votes= render 'votes/votes_block', votable: @merge_request | 27 | .span3#votes= render 'votes/votes_block', votable: @merge_request |
28 | 28 | ||
29 | -.back_link | 29 | +.back-link |
30 | = link_to project_merge_requests_path(@project) do | 30 | = link_to project_merge_requests_path(@project) do |
31 | ← To merge requests | 31 | ← To merge requests |
app/views/projects/milestones/_form.html.haml
1 | -%h3.page_title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}" | ||
2 | -.back_link | 1 | +%h3.page-title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}" |
2 | +.back-link | ||
3 | = link_to project_milestones_path(@project) do | 3 | = link_to project_milestones_path(@project) do |
4 | ← To milestones | 4 | ← To milestones |
5 | 5 |
app/views/projects/milestones/index.html.haml
1 | = render "projects/issues/head" | 1 | = render "projects/issues/head" |
2 | .milestones_content | 2 | .milestones_content |
3 | - %h3.page_title | 3 | + %h3.page-title |
4 | Milestones | 4 | Milestones |
5 | - if can? current_user, :admin_milestone, @project | 5 | - if can? current_user, :admin_milestone, @project |
6 | = link_to new_project_milestone_path(@project), class: "pull-right btn btn-primary", title: "New Milestone" do | 6 | = link_to new_project_milestone_path(@project), class: "pull-right btn btn-primary", title: "New Milestone" do |
app/views/projects/milestones/show.html.haml
1 | = render "projects/issues/head" | 1 | = render "projects/issues/head" |
2 | .row | 2 | .row |
3 | .span6 | 3 | .span6 |
4 | - %h3.page_title | 4 | + %h3.page-title |
5 | Milestone ##{@milestone.id} | 5 | Milestone ##{@milestone.id} |
6 | %small | 6 | %small |
7 | = @milestone.expires_at | 7 | = @milestone.expires_at |
8 | - .back_link | 8 | + .back-link |
9 | = link_to project_milestones_path(@project) do | 9 | = link_to project_milestones_path(@project) do |
10 | ← To milestones list | 10 | ← To milestones list |
11 | .span6 | 11 | .span6 |
app/views/projects/network/_head.html.haml
app/views/projects/services/_form.html.haml
1 | -%h3.page_title | 1 | +%h3.page-title |
2 | - if @service.activated? | 2 | - if @service.activated? |
3 | %span.cgreen | 3 | %span.cgreen |
4 | %i.icon-circle | 4 | %i.icon-circle |
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
9 | 9 | ||
10 | %p= @service.description | 10 | %p= @service.description |
11 | 11 | ||
12 | -.back_link | 12 | +.back-link |
13 | = link_to project_services_path(@project) do | 13 | = link_to project_services_path(@project) do |
14 | ← to services | 14 | ← to services |
15 | 15 |
app/views/projects/services/index.html.haml
app/views/projects/show.html.haml
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | .loading.hide | 7 | .loading.hide |
8 | .span3 | 8 | .span3 |
9 | .light-well | 9 | .light-well |
10 | - %h3.page_title | 10 | + %h3.page-title |
11 | = @project.name | 11 | = @project.name |
12 | - if @project.description.present? | 12 | - if @project.description.present? |
13 | %p.light= @project.description | 13 | %p.light= @project.description |
app/views/projects/snippets/_form.html.haml
app/views/projects/snippets/index.html.haml
app/views/projects/snippets/show.html.haml
app/views/projects/team_members/_form.html.haml
1 | -%h3.page_title | 1 | +%h3.page-title |
2 | = "New Team member(s)" | 2 | = "New Team member(s)" |
3 | %hr | 3 | %hr |
4 | = form_for @user_project_relation, as: :team_member, url: project_team_members_path(@project) do |f| | 4 | = form_for @user_project_relation, as: :team_member, url: project_team_members_path(@project) do |f| |
app/views/projects/team_members/import.html.haml
app/views/projects/team_members/index.html.haml
app/views/projects/wikis/_form.html.haml
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | 8 | ||
9 | .ui-box.ui-box-show | 9 | .ui-box.ui-box-show |
10 | .ui-box-head | 10 | .ui-box-head |
11 | - %h3.page_title | 11 | + %h3.page-title |
12 | .edit-wiki-header | 12 | .edit-wiki-header |
13 | = @wiki.title.titleize | 13 | = @wiki.title.titleize |
14 | = f.hidden_field :title, value: @wiki.title | 14 | = f.hidden_field :title, value: @wiki.title |
app/views/projects/wikis/_new.html.haml
1 | %div#modal-new-wiki.modal.hide | 1 | %div#modal-new-wiki.modal.hide |
2 | .modal-header | 2 | .modal-header |
3 | %a.close{href: "#"} × | 3 | %a.close{href: "#"} × |
4 | - %h3.page_title New Wiki Page | 4 | + %h3.page-title New Wiki Page |
5 | .modal-body | 5 | .modal-body |
6 | = label_tag :new_wiki_path do | 6 | = label_tag :new_wiki_path do |
7 | %span Page slug | 7 | %span Page slug |
app/views/projects/wikis/edit.html.haml
app/views/projects/wikis/empty.html.haml
app/views/projects/wikis/git_access.html.haml
app/views/projects/wikis/history.html.haml
app/views/projects/wikis/pages.html.haml
app/views/projects/wikis/show.html.haml
app/views/public/projects/index.html.haml
app/views/snippets/_form.html.haml
app/views/snippets/current_user_index.html.haml
app/views/snippets/index.html.haml
app/views/snippets/show.html.haml
app/views/snippets/user_index.html.haml
app/views/users/show.html.haml
1 | .row | 1 | .row |
2 | .span8 | 2 | .span8 |
3 | - %h3.page_title | 3 | + %h3.page-title |
4 | = image_tag gravatar_icon(@user.email, 90), class: "avatar s90", alt: '' | 4 | = image_tag gravatar_icon(@user.email, 90), class: "avatar s90", alt: '' |
5 | = @user.name | 5 | = @user.name |
6 | - if @user == current_user | 6 | - if @user == current_user |