<%= render(:partial => 'status_styles') %>

Statuses

<%unless @statuses.empty?%>
<%end%>

These are recent jobs created with the JobWithStatus class

Showing <%=@start%> to <%= @start + 20 %> of <%= @size %> statuses

<% unless @statuses.empty? %> <% @statuses.each do |status| %> <% end %> <% else %> <% end %>
ID Name Status Last Updated % Complete Message Kill
<%= link_to(status.uuid, {:action => 'status', :id => status.uuid}) %> <%= status.name %> <%= status.status %> <%= format_time(Time.zone.parse(status.time.to_s)) %>
 
<%= status.pct_complete ? "#{status.pct_complete}%" : '' %>
<%= status.message.html_safe %> <% if status.killable? %><%= link_to('Kill', {:action => :kill, :id => status.uuid}, :class => 'kill') %><% end %>
No Statuses right now...
<% unless @statuses.empty? %> <%= render(:partial => 'next_more', :locals => {:start => @start, :size => @size}) %> <% end %> <%= status_poll(@start) %>