mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Add confirmation when quieting and stopping all workers
This commit is contained in:
parent
e9fb6c25eb
commit
6ffffe2df3
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@
|
||||||
<form method="POST" style="margin-top: 20px; margin-bottom: 10px;">
|
<form method="POST" style="margin-top: 20px; margin-bottom: 10px;">
|
||||||
<%= csrf_tag %>
|
<%= csrf_tag %>
|
||||||
<div class="btn-group pull-right">
|
<div class="btn-group pull-right">
|
||||||
<button class="btn btn-warn" type="submit" name="quiet" value="1"><%= t('QuietAll') %></button>
|
<button class="btn btn-warn" type="submit" name="quiet" value="1" data-confirm="<%= t('AreYouSure') %>"><%= t('QuietAll') %></button>
|
||||||
<button class="btn btn-danger" type="submit" name="stop" value="1"><%= t('StopAll') %></button>
|
<button class="btn btn-danger" type="submit" name="stop" value="1" data-confirm="<%= t('AreYouSure') %>"><%= t('StopAll') %></button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue