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