|
1 | 1 | <%= status_view :status_styles, :layout => false %>
|
2 | 2 |
|
3 | 3 | <h1 class='wi'>Statuses</h1>
|
| 4 | + |
4 | 5 | <%unless @statuses.empty?%>
|
5 |
| -<form method="POST" action="<%= u(:statuses) %>/clear" class='clear-failed'> |
6 |
| - <input type='submit' name='' value='Clear Statuses' onclick='return confirm("Are you absolutely sure? This cannot be undone.");' /> |
7 |
| -</form> |
8 |
| -<form method="POST" action="<%= u(:statuses) %>/clear/completed" class='clear-failed'> |
9 |
| - <input type='submit' name='' value='Clear Completed Statuses' onclick='return confirm("Are you absolutely sure? This cannot be undone.");' /> |
10 |
| -</form> |
11 |
| -<form method="POST" action="<%= u(:statuses) %>/clear/failed" class='clear-failed'> |
12 |
| - <input type='submit' name='' value='Clear Failed Statuses' onclick='return confirm("Are you absolutely sure? This cannot be undone.");' /> |
13 |
| -</form> |
| 6 | + <form method="POST" action="<%= u(:statuses) %>/clear" class='clear-failed'> |
| 7 | + <input type='submit' name='' value='Clear Statuses' onclick='return confirm("Are you absolutely sure? This cannot be undone.");' /> |
| 8 | + </form> |
| 9 | + <form method="POST" action="<%= u(:statuses) %>/clear/completed" class='clear-failed'> |
| 10 | + <input type='submit' name='' value='Clear Completed Statuses' onclick='return confirm("Are you absolutely sure? This cannot be undone.");' /> |
| 11 | + </form> |
| 12 | + <form method="POST" action="<%= u(:statuses) %>/clear/failed" class='clear-failed'> |
| 13 | + <input type='submit' name='' value='Clear Failed Statuses' onclick='return confirm("Are you absolutely sure? This cannot be undone.");' /> |
| 14 | + </form> |
14 | 15 | <%end%>
|
| 16 | + |
15 | 17 | <p class='intro'>These are recent jobs created with the Resque::Plugins::Status class</p>
|
16 |
| -<table> |
| 18 | +<table class="vertically-top"> |
17 | 19 | <tr>
|
18 | 20 | <th>ID</th>
|
19 | 21 | <th>Name</th>
|
|
46 | 48 | </table>
|
47 | 49 |
|
48 | 50 | <% unless @statuses.empty? %>
|
49 |
| - <%= partial :next_more, :start => @start, :size => @size %> |
| 51 | + <%= partial :next_more, :start => @start, :size => @size, :per_page => per_page %> |
50 | 52 | <% end %>
|
51 | 53 |
|
52 | 54 | <%= status_poll(@start) %>
|
|
0 commit comments