1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/web/views/_summary.erb

41 lines
1.5 KiB
Text
Raw Normal View History

2013-10-01 00:43:24 -04:00
<ul class="list-unstyled summary row">
2014-02-09 17:56:01 -05:00
<li class="processed col-sm-1">
<span id="txtProcessed" class="count"><%= number_with_delimiter(stats.processed) %></span>
2013-08-21 18:38:52 -04:00
<span class="desc"><%= t('Processed') %></span>
</li>
2014-02-09 17:56:01 -05:00
<li class="failed col-sm-1">
<span id="txtFailed" class="count"><%= number_with_delimiter(stats.failed) %></span>
2013-08-21 18:38:52 -04:00
<span class="desc"><%= t('Failed') %></span>
</li>
2014-02-09 17:56:01 -05:00
<li class="busy col-sm-1">
<a href="<%= root_path %>busy">
<span id="txtBusy" class="count"><%= number_with_delimiter(workers.size) %></span>
<span class="desc"><%= t('Busy') %></span>
</a>
2013-08-21 18:38:52 -04:00
</li>
2014-02-09 17:56:01 -05:00
<li class="enqueued col-sm-1">
<a href="<%= root_path %>queues">
<span id="txtEnqueued" class="count"><%= number_with_delimiter(stats.enqueued) %></span>
<span class="desc"><%= t('Enqueued') %></span>
</a>
2013-08-21 18:38:52 -04:00
</li>
2014-02-09 17:56:01 -05:00
<li class="retries col-sm-1">
<a href="<%= root_path %>retries">
<span id="txtRetries" class="count"><%= number_with_delimiter(stats.retry_size) %></span>
<span class="desc"><%= t('Retries') %></span>
</a>
2013-08-21 18:38:52 -04:00
</li>
2014-02-09 17:56:01 -05:00
<li class="scheduled col-sm-1">
<a href="<%= root_path %>scheduled">
<span id="txtScheduled" class="count"><%= number_with_delimiter(stats.scheduled_size) %></span>
<span class="desc"><%= t('Scheduled') %></span>
</a>
2013-08-21 18:38:52 -04:00
</li>
2014-02-09 17:56:01 -05:00
<li class="dead col-sm-1">
<a href="<%= root_path %>morgue">
<span id="txtDead" class="count"><%= number_with_delimiter(stats.dead_size) %></span>
2014-02-09 17:56:01 -05:00
<span class="desc"><%= t('Dead') %></span>
</a>
</li>
2013-08-21 18:38:52 -04:00
</ul>