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/queues.slim

16 lines
548 B
Text
Raw Normal View History

2013-04-04 20:51:59 -07:00
h3 = t('Queues')
2012-06-11 08:41:13 -07:00
table class="queues table table-hover table-bordered table-striped table-white"
thead
2013-04-04 20:51:59 -07:00
th = t('Queue')
th = t('Size')
th = t('Actions')
2012-12-04 16:57:48 -05:00
- @queues.each do |queue, size|
tr
td
a href="#{root_path}queues/#{queue}" #{queue}
td= number_with_delimiter(size)
td width="20%"
form action="#{root_path}queues/#{queue}" method="post"
2013-04-04 20:51:59 -07:00
input.btn.btn-danger.btn-small type="submit" name="delete" value="#{t('Delete')}" data-confirm="#{t('AreYouSureDeleteQueue', :queue => queue)}"