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