File: _summary.erb

package info (click to toggle)
ruby-sidekiq 5.2.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 828 kB
  • sloc: ruby: 4,065; makefile: 24; sh: 6
file content (40 lines) | stat: -rw-r--r-- 1,466 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<ul class="list-unstyled summary row">
  <li class="processed col-sm-1">
    <span class="count"><%= number_with_delimiter(stats.processed) %></span>
    <span class="desc"><%= t('Processed') %></span>
  </li>
  <li class="failed col-sm-1">
    <span class="count"><%= number_with_delimiter(stats.failed) %></span>
    <span class="desc"><%= t('Failed') %></span>
  </li>
  <li class="busy col-sm-1">
    <a href="<%= root_path %>busy">
      <span class="count"><%= number_with_delimiter(workers.size) %></span>
      <span class="desc"><%= t('Busy') %></span>
    </a>
  </li>
  <li class="enqueued col-sm-1">
    <a href="<%= root_path %>queues">
      <span class="count"><%= number_with_delimiter(stats.enqueued) %></span>
      <span class="desc"><%= t('Enqueued') %></span>
    </a>
  </li>
  <li class="retries col-sm-1">
    <a href="<%= root_path %>retries">
      <span class="count"><%= number_with_delimiter(stats.retry_size) %></span>
      <span class="desc"><%= t('Retries') %></span>
    </a>
  </li>
  <li class="scheduled col-sm-1">
    <a href="<%= root_path %>scheduled">
      <span class="count"><%= number_with_delimiter(stats.scheduled_size) %></span>
      <span class="desc"><%= t('Scheduled') %></span>
    </a>
  </li>
  <li class="dead col-sm-1">
    <a href="<%= root_path %>morgue">
      <span class="count"><%= number_with_delimiter(stats.dead_size) %></span>
      <span class="desc"><%= t('Dead') %></span>
    </a>
  </li>
</ul>