Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/dashboard/index.html.haml25
-rw-r--r--app/views/admin/resque/show.html.haml4
2 files changed, 5 insertions, 24 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml
index 672dad4377e..2e572aaba79 100644
--- a/app/views/admin/dashboard/index.html.haml
+++ b/app/views/admin/dashboard/index.html.haml
@@ -1,5 +1,5 @@
.admin_dash.row
- .span3
+ .span4
.ui-box
%h5.title Projects
.data.padded
@@ -7,7 +7,7 @@
%h1= Project.count
%hr
= link_to 'New Project', new_project_path, class: "btn small"
- .span3
+ .span4
.ui-box
%h5.title Groups
.data.padded
@@ -15,7 +15,7 @@
%h1= Group.count
%hr
= link_to 'New Group', new_admin_group_path, class: "btn small"
- .span3
+ .span4
.ui-box
%h5.title Users
.data.padded
@@ -23,25 +23,6 @@
%h1= User.count
%hr
= link_to 'New User', new_admin_user_path, class: "btn small"
- .span3
- .ui-box
- %h5.title
- Resque Workers
- .data.padded
- - if @resque_accessible
- = link_to admin_resque_path do
- %h1{class: @workers.present? ? "cgreen" : "cred"}
- = @workers.count
- %hr
- %p
- %strong{class: @pending_jobs > 0 ? "cred" : "cgreen"}
- #{@pending_jobs} post receive jobs waiting
- - else
- = link_to admin_resque_path do
- %h1.cdark ?
- %hr
- %p
- %strong Resque status unknown
.row
.span6
diff --git a/app/views/admin/resque/show.html.haml b/app/views/admin/resque/show.html.haml
index 41254a6b6c2..499738f9a06 100644
--- a/app/views/admin/resque/show.html.haml
+++ b/app/views/admin/resque/show.html.haml
@@ -1,4 +1,4 @@
-%h3.page_title Resque
+%h3.page_title Background Jobs
%br
.ui-box
- %iframe{src: resque_path, width: '100%', height: 600, style: "border: none"}
+ %iframe{src: sidekiq_path, width: '100%', height: 900, style: "border: none"}