%table.main
  %thead
    %tr
      %th.check
        = check_box_tag "check_all"
      %th.status
        %span{:alt => "Status", :title => "Status"} &bull;
      %th.hostname
        Hostname
      %th.latest_report.desc
        &darr; Latest Report
  %tbody
    - nodes.each do |n|
      %tr[n]{:class => "#{'active' if n == @node}"}
        %td.check
          = check_box_tag dom_id(n)
        %td.status{:class => n.status_class, :alt => n.status_class.titleize, :title => n.status_class.titleize}
          %span &bull;
        %td.hostname
          = link_to h(n.name), n
        %td.latest_report
          = n.last_report ? n.last_report.time.to_s(:long) : "Has not reported"
- if nodes.respond_to?(:total_pages) && nodes.total_pages > 1
  .actionbar
    = will_paginate(nodes)
    %div{:style => 'clear:both;'}
