Commit 6dcbe1b4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Replace ui-box with panel.panel-default

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent e6beb609
......@@ -3,7 +3,7 @@
%hr
.ui-box
.panel.panel-default
.title Sidekiq running processes
.body
- if @sidekiq_processes.empty?
......@@ -40,5 +40,5 @@
.ui-box
.panel.panel-default
%iframe{src: sidekiq_path, width: '100%', height: 900, style: "border: none"}
......@@ -7,7 +7,7 @@
%hr
.row
.col-md-6
.ui-box
.panel.panel-default
.title
Group info:
%ul.well-list
......@@ -29,7 +29,7 @@
%strong
= @group.created_at.stamp("March 1, 1999")
.ui-box
.panel.panel-default
.title
Projects
%small
......@@ -45,7 +45,7 @@
%span.monospace= project.path_with_namespace + ".git"
.col-md-6
.ui-box
.panel.panel-default
.title
Add user(s) to the group:
.body.form-holder
......@@ -60,7 +60,7 @@
= select_tag :group_access, options_for_select(UsersGroup.group_access_roles), class: "project-access-select select2"
%hr
= submit_tag 'Add users into group', class: "btn btn-create"
.ui-box
.panel.panel-default
.title
%strong #{@group.name}
Group Members
......
......@@ -22,7 +22,7 @@
%hr
-if @hooks.any?
.ui-box
.panel.panel-default
.title
System hooks (#{@hooks.count})
%ul.well-list
......
......@@ -37,7 +37,7 @@
= link_to "Reset", admin_projects_path, class: "btn"
.col-md-8
.ui-box
.panel.panel-default
.title
Projects (#{@projects.total_count})
.pull-right
......
......@@ -6,7 +6,7 @@
%hr
.row
.col-md-6
.ui-box
.panel.panel-default
.title
Project info:
%ul.well-list
......@@ -75,7 +75,7 @@
= visibility_level_icon(@project.visibility_level)
= visibility_level_label(@project.visibility_level)
.ui-box
.panel.panel-default
.title
Transfer project
.body
......@@ -92,7 +92,7 @@
.col-md-6
- if @group
.ui-box
.panel.panel-default
.title
%strong #{@group.name}
group members (#{@group.users_groups.count})
......@@ -103,7 +103,7 @@
- @group.users_groups.order('group_access DESC').each do |member|
= render 'users_groups/users_group', member: member, show_controls: false
.ui-box
.panel.panel-default
.title
Project members
%small
......
......@@ -28,7 +28,7 @@
= link_to 'Reset', admin_users_path, class: "btn btn-cancel"
.col-md-9
.ui-box
.panel.panel-default
.title
Users (#{@users.total_count})
.pull-right
......
......@@ -14,7 +14,7 @@
.row
.col-md-6
.ui-box
.panel.panel-default
.title
Account:
.pull-right
......@@ -118,7 +118,7 @@
.col-md-6
- if @user.users_groups.present?
.ui-box
.panel.panel-default
.title Groups:
%ul.well-list
- @user.users_groups.each do |user_group|
......@@ -132,7 +132,7 @@
= link_to group_users_group_path(group, user_group), data: { confirm: remove_user_from_group_message(group, @user) }, method: :delete, remote: true, class: "btn-tiny btn btn-remove", title: 'Remove user from group' do
%i.icon-remove.icon-white
.ui-box
.panel.panel-default
.title Projects (#{@projects.count})
%ul.well-list
- @projects.sort_by(&:name_with_namespace).each do |project|
......
.ui-box
.panel.panel-default
.title.clearfix
= search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_group?
......
.ui-box
.panel.panel-default
.title.clearfix
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter form-control'
- if current_user.can_create_project?
......
.ui-box
.panel.panel-default
.title
Projects (#{projects.count})
- if can? current_user, :create_projects, @group
......
......@@ -17,7 +17,7 @@
.col-md-10
.tab-content
.tab-pane.active#tab-edit
.ui-box
.panel.panel-default
.title
%strong= @group.name
group settings:
......@@ -61,7 +61,7 @@
= f.submit 'Save group', class: "btn btn-save"
.tab-pane#tab-projects
.ui-box
.panel.panel-default
.title
%strong= @group.name
projects:
......@@ -84,7 +84,7 @@
.nothing-here-block This group has no projects yet
.tab-pane#tab-remove
.ui-box.ui-box-danger
.panel.panel-default.panel.panel-default-danger
.title Remove group
.body
%p
......
......@@ -24,7 +24,7 @@
.js-toggle-content.hide.new-group-member-holder
= render "new_group_member"
.ui-box.prepend-top-20
.panel.panel-default.prepend-top-20
.title
%strong #{@group.name}
group members
......
......@@ -18,7 +18,7 @@
.row
.col-md-4
.ui-box
.panel.panel-default
.title
Quick help
%ul.well-list
......@@ -34,7 +34,7 @@
= link_to "shortcuts", '#', onclick: "new Shortcuts()"
.col-md-8
.ui-box.documentation
.panel.panel-default.documentation
.title Documentation
= preserve do
......
......@@ -9,7 +9,7 @@
%hr
.ui-box
.panel.panel-default
.title
Emails (#{@emails.count + 1})
%ul.well-list#emails-table
......
......@@ -8,7 +8,7 @@
%p.light
Group members have access to all a group's projects
%hr
.ui-box
.panel.panel-default
.title
%strong Groups
(#{@user_groups.count})
......
......@@ -10,7 +10,7 @@
%hr
.ui-box
.panel.panel-default
.title
SSH Keys (#{@keys.count})
%ul.well-list#keys-table
......
.row
.col-md-4
.ui-box
.panel.panel-default
.title
SSH Key
%ul.well-list
......
......@@ -6,7 +6,7 @@
= render "form"
- if @commits.present?
%div.ui-box
%div.panel.panel-default
.title
Commits (#{@commits.count})
- if @commits.size > MergeRequestDiff::COMMITS_SAFE_SIZE
......
......@@ -106,7 +106,7 @@
.js-toggle-content.hide
- if can? current_user, :archive_project, @project
.ui-box.ui-box-danger
.panel.panel-default.panel.panel-default-danger
.title
- if @project.archived?
Unarchive project
......@@ -137,7 +137,7 @@
.nothing-here-block Only the project owner can archive a project
- if can?(current_user, :change_namespace, @project)
.ui-box.ui-box-danger
.panel.panel-default.panel.panel-default-danger
.title Transfer project
.errors-holder
.form-holder
......@@ -157,7 +157,7 @@
- else
.nothing-here-block Only the project owner can transfer a project
.ui-box.ui-box-danger
.panel.panel-default.panel.panel-default-danger
.title Rename repository
.errors-holder
.form-holder
......@@ -177,7 +177,7 @@
= f.submit 'Rename', class: "btn btn-remove"
- if can?(current_user, :remove_project, @project)
.ui-box.ui-box-danger
.panel.panel-default.panel.panel-default-danger
.title Remove project
.body
%p
......
......@@ -51,7 +51,7 @@
= f.submit "Add Web Hook", class: "btn btn-create"
-if @hooks.any?
.ui-box
.panel.panel-default
.title
Web hooks (#{@hooks.count})
%ul.well-list
......
......@@ -61,7 +61,7 @@
= hidden_field_tag :status, params[:status]
= button_tag "Update issues", class: "btn update_selected_issues btn-save"
.ui-box
.panel.panel-default
%ul.well-list.issues-list
= render @issues
- if @issues.blank?
......
......@@ -58,7 +58,7 @@
= f.submit 'Submit merge request', class: "btn btn-create"
.mr-compare
%div.ui-box
%div.panel.panel-default
.title
Commits (#{@commits.count})
- if @commits.size > MergeRequestDiff::COMMITS_SAFE_SIZE
......
......@@ -61,7 +61,7 @@
.pull-right
= render 'shared/sort_dropdown'
.ui-box
.panel.panel-default
%ul.well-list.mr-list
= render @merge_requests
- if @merge_requests.blank?
......
- if @commits.present?
.ui-box
.panel.panel-default
.title
%i.icon-list
Commits (#{@commits.count})
......
.ui-box
.panel.panel-default
.title= title
%ul.well-list
- issues.each do |issue|
......
......@@ -20,7 +20,7 @@
= link_to project_milestones_path(@project, f: "all") do
All
.col-md-9
.ui-box
.panel.panel-default
%ul.well-list
= render @milestones
......
......@@ -84,13 +84,13 @@
.tab-pane#tab-merge-requests
.row
.col-md-6
.ui-box
.panel.panel-default
.title Open
%ul.well-list
- @merge_requests.opened.each do |merge_request|
= render 'merge_request', merge_request: merge_request
.col-md-6
.ui-box
.panel.panel-default
.title Closed
%ul.well-list
- @merge_requests.closed.each do |merge_request|
......
- group_users_count = @group.users_groups.count
.ui-box
.panel.panel-default
.title
%strong #{@group.name}
group members (#{group_users_count})
......
.team-table
- can_admin_project = (can? current_user, :admin_project, @project)
.ui-box
.panel.panel-default
.title
%strong #{@project.name}
project members (#{members.count})
......
- if @issues.any?
- @issues.group_by(&:project).each do |group|
.ui-box.ui-box-small
.panel.panel-default.panel.panel-default-small
- project = group[0]
.title
= link_to_project project
......
- if @merge_requests.any?
- @merge_requests.group_by(&:target_project).each do |group|
.ui-box.ui-box-small
.panel.panel-default.panel.panel-default-small
- project = group[0]
.title
= link_to_project project
......
.ui-box
.panel.panel-default
.title
Profile
%ul.well-list
......
.ui-box
.panel.panel-default
.title Projects
%ul.well-list
- @projects.each do |project|
......
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