Commit 36fd4de8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Replace page_title with page-title. Correct margin for some blocks/layouts

parent 8b1d44f7
...@@ -23,12 +23,8 @@ body { ...@@ -23,12 +23,8 @@ body {
.help li { color:$style_color; } .help li { color:$style_color; }
.back_link { .back-link {
text-decoration: underline;
font-size: 14px; font-size: 14px;
font-weight: bold;
padding: 10px 0;
padding-bottom: 0;
} }
table a code { table a code {
...@@ -412,7 +408,7 @@ img.emoji { ...@@ -412,7 +408,7 @@ img.emoji {
} }
.navless-container { .navless-container {
margin-top: 30px; margin-top: 20px;
} }
.description-block { .description-block {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
*/ */
.ui-box { .ui-box {
background: #F9F9F9; background: #F9F9F9;
margin-bottom: 25px; margin-bottom: 20px;
border: 1px solid #CCC; border: 1px solid #CCC;
word-wrap: break-word; word-wrap: break-word;
@include solid-shade; @include solid-shade;
......
...@@ -7,11 +7,12 @@ h1, h2, h3, h4, h5, h6 { margin: 0; } ...@@ -7,11 +7,12 @@ h1, h2, h3, h4, h5, h6 { margin: 0; }
h3, h4, h5, h6 { line-height: 36px; } h3, h4, h5, h6 { line-height: 36px; }
h5 { font-size: 14px; } h5 { font-size: 14px; }
h3.page_title { h3.page-title {
color: #456; color: #456;
font-size: 20px; font-size: 20px;
font-weight: normal; font-weight: normal;
line-height: 28px; line-height: 28px;
margin-bottom: 15px;
} }
h6 { h6 {
......
.main-nav { .main-nav {
background: #f5f5f5; background: #f5f5f5;
margin: 30px 0; margin: 20px 0;
margin-top: 0; margin-top: 0;
padding-top: 4px; padding-top: 4px;
border-bottom: 1px solid #E1E1E1; border-bottom: 1px solid #E1E1E1;
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
margin-bottom: 50px; margin-bottom: 50px;
} }
h3 { h3 {
@extend .page_title; @extend .page-title;
} }
} }
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
} }
} }
.votes-block { .votes-block {
margin: 14px 6px 6px 0; margin: 6px;
.downvotes { .downvotes {
float: right; float: right;
} }
......
h3.page_title .edit-wiki-header { h3.page-title .edit-wiki-header {
width: 780px; width: 780px;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
......
%h3.page_title Background Jobs %h3.page-title Background Jobs
%br %br
.ui-box .ui-box
%iframe{src: sidekiq_path, width: '100%', height: 900, style: "border: none"} %iframe{src: sidekiq_path, width: '100%', height: 900, style: "border: none"}
%h3.page_title Edit Group %h3.page-title Edit Group
%hr %hr
= form_for [:admin, @group] do |f| = form_for [:admin, @group] do |f|
- if @group.errors.any? - if @group.errors.any?
......
%h3.page_title %h3.page-title
Groups (#{@groups.total_count}) Groups (#{@groups.total_count})
%small %small
allows you to keep projects organized. allows you to keep projects organized.
......
%h3.page_title New Group %h3.page-title New Group
%hr %hr
= form_for [:admin, @group] do |f| = form_for [:admin, @group] do |f|
- if @group.errors.any? - if @group.errors.any?
......
%h3.page_title %h3.page-title
Group: #{@group.name} Group: #{@group.name}
= link_to edit_admin_group_path(@group), class: "btn btn-small pull-right" do = link_to edit_admin_group_path(@group), class: "btn btn-small pull-right" do
......
%h3.page_title %h3.page-title
Projects Projects
= link_to 'New Project', new_project_path, class: "btn btn-small pull-right" = link_to 'New Project', new_project_path, class: "btn btn-small pull-right"
......
%h3.page_title %h3.page-title
Project: #{@project.name_with_namespace} Project: #{@project.name_with_namespace}
= link_to edit_project_path(@project), class: "btn pull-right" do = link_to edit_project_path(@project), class: "btn pull-right" do
%i.icon-edit %i.icon-edit
......
%h3.page_title %h3.page-title
#{@user.name} → #{@user.name} →
%i.icon-edit %i.icon-edit
Edit user Edit user
......
%h3.page_title %h3.page-title
Users Users
= link_to 'New User', new_admin_user_path, class: "btn btn-small pull-right" = link_to 'New User', new_admin_user_path, class: "btn btn-small pull-right"
%br %br
......
%h3.page_title %h3.page-title
%i.icon-plus %i.icon-plus
New user New user
%hr %hr
......
%h3.page_title %h3.page-title
User: User:
= @user.name = @user.name
- if @user.blocked? - if @user.blocked?
......
%h3.page_title %h3.page-title
Issues Issues
%span.light %span.light
– –
Assigned to you Assigned to you
%span.pull-right #{@issues.total_count} issues %span.pull-right #{@issues.total_count} issues
%br
.row .row
.span3 .span3
= render 'filter', entity: 'issue' = render 'filter', entity: 'issue'
......
%h3.page_title %h3.page-title
Merge Requests Merge Requests
%span.light %span.light
– –
Authored by or assigned to you Authored by or assigned to you
%span.pull-right #{@merge_requests.total_count} merge requests %span.pull-right #{@merge_requests.total_count} merge requests
%br
.row .row
.span3 .span3
= render 'filter', entity: 'merge_request' = render 'filter', entity: 'merge_request'
......
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { class: "login-box", method: :post }) do |f| = form_for(resource, as: resource_name, url: password_path(resource_name), html: { class: "login-box", method: :post }) do |f|
%h3.page_title Reset password %h3.page-title Reset password
%br %br
= devise_error_messages! = devise_error_messages!
= f.email_field :email, placeholder: "Email", class: "text" = f.email_field :email, placeholder: "Email", class: "text"
......
= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: "login-box" }) do |f| = form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: "login-box" }) do |f|
%h3.page_title Sign Up %h3.page-title Sign Up
%br %br
= devise_error_messages! = devise_error_messages!
%div %div
......
.login-box .login-box
%h3.page_title Sign in %h3.page-title Sign in
%br %br
- if ldap_enabled? - if ldap_enabled?
%ul.nav.nav-tabs %ul.nav.nav-tabs
......
%h1.http_status_code 403 %h1.http_status_code 403
%h3.page_title Access Denied %h3.page-title Access Denied
%hr %hr
%p You are not allowed to access this page. %p You are not allowed to access this page.
%p Read more about project permissions #{link_to "here", help_permissions_path, class: "vlink"} %p Read more about project permissions #{link_to "here", help_permissions_path, class: "vlink"}
%h1.http_status_code 500 %h1.http_status_code 500
%h3.page_title Encoding Error %h3.page-title Encoding Error
%hr %hr
%p Page can't be loaded because of an encoding error. %p Page can't be loaded because of an encoding error.
%h1.http_status_code 404 %h1.http_status_code 404
%h3.page_title Git Resource Not found %h3.page-title Git Resource Not found
%hr %hr
%p %p
Application can't get access to some branch or commit in your repository. It Application can't get access to some branch or commit in your repository. It
......
%h1.http_status_code 404 %h1.http_status_code 404
%h3.page_title The resource you were looking for doesn't exist. %h3.page-title The resource you were looking for doesn't exist.
%hr %hr
%p You may have mistyped the address or the page may have moved. %p You may have mistyped the address or the page may have moved.
= form_tag group_filter_path(entity), method: 'get' do = form_tag group_filter_path(entity), method: 'get' do
%fieldset.dashboard-search-filter
= search_field_tag "search", params[:search], { placeholder: 'Search', class: 'search-text-input' }
= button_tag type: 'submit', class: 'btn' do
%i.icon-search
%fieldset %fieldset
%legend Status:
%ul.nav.nav-pills.nav-stacked %ul.nav.nav-pills.nav-stacked
%li{class: ("active" if !params[:status])} %li{class: ("active" if !params[:status])}
= link_to group_filter_path(entity, status: nil) do = link_to group_filter_path(entity, status: nil) do
......
%h3.page_title %h3.page-title
Issues Issues
%small (assigned to you) %small (assigned to you)
%small.pull-right #{@issues.total_count} issues %small.pull-right #{@issues.total_count} issues
......
%h3.page_title %h3.page-title
Merge Requests Merge Requests
%small (authored by or assigned to you) %small (authored by or assigned to you)
%small.pull-right #{@merge_requests.total_count} merge requests %small.pull-right #{@merge_requests.total_count} merge requests
......
= render layout: 'help/api_layout' do = render layout: 'help/api_layout' do
%h3.page_title %h3.page-title
%span.light API %span.light API
%span %span
\/ \/
......
%h3.page_title %h3.page-title
GITLAB GITLAB
.pull-right .pull-right
%span= Gitlab::VERSION %span= Gitlab::VERSION
......
= render layout: 'help/layout' do = render layout: 'help/layout' do
%h3.page_title GitLab Flavored Markdown %h3.page-title GitLab Flavored Markdown
%br %br
.help_body .help_body
......
= render layout: 'help/layout' do = render layout: 'help/layout' do
%h3.page_title Permissions %h3.page-title Permissions
%br %br
%fieldset %fieldset
......
= render layout: 'help/layout' do = render layout: 'help/layout' do
%h3.page_title Public Access %h3.page-title Public Access
%br %br
%p %p
......
= render layout: 'help/layout' do = render layout: 'help/layout' do
%h3.page_title GitLab Rake Tasks %h3.page-title GitLab Rake Tasks
%br %br
%p.slead %p.slead
......
= render layout: 'help/layout' do = render layout: 'help/layout' do
%h3.page_title SSH Keys %h3.page-title SSH Keys
%br %br
%p.slead %p.slead
......
= render layout: 'help/layout' do = render layout: 'help/layout' do
%h3.page_title System hooks %h3.page-title System hooks
%br %br
%p.slead %p.slead
......
= render layout: 'help/layout' do = render layout: 'help/layout' do
%h3.page_title Web hooks %h3.page-title Web hooks
%br %br
%p.slead %p.slead
......
= render layout: 'help/layout' do = render layout: 'help/layout' do
%h3.page_title Workflow %h3.page-title Workflow
%br %br
%ol.help %ol.help
......
- if content_for?(:page_title) - if content_for?(:page-title)
= yield :page_title = yield :page-title
%h3.page_title %h3.page-title
SSH Keys SSH Keys
= link_to "Add SSH Key", new_profile_key_path, class: "btn pull-right btn-primary" = link_to "Add SSH Key", new_profile_key_path, class: "btn pull-right btn-primary"
......
%h3.page_title Add an SSH Key %h3.page-title Add an SSH Key
%hr %hr
= render 'form' = render 'form'
......
%h3.page_title Setup your notification level %h3.page-title Setup your notification level
%br %br
......
.profile_avatar_holder .profile_avatar_holder
= image_tag gravatar_icon(@user.email, 90), alt: '' = image_tag gravatar_icon(@user.email, 90), alt: ''
%h3.page_title %h3.page-title
= @user.name = @user.name
%br %br
%small %small
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
%li= link_to "Plain Diff", project_commit_path(@project, @commit, format: :diff) %li= link_to "Plain Diff", project_commit_path(@project, @commit, format: :diff)
= link_to project_tree_path(@project, @commit), class: "btn btn-primary grouped" do = link_to project_tree_path(@project, @commit), class: "btn btn-primary grouped" do
%span Browse Code » %span Browse Code »
%h3.commit-title.page_title %h3.commit-title.page-title
= gfm escape_once(@commit.title) = gfm escape_once(@commit.title)
- if @commit.description.present? - if @commit.description.present?
%pre.commit-description %pre.commit-description
......
= render "projects/commits/head" = render "projects/commits/head"
%h3.page_title %h3.page-title
Compare View Compare View
%hr %hr
......
= render "projects/commits/head" = render "projects/commits/head"
%h3.page_title %h3.page-title
Compare View Compare View
%hr %hr
......
%h3.page_title New Deploy key %h3.page-title New Deploy key
%hr %hr
= render 'form' = render 'form'
%h3.page_title %h3.page-title
Deploy key: Deploy key:
= @key.title = @key.title
%small %small
created at created at
= @key.created_at.stamp("Aug 21, 2011") = @key.created_at.stamp("Aug 21, 2011")
.back_link .back-link
= link_to project_deploy_keys_path(@project) do = link_to project_deploy_keys_path(@project) do
← To keys list ← To keys list
%hr %hr
......
.loading-graph .loading-graph
%center %center
.loading .loading
%h3.page_title Building repository graph. Please wait a moment. %h3.page-title Building repository graph. Please wait a moment.
.stat-graph .stat-graph
.header.clearfix .header.clearfix
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%option{:value => "commits"} Commits %option{:value => "commits"} Commits
%option{:value => "additions"} Additions %option{:value => "additions"} Additions
%option{:value => "deletions"} Deletions %option{:value => "deletions"} Deletions
%h3#date_header.page_title %h3#date_header.page-title
%input#brush_change{:type => "hidden"} %input#brush_change{:type => "hidden"}
.graphs .graphs
#contributors-master #contributors-master
......
%div.issue-form-holder %div.issue-form-holder
%h3.page_title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}" %h3.page-title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}"
= form_for [@project, @issue] do |f| = form_for [@project, @issue] do |f|
-if @issue.errors.any? -if @issue.errors.any?
.alert.alert-error .alert.alert-error
......
= render "head" = render "head"
.issues_content .issues_content
%h3.page_title %h3.page-title
Issues Issues
%span (<span class=issue_counter>#{@issues.total_count}</span>) %span (<span class=issue_counter>#{@issues.total_count}</span>)
.pull-right .pull-right
...@@ -16,8 +16,6 @@ ...@@ -16,8 +16,6 @@
= hidden_field_tag :label_name, params[:label_name], id: 'search_label_name' = hidden_field_tag :label_name, params[:label_name], id: 'search_label_name'
= search_field_tag :issue_search, nil, { placeholder: 'Search', class: 'issue_search input-xlarge append-right-10 search-text-input' } = search_field_tag :issue_search, nil, { placeholder: 'Search', class: 'issue_search input-xlarge append-right-10 search-text-input' }
.clearfix
.row .row
.span3 .span3
= render 'filter', entity: 'issue' = render 'filter', entity: 'issue'
......
%h3.page_title %h3.page-title
Issue ##{@issue.id} Issue ##{@issue.id}
%small %small
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
.pull-right .pull-right
.span3#votes= render 'votes/votes_block', votable: @issue .span3#votes= render 'votes/votes_block', votable: @issue
.back_link .back-link
= link_to project_issues_path(@project) do = link_to project_issues_path(@project) do
&larr; To issues list &larr; To issues list
......
= render "projects/issues/head" = render "projects/issues/head"
%h3.page_title %h3.page-title
Labels Labels
%br %br
......
%h3.page_title %h3.page-title
= "Edit merge request #{@merge_request.id}" = "Edit merge request #{@merge_request.id}"
%hr %hr
= render 'form' = render 'form'
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
= link_to new_project_merge_request_path(@project), class: "pull-right btn btn-primary", title: "New Merge Request" do = link_to new_project_merge_request_path(@project), class: "pull-right btn btn-primary", title: "New Merge Request" do
%i.icon-plus %i.icon-plus
New Merge Request New Merge Request
%h3.page_title %h3.page-title
Merge Requests Merge Requests
%br %br
......
%h3.page_title New Merge Request %h3.page-title New Merge Request
%hr %hr
= render 'form' = render 'form'
%h3.page_title %h3.page-title
= "Merge Request ##{@merge_request.id}:" = "Merge Request ##{@merge_request.id}:"
&nbsp; &nbsp;
%span.label-branch= @merge_request.source_branch %span.label-branch= @merge_request.source_branch
...@@ -26,6 +26,6 @@ ...@@ -26,6 +26,6 @@
.pull-right .pull-right
.span3#votes= render 'votes/votes_block', votable: @merge_request .span3#votes= render 'votes/votes_block', votable: @merge_request
.back_link .back-link
= link_to project_merge_requests_path(@project) do = link_to project_merge_requests_path(@project) do
&larr; To merge requests &larr; To merge requests
%h3.page_title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}" %h3.page-title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}"
.back_link .back-link
= link_to project_milestones_path(@project) do = link_to project_milestones_path(@project) do
&larr; To milestones &larr; To milestones
......
= render "projects/issues/head" = render "projects/issues/head"
.milestones_content .milestones_content
%h3.page_title %h3.page-title
Milestones Milestones
- if can? current_user, :admin_milestone, @project - if can? current_user, :admin_milestone, @project
= link_to new_project_milestone_path(@project), class: "pull-right btn btn-primary", title: "New Milestone" do = link_to new_project_milestone_path(@project), class: "pull-right btn btn-primary", title: "New Milestone" do
......
= render "projects/issues/head" = render "projects/issues/head"
.row .row
.span6 .span6
%h3.page_title %h3.page-title
Milestone ##{@milestone.id} Milestone ##{@milestone.id}
%small %small
= @milestone.expires_at = @milestone.expires_at
.back_link .back-link
= link_to project_milestones_path(@project) do = link_to project_milestones_path(@project) do
&larr; To milestones list &larr; To milestones list
.span6 .span6
......
%h3.page_title Project Network Graph %h3.page-title Project Network Graph
%hr %hr
.clearfix .clearfix
......
%h3.page_title %h3.page-title
- if @service.activated? - if @service.activated?
%span.cgreen %span.cgreen
%i.icon-circle %i.icon-circle
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
%p= @service.description %p= @service.description
.back_link .back-link
= link_to project_services_path(@project) do = link_to project_services_path(@project) do
&larr; to services &larr; to services
......
%h3.page_title Services %h3.page-title Services
%br %br
%ul.bordered-list %ul.bordered-list
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.loading.hide .loading.hide
.span3 .span3
.light-well .light-well
%h3.page_title %h3.page-title
= @project.name = @project.name
- if @project.description.present? - if @project.description.present?
%p.light= @project.description %p.light= @project.description
......
%h3.page_title %h3.page-title
= @snippet.new_record? ? "New Snippet" : "Edit Snippet ##{@snippet.id}" = @snippet.new_record? ? "New Snippet" : "Edit Snippet ##{@snippet.id}"
%hr %hr
.snippet-form-holder .snippet-form-holder
......
%h3.page_title %h3.page-title
Snippets Snippets
%small share code pastes with others out of git repository %small share code pastes with others out of git repository
......
%h3.page_title %h3.page-title
%i.icon-lock.cgreen %i.icon-lock.cgreen
= @snippet.title = @snippet.title
......
%h3.page_title %h3.page-title
= "New Team member(s)" = "New Team member(s)"
%hr %hr
= form_for @user_project_relation, as: :team_member, url: project_team_members_path(@project) do |f| = form_for @user_project_relation, as: :team_member, url: project_team_members_path(@project) do |f|
......
%h3.page_title %h3.page-title
= "Import team from another project" = "Import team from another project"
%hr %hr
%p.slead %p.slead
......
%h3.page_title %h3.page-title
Users with access to this project Users with access to this project
- if can? current_user, :admin_team_member, @project - if can? current_user, :admin_team_member, @project
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
.ui-box.ui-box-show .ui-box.ui-box-show
.ui-box-head .ui-box-head
%h3.page_title %h3.page-title
.edit-wiki-header .edit-wiki-header
= @wiki.title.titleize = @wiki.title.titleize
= f.hidden_field :title, value: @wiki.title = f.hidden_field :title, value: @wiki.title
......
%div#modal-new-wiki.modal.hide %div#modal-new-wiki.modal.hide
.modal-header .modal-header
%a.close{href: "#"} × %a.close{href: "#"} ×
%h3.page_title New Wiki Page %h3.page-title New Wiki Page
.modal-body .modal-body
= label_tag :new_wiki_path do = label_tag :new_wiki_path do
%span Page slug %span Page slug
......
= render 'nav' = render 'nav'
%h3.page_title %h3.page-title
Editing page Editing page
= render 'main_links' = render 'main_links'
= render 'form' = render 'form'
......
%h3.page_title Empty page %h3.page-title Empty page
%hr %hr
.error_message .error_message
You are not allowed to create wiki pages You are not allowed to create wiki pages
= render 'nav' = render 'nav'
%h3.page_title %h3.page-title
Git Access Git Access
%strong= @gollum_wiki.path_with_namespace %strong= @gollum_wiki.path_with_namespace
= render 'main_links' = render 'main_links'
......
= render 'nav' = render 'nav'
%h3.page_title %h3.page-title
%span.light History for %span.light History for
= @wiki.title.titleize = @wiki.title.titleize
= render 'main_links' = render 'main_links'
......
= render 'nav' = render 'nav'
%h3.page_title %h3.page-title
All Pages All Pages
= render 'main_links' = render 'main_links'
%br %br
......
= render 'nav' = render 'nav'
%h3.page_title %h3.page-title
= @wiki.title.titleize = @wiki.title.titleize
= render 'main_links' = render 'main_links'
%br %br
......
.row .row
.span6 .span6
%h3.page_title %h3.page-title
Projects (#{@projects.total_count}) Projects (#{@projects.total_count})
%small with read-only access %small with read-only access
.span6 .span6
......
%h3.page_title %h3.page-title
= @snippet.new_record? ? "New Snippet" : "Edit Snippet ##{@snippet.id}" = @snippet.new_record? ? "New Snippet" : "Edit Snippet ##{@snippet.id}"
%hr %hr
.snippet-form-holder .snippet-form-holder
......
%h3.page_title %h3.page-title
My Snippets My Snippets
%small share code pastes with others out of git repository %small share code pastes with others out of git repository
.pull-right .pull-right
......
%h3.page_title %h3.page-title
Public snippets Public snippets
%small share code pastes with others out of git repository %small share code pastes with others out of git repository
......
%h3.page_title %h3.page-title
- if @snippet.private? - if @snippet.private?
%i{:class => "icon-lock cgreen has_bottom_tooltip", "data-original-title" => "Private snippet"} %i{:class => "icon-lock cgreen has_bottom_tooltip", "data-original-title" => "Private snippet"}
- else - else
......
%h3.page_title %h3.page-title
= image_tag gravatar_icon(@user.email), class: "avatar s24" = image_tag gravatar_icon(@user.email), class: "avatar s24"
= @user.name = @user.name
%span %span
......
.row .row
.span8 .span8
%h3.page_title %h3.page-title
= image_tag gravatar_icon(@user.email, 90), class: "avatar s90", alt: '' = image_tag gravatar_icon(@user.email, 90), class: "avatar s90", alt: ''
= @user.name = @user.name
- if @user == current_user - if @user == current_user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment