lib/resque-sliders/server/views/index.erb in resque-sliders-0.0.7 vs lib/resque-sliders/server/views/index.erb in resque-sliders-0.0.8

- old
+ new

@@ -10,11 +10,13 @@ <% if params[:host] || @sliders.all_hosts.length == 1 %> <% host = params[:host] || @sliders.all_hosts.first %> <% max = @sliders.max_children(host) || 'Not running' %> <h2><%= "#{host} (Total: <span id=\"total\"></span> Max: <span id=\"max\">#{max}</span>)" %> + <span class="controls"> <%= daemon_buttons(host, false) %> + </span> </h2> <% @sliders.queue_values(host).each_pair do |queue,value| %> <p> <label for="value"><%= queue %>: </label> <input type="text" id="<%= queue.gsub(',', ':') %>-value" class="values" /> @@ -41,10 +43,12 @@ <%= [@sliders.current_children(host), @sliders.max_children(host)].compact.join(' / ') %> <% end %> </td> <td> <ul> + <span class="controls"> <%= daemon_buttons(host) %> + </span> </ul> </td> </tr> <% end %> </table>