Commit 38ff5d1a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Replace ui-box title with panel-heading

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 6dcbe1b4
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
%hr %hr
.panel.panel-default .panel.panel-default
.title Sidekiq running processes .panel-heading Sidekiq running processes
.body .body
- if @sidekiq_processes.empty? - if @sidekiq_processes.empty?
%h4.cred %h4.cred
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
.row .row
.col-md-6 .col-md-6
.panel.panel-default .panel.panel-default
.title .panel-heading
Group info: Group info:
%ul.well-list %ul.well-list
%li %li
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
= @group.created_at.stamp("March 1, 1999") = @group.created_at.stamp("March 1, 1999")
.panel.panel-default .panel.panel-default
.title .panel-heading
Projects Projects
%small %small
(#{@group.projects.count}) (#{@group.projects.count})
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
.col-md-6 .col-md-6
.panel.panel-default .panel.panel-default
.title .panel-heading
Add user(s) to the group: Add user(s) to the group:
.body.form-holder .body.form-holder
%p.light %p.light
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
%hr %hr
= submit_tag 'Add users into group', class: "btn btn-create" = submit_tag 'Add users into group', class: "btn btn-create"
.panel.panel-default .panel.panel-default
.title .panel-heading
%strong #{@group.name} %strong #{@group.name}
Group Members Group Members
%small %small
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
-if @hooks.any? -if @hooks.any?
.panel.panel-default .panel.panel-default
.title .panel-heading
System hooks (#{@hooks.count}) System hooks (#{@hooks.count})
%ul.well-list %ul.well-list
- @hooks.each do |hook| - @hooks.each do |hook|
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
.col-md-8 .col-md-8
.panel.panel-default .panel.panel-default
.title .panel-heading
Projects (#{@projects.total_count}) Projects (#{@projects.total_count})
.pull-right .pull-right
.dropdown.inline .dropdown.inline
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.row .row
.col-md-6 .col-md-6
.panel.panel-default .panel.panel-default
.title .panel-heading
Project info: Project info:
%ul.well-list %ul.well-list
%li %li
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
= visibility_level_label(@project.visibility_level) = visibility_level_label(@project.visibility_level)
.panel.panel-default .panel.panel-default
.title .panel-heading
Transfer project Transfer project
.body .body
= form_for @project, url: transfer_admin_project_path(@project), method: :put, html: { class: 'form-horizontal' } do |f| = form_for @project, url: transfer_admin_project_path(@project), method: :put, html: { class: 'form-horizontal' } do |f|
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
.col-md-6 .col-md-6
- if @group - if @group
.panel.panel-default .panel.panel-default
.title .panel-heading
%strong #{@group.name} %strong #{@group.name}
group members (#{@group.users_groups.count}) group members (#{@group.users_groups.count})
.pull-right .pull-right
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
= render 'users_groups/users_group', member: member, show_controls: false = render 'users_groups/users_group', member: member, show_controls: false
.panel.panel-default .panel.panel-default
.title .panel-heading
Project members Project members
%small %small
(#{@project.users.count}) (#{@project.users.count})
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
.col-md-9 .col-md-9
.panel.panel-default .panel.panel-default
.title .panel-heading
Users (#{@users.total_count}) Users (#{@users.total_count})
.pull-right .pull-right
= link_to 'New User', new_admin_user_path, class: "btn btn-new" = link_to 'New User', new_admin_user_path, class: "btn btn-new"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
.row .row
.col-md-6 .col-md-6
.panel.panel-default .panel.panel-default
.title .panel-heading
Account: Account:
.pull-right .pull-right
= image_tag avatar_icon(@user.email, 32), class: "avatar s32" = image_tag avatar_icon(@user.email, 32), class: "avatar s32"
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
.col-md-6 .col-md-6
- if @user.users_groups.present? - if @user.users_groups.present?
.panel.panel-default .panel.panel-default
.title Groups: .panel-heading Groups:
%ul.well-list %ul.well-list
- @user.users_groups.each do |user_group| - @user.users_groups.each do |user_group|
- group = user_group.group - group = user_group.group
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
%i.icon-remove.icon-white %i.icon-remove.icon-white
.panel.panel-default .panel.panel-default
.title Projects (#{@projects.count}) .panel-heading Projects (#{@projects.count})
%ul.well-list %ul.well-list
- @projects.sort_by(&:name_with_namespace).each do |project| - @projects.sort_by(&:name_with_namespace).each do |project|
- tm = project.team.find_tm(@user.id) - tm = project.team.find_tm(@user.id)
......
.panel.panel-default .panel.panel-default
.title.clearfix .panel-heading.clearfix
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control' = search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_group? - if current_user.can_create_group?
%span.pull-right %span.pull-right
......
.panel.panel-default .panel.panel-default
.title.clearfix .panel-heading.clearfix
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter form-control' = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_project? - if current_user.can_create_project?
%span.pull-right %span.pull-right
......
.panel.panel-default .panel.panel-default
.title .panel-heading
Projects (#{projects.count}) Projects (#{projects.count})
- if can? current_user, :create_projects, @group - if can? current_user, :create_projects, @group
%span.pull-right %span.pull-right
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
.tab-content .tab-content
.tab-pane.active#tab-edit .tab-pane.active#tab-edit
.panel.panel-default .panel.panel-default
.title .panel-heading
%strong= @group.name %strong= @group.name
group settings: group settings:
%div.form-holder %div.form-holder
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
.tab-pane#tab-projects .tab-pane#tab-projects
.panel.panel-default .panel.panel-default
.title .panel-heading
%strong= @group.name %strong= @group.name
projects: projects:
- if can? current_user, :manage_group, @group - if can? current_user, :manage_group, @group
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
.tab-pane#tab-remove .tab-pane#tab-remove
.panel.panel-default.panel.panel-default-danger .panel.panel-default.panel.panel-default-danger
.title Remove group .panel-heading Remove group
.body .body
%p %p
Removing group will cause all child projects and resources to be removed. Removing group will cause all child projects and resources to be removed.
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
= render "new_group_member" = render "new_group_member"
.panel.panel-default.prepend-top-20 .panel.panel-default.prepend-top-20
.title .panel-heading
%strong #{@group.name} %strong #{@group.name}
group members group members
%small %small
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
.row .row
.col-md-4 .col-md-4
.panel.panel-default .panel.panel-default
.title .panel-heading
Quick help Quick help
%ul.well-list %ul.well-list
%li %li
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
.col-md-8 .col-md-8
.panel.panel-default.documentation .panel.panel-default.documentation
.title Documentation .panel-heading Documentation
= preserve do = preserve do
- readme_text = File.read(Rails.root.join("doc", "README.md")) - readme_text = File.read(Rails.root.join("doc", "README.md"))
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%hr %hr
.panel.panel-default .panel.panel-default
.title .panel-heading
Emails (#{@emails.count + 1}) Emails (#{@emails.count + 1})
%ul.well-list#emails-table %ul.well-list#emails-table
%li %li
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
Group members have access to all a group's projects Group members have access to all a group's projects
%hr %hr
.panel.panel-default .panel.panel-default
.title .panel-heading
%strong Groups %strong Groups
(#{@user_groups.count}) (#{@user_groups.count})
%ul.well-list %ul.well-list
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
.panel.panel-default .panel.panel-default
.title .panel-heading
SSH Keys (#{@keys.count}) SSH Keys (#{@keys.count})
%ul.well-list#keys-table %ul.well-list#keys-table
= render @keys = render @keys
......
.row .row
.col-md-4 .col-md-4
.panel.panel-default .panel.panel-default
.title .panel-heading
SSH Key SSH Key
%ul.well-list %ul.well-list
%li %li
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
- if @commits.present? - if @commits.present?
%div.panel.panel-default %div.panel.panel-default
.title .panel-heading
Commits (#{@commits.count}) Commits (#{@commits.count})
- if @commits.size > MergeRequestDiff::COMMITS_SAFE_SIZE - if @commits.size > MergeRequestDiff::COMMITS_SAFE_SIZE
%ul.well-list %ul.well-list
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
.js-toggle-content.hide .js-toggle-content.hide
- if can? current_user, :archive_project, @project - if can? current_user, :archive_project, @project
.panel.panel-default.panel.panel-default-danger .panel.panel-default.panel.panel-default-danger
.title .panel-heading
- if @project.archived? - if @project.archived?
Unarchive project Unarchive project
- else - else
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
- if can?(current_user, :change_namespace, @project) - if can?(current_user, :change_namespace, @project)
.panel.panel-default.panel.panel-default-danger .panel.panel-default.panel.panel-default-danger
.title Transfer project .panel-heading Transfer project
.errors-holder .errors-holder
.form-holder .form-holder
= form_for(@project, url: transfer_project_path(@project), method: :put, remote: true, html: { class: 'transfer-project form-horizontal' }) do |f| = form_for(@project, url: transfer_project_path(@project), method: :put, remote: true, html: { class: 'transfer-project form-horizontal' }) do |f|
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
.nothing-here-block Only the project owner can transfer a project .nothing-here-block Only the project owner can transfer a project
.panel.panel-default.panel.panel-default-danger .panel.panel-default.panel.panel-default-danger
.title Rename repository .panel-heading Rename repository
.errors-holder .errors-holder
.form-holder .form-holder
= form_for(@project, html: { class: 'form-horizontal' }) do |f| = form_for(@project, html: { class: 'form-horizontal' }) do |f|
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
- if can?(current_user, :remove_project, @project) - if can?(current_user, :remove_project, @project)
.panel.panel-default.panel.panel-default-danger .panel.panel-default.panel.panel-default-danger
.title Remove project .panel-heading Remove project
.body .body
%p %p
Removing the project will delete its repository and all related resources including issues, merge requests etc. Removing the project will delete its repository and all related resources including issues, merge requests etc.
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
-if @hooks.any? -if @hooks.any?
.panel.panel-default .panel.panel-default
.title .panel-heading
Web hooks (#{@hooks.count}) Web hooks (#{@hooks.count})
%ul.well-list %ul.well-list
- @hooks.each do |hook| - @hooks.each do |hook|
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
.mr-compare .mr-compare
%div.panel.panel-default %div.panel.panel-default
.title .panel-heading
Commits (#{@commits.count}) Commits (#{@commits.count})
- if @commits.size > MergeRequestDiff::COMMITS_SAFE_SIZE - if @commits.size > MergeRequestDiff::COMMITS_SAFE_SIZE
%ul.well-list %ul.well-list
......
- if @commits.present? - if @commits.present?
.panel.panel-default .panel.panel-default
.title .panel-heading
%i.icon-list %i.icon-list
Commits (#{@commits.count}) Commits (#{@commits.count})
.commits .commits
......
.panel.panel-default .panel.panel-default
.title= title .panel-heading= title
%ul.well-list %ul.well-list
- issues.each do |issue| - issues.each do |issue|
%li %li
......
...@@ -85,13 +85,13 @@ ...@@ -85,13 +85,13 @@
.row .row
.col-md-6 .col-md-6
.panel.panel-default .panel.panel-default
.title Open .panel-heading Open
%ul.well-list %ul.well-list
- @merge_requests.opened.each do |merge_request| - @merge_requests.opened.each do |merge_request|
= render 'merge_request', merge_request: merge_request = render 'merge_request', merge_request: merge_request
.col-md-6 .col-md-6
.panel.panel-default .panel.panel-default
.title Closed .panel-heading Closed
%ul.well-list %ul.well-list
- @merge_requests.closed.each do |merge_request| - @merge_requests.closed.each do |merge_request|
= render 'merge_request', merge_request: merge_request = render 'merge_request', merge_request: merge_request
......
- group_users_count = @group.users_groups.count - group_users_count = @group.users_groups.count
.panel.panel-default .panel.panel-default
.title .panel-heading
%strong #{@group.name} %strong #{@group.name}
group members (#{group_users_count}) group members (#{group_users_count})
.pull-right .pull-right
......
.team-table .team-table
- can_admin_project = (can? current_user, :admin_project, @project) - can_admin_project = (can? current_user, :admin_project, @project)
.panel.panel-default .panel.panel-default
.title .panel-heading
%strong #{@project.name} %strong #{@project.name}
project members (#{members.count}) project members (#{members.count})
%ul.well-list %ul.well-list
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- @issues.group_by(&:project).each do |group| - @issues.group_by(&:project).each do |group|
.panel.panel-default.panel.panel-default-small .panel.panel-default.panel.panel-default-small
- project = group[0] - project = group[0]
.title .panel-heading
= link_to_project project = link_to_project project
= link_to 'show all', project_issues_path(project), class: 'pull-right' = link_to 'show all', project_issues_path(project), class: 'pull-right'
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- @merge_requests.group_by(&:target_project).each do |group| - @merge_requests.group_by(&:target_project).each do |group|
.panel.panel-default.panel.panel-default-small .panel.panel-default.panel.panel-default-small
- project = group[0] - project = group[0]
.title .panel-heading
= link_to_project project = link_to_project project
= link_to 'show all', project_merge_requests_path(project), class: 'pull-right' = link_to 'show all', project_merge_requests_path(project), class: 'pull-right'
%ul.well-list.mr-list %ul.well-list.mr-list
......
.panel.panel-default .panel.panel-default
.title .panel-heading
Profile Profile
%ul.well-list %ul.well-list
%li %li
......
.panel.panel-default .panel.panel-default
.title Projects .panel-heading Projects
%ul.well-list %ul.well-list
- @projects.each do |project| - @projects.each do |project|
%li %li
......
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