mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Make some buttons larger.
This commit is contained in:
parent
2e0de31ded
commit
561e50f5ae
4 changed files with 15 additions and 15 deletions
|
@ -82,8 +82,8 @@
|
|||
<input type="hidden" name="identity" value="<%= process['identity'] %>"/>
|
||||
|
||||
<div class="btn-group pull-right flip">
|
||||
<% unless process.stopping? %><button class="btn btn-warn" type="submit" name="quiet" value="1"><%= t('Quiet') %></button><% end %>
|
||||
<button class="btn btn-danger" type="submit" name="stop" value="1"><%= t('Stop') %></button>
|
||||
<% unless process.stopping? %><button class="btn btn-xs btn-warn" type="submit" name="quiet" value="1"><%= t('Quiet') %></button><% end %>
|
||||
<button class="btn btn-xs btn-danger" type="submit" name="stop" value="1"><%= t('Stop') %></button>
|
||||
</div>
|
||||
</form>
|
||||
</td>
|
||||
|
|
|
@ -58,18 +58,18 @@
|
|||
<% end %>
|
||||
</table>
|
||||
</div>
|
||||
<input class="btn btn-primary btn-xs pull-left flip" type="submit" name="retry" value="<%= t('RetryNow') %>" />
|
||||
<input class="btn btn-danger btn-xs pull-left flip" type="submit" name="delete" value="<%= t('Delete') %>" />
|
||||
<input class="btn btn-primary pull-left flip" type="submit" name="retry" value="<%= t('RetryNow') %>" />
|
||||
<input class="btn btn-danger pull-left flip" type="submit" name="delete" value="<%= t('Delete') %>" />
|
||||
</form>
|
||||
|
||||
<% unfiltered? do %>
|
||||
<form action="<%= root_path %>morgue/all/delete" method="post">
|
||||
<%= csrf_tag %>
|
||||
<input class="btn btn-danger btn-xs pull-right flip" type="submit" name="delete" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
||||
<input class="btn btn-danger pull-right flip" type="submit" name="delete" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
||||
</form>
|
||||
<form action="<%= root_path %>morgue/all/retry" method="post">
|
||||
<%= csrf_tag %>
|
||||
<input class="btn btn-danger btn-xs pull-right flip" type="submit" name="retry" value="<%= t('RetryAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
||||
<input class="btn btn-danger pull-right flip" type="submit" name="retry" value="<%= t('RetryAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
||||
</form>
|
||||
<% end %>
|
||||
|
||||
|
|
|
@ -21,13 +21,13 @@
|
|||
<td class="delete-confirm">
|
||||
<form action="<%=root_path %>queues/<%= CGI.escape(queue.name) %>" method="post">
|
||||
<%= csrf_tag %>
|
||||
<input class="btn btn-danger btn-xs" type="submit" name="delete" value="<%= t('Delete') %>" data-confirm="<%= t('AreYouSureDeleteQueue', :queue => h(queue.name)) %>" />
|
||||
<input class="btn btn-danger" type="submit" name="delete" value="<%= t('Delete') %>" data-confirm="<%= t('AreYouSureDeleteQueue', :queue => h(queue.name)) %>" />
|
||||
|
||||
<% if Sidekiq.pro? %>
|
||||
<% if queue.paused? %>
|
||||
<input class="btn btn-danger btn-xs" type="submit" name="unpause" value="<%= t('Unpause') %>" />
|
||||
<input class="btn btn-danger" type="submit" name="unpause" value="<%= t('Unpause') %>" />
|
||||
<% else %>
|
||||
<input class="btn btn-danger btn-xs" type="submit" name="pause" value="<%= t('Pause') %>" />
|
||||
<input class="btn btn-danger" type="submit" name="pause" value="<%= t('Pause') %>" />
|
||||
<% end %>
|
||||
<% end %>
|
||||
</form>
|
||||
|
|
|
@ -58,23 +58,23 @@
|
|||
<% end %>
|
||||
</table>
|
||||
</div>
|
||||
<input class="btn btn-primary btn-xs pull-left flip" type="submit" name="retry" value="<%= t('RetryNow') %>" />
|
||||
<input class="btn btn-danger btn-xs pull-left flip" type="submit" name="delete" value="<%= t('Delete') %>" />
|
||||
<input class="btn btn-danger btn-xs pull-left flip" type="submit" name="kill" value="<%= t('Kill') %>" />
|
||||
<input class="btn btn-primary pull-left flip" type="submit" name="retry" value="<%= t('RetryNow') %>" />
|
||||
<input class="btn btn-danger pull-left flip" type="submit" name="delete" value="<%= t('Delete') %>" />
|
||||
<input class="btn btn-danger pull-left flip" type="submit" name="kill" value="<%= t('Kill') %>" />
|
||||
</form>
|
||||
|
||||
<% unfiltered? do %>
|
||||
<form action="<%= root_path %>retries/all/delete" method="post">
|
||||
<%= csrf_tag %>
|
||||
<input class="btn btn-danger btn-xs pull-right flip" type="submit" name="delete" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
||||
<input class="btn btn-danger pull-right flip" type="submit" name="delete" value="<%= t('DeleteAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
||||
</form>
|
||||
<form action="<%= root_path %>retries/all/retry" method="post">
|
||||
<%= csrf_tag %>
|
||||
<input class="btn btn-danger btn-xs pull-right flip" type="submit" name="retry" value="<%= t('RetryAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
||||
<input class="btn btn-danger pull-right flip" type="submit" name="retry" value="<%= t('RetryAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
||||
</form>
|
||||
<form action="<%= root_path %>retries/all/kill" method="post">
|
||||
<%= csrf_tag %>
|
||||
<input class="btn btn-danger btn-xs pull-right flip" type="submit" name="kill" value="<%= t('KillAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
||||
<input class="btn btn-danger pull-right flip" type="submit" name="kill" value="<%= t('KillAll') %>" data-confirm="<%= t('AreYouSure') %>" />
|
||||
</form>
|
||||
<% end %>
|
||||
|
||||
|
|
Loading…
Reference in a new issue