Skip to content

Commit

Permalink
Adjust style so that buttons do not stick out
Browse files Browse the repository at this point in the history
  • Loading branch information
mishina2228 authored and PatrickTulskie committed May 31, 2023
1 parent 805f328 commit 32a9c0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/resque/scheduler/server/views/delayed.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</tr>
<% resque.delayed_queue_peek(start, 20).each do |timestamp| %>
<tr>
<td>
<td style="padding-top: 12px; padding-bottom: 2px; width: 10px">
<form action="<%= u "/delayed/queue_now" %>" method="post">
<input type="hidden" name="timestamp" value="<%= timestamp.to_i %>">
<input type="submit" value="Queue now">
Expand Down
4 changes: 2 additions & 2 deletions lib/resque/scheduler/server/views/search.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
</tr>
<% delayed.each do |job| %>
<tr>
<td>
<td style="padding-top: 12px; padding-bottom: 2px; width: 10px">
<form action="<%= u "/delayed/queue_now" %>" method="post">
<input type="hidden" name="timestamp" value="<%= job['timestamp'].to_i %>">
<input type="submit" value="Queue now">
</form>
</td>
<td>
<td style="padding-top: 12px; padding-bottom: 2px; width: 10px">
<form action="<%= u "/delayed/cancel_now" %>" method="post">
<input type="hidden" name="timestamp" value="<%= job['timestamp'].to_i %>">
<input type="hidden" name="klass" value="<%= job['class'] %>">
Expand Down

0 comments on commit 32a9c0c

Please sign in to comment.