1
0
Fork 0
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:
Mike Perham 2021-06-22 09:59:09 -07:00
parent 2e0de31ded
commit 561e50f5ae
4 changed files with 15 additions and 15 deletions

View file

@ -82,8 +82,8 @@
<input type="hidden" name="identity" value="<%= process['identity'] %>"/> <input type="hidden" name="identity" value="<%= process['identity'] %>"/>
<div class="btn-group pull-right flip"> <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 %> <% unless process.stopping? %><button class="btn btn-xs 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> <button class="btn btn-xs btn-danger" type="submit" name="stop" value="1"><%= t('Stop') %></button>
</div> </div>
</form> </form>
</td> </td>

View file

@ -58,18 +58,18 @@
<% end %> <% end %>
</table> </table>
</div> </div>
<input class="btn btn-primary btn-xs pull-left flip" type="submit" name="retry" value="<%= t('RetryNow') %>" /> <input class="btn btn-primary 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 pull-left flip" type="submit" name="delete" value="<%= t('Delete') %>" />
</form> </form>
<% unfiltered? do %> <% unfiltered? do %>
<form action="<%= root_path %>morgue/all/delete" method="post"> <form action="<%= root_path %>morgue/all/delete" method="post">
<%= csrf_tag %> <%= 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>
<form action="<%= root_path %>morgue/all/retry" method="post"> <form action="<%= root_path %>morgue/all/retry" method="post">
<%= csrf_tag %> <%= 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>
<% end %> <% end %>

View file

@ -21,13 +21,13 @@
<td class="delete-confirm"> <td class="delete-confirm">
<form action="<%=root_path %>queues/<%= CGI.escape(queue.name) %>" method="post"> <form action="<%=root_path %>queues/<%= CGI.escape(queue.name) %>" method="post">
<%= csrf_tag %> <%= 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 Sidekiq.pro? %>
<% if queue.paused? %> <% 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 %> <% 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 %>
<% end %> <% end %>
</form> </form>

View file

@ -58,23 +58,23 @@
<% end %> <% end %>
</table> </table>
</div> </div>
<input class="btn btn-primary btn-xs pull-left flip" type="submit" name="retry" value="<%= t('RetryNow') %>" /> <input class="btn btn-primary 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 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-danger pull-left flip" type="submit" name="kill" value="<%= t('Kill') %>" />
</form> </form>
<% unfiltered? do %> <% unfiltered? do %>
<form action="<%= root_path %>retries/all/delete" method="post"> <form action="<%= root_path %>retries/all/delete" method="post">
<%= csrf_tag %> <%= 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>
<form action="<%= root_path %>retries/all/retry" method="post"> <form action="<%= root_path %>retries/all/retry" method="post">
<%= csrf_tag %> <%= 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>
<form action="<%= root_path %>retries/all/kill" method="post"> <form action="<%= root_path %>retries/all/kill" method="post">
<%= csrf_tag %> <%= 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> </form>
<% end %> <% end %>