Retrospring/app/views/admin/dashboard/_sidekiq.html.haml

23 lines
695 B
Plaintext

.card
.card-header
%a.d-flex{ href: sidekiq_web_path }
%strong= t(".title")
%i.fa.fa-chevron-right.ms-auto.align-self-center
- unless @sidekiq[:processes].count.positive?
.card-body.bg-danger.text-light
= t(".error_html", env: Rails.env)
.list-group
.list-group-item.d-flex
%span= t(".processes")
%span.ms-auto= @sidekiq[:processes].count
.list-group-item.d-flex
%span= t(".enqueued")
%span.ms-auto= @sidekiq[:stats].enqueued
.list-group-item.d-flex
%span= t(".retries")
%span.ms-auto= @sidekiq[:stats].retry_size
.list-group-item.d-flex
%span= t(".dead")
%span.ms-auto= @sidekiq[:stats].dead_size