anchor.diff:      font-size: .9em;
       padding: 0 15px 5px 15px;    
     }
  +  a.queue {
  +    color: #666;
  +    text-decoration: none;
  +    text-transform: uppercase;
  +    font-size: .9em;
  +  }
  +  a.queue:hover {
  +    color: #000;
  +    background-color: #e0f3ff;
  +  }  
   </style>
   </head>
   <body>
  
positive.code:   </tr>
    <% for queue in resque.queues %> 
      <tr>
        <td><%= queue %></td>
        <td><%= resque.size queue %></td>      
      </tr>
    <% end %>
  
negative.code:     <th>Host</th>
      <th>Pid</th>    
      <th>Queues</th>        
      <th>Status</th>    
    </tr>
    <% for worker in resque.workers %>
      <tr>
        <td><img src="<%= state = resque.worker_state(worker) %>.png" alt="<%= state %>" title="<%= state %>"></td>
        
        <% host, pid, queues = worker.split(':') %>
        <td><%= host %></td>
        <td><%= pid %></td>
        <td><%= queues.split(',').map { |q| '<a class="queue" href="#">' + q + '</a>'}.join(', ') %></td>
        
        <td>      
        <% data = resque.worker(worker) || {} %>
        <% if data['queue'] %>
          Begun processing a <%= data['payload']['class'] %>
          from <a class="queue" href="#"><%= data['queue'] %></a>
          2 minutes ago
        <% else %>
          Chillin'
        <% end %>
        </td>
          
      </tr>
    <% end %>
  </table>
  
  <% failed = resque.peek(:failed, 0, 20) %>
  <% if failed.any? %>
    <h1>Failed</h1>
    <table>
      <tr>
        <th>Name</th>
        <th>State</th>
        <th>Started Working</th>
        <th>Job Class</th>
        <th>Job Args</th>        
      </tr>
      <% for job in resque.peek(:failed, 0, 20) %>
      <tr>
        <td><%= job.inspect %></td>
      </tr>
      <% end %>
    </table>
  <% end %>
  
  </body>
  </html>  
  