anchor.diff:                  | ]
                 td=host.ip
                 td=humane_time(host.time)
  -
             tr(class="table-hack")
               td(class="table-hack")
               td(class="table-hack")
  
positive.code:             td(class="table-hack")
              td(class="table-hack")
      section(id='hosts')
        h1 Hosts
        hr
        table.table.table-bordered#host-stats.sortable
          thead
            tr#header
              th Health
  
negative.code:             th Last Updated
          tbody
            for host in hosts
              for service, name in host.services
                - var service_color = service.healthy ? health.healthy : health.unhealthy
                - var service_error_msg = service.error_msg
                - var service_metrics = service.metrics
                  tr
                    td(class=service_color+' data-row', style='text-align: center;')=(service.healthy ? '☺' : '☹')
                    td
                      button(data-toggle='collapse', data-target='#'+service.service+'_metric_data').btn.btn-info
                        =service.service
                    td
                      a(name=host.service_name+'_'+name)=host.service_name
                    td
                      a(href='#host-name-'+host.service_name)=host.service_name
                    td=host.ip
                    td=humane_time(host.time)
                  tr
                   td(colspan=6)
                      if service_metrics || service_error_msg
                        div(id=service.service+'_metric_data', class='collapse')
                          table.table
                            thead
                              tr
                                th Name
                                th Value
                            tbody
                              if service_error_msg
                                tr
                                  td.alert-danger(colspan=2)=service_error_msg
                              if service_metrics
                                for metric in service_metrics
                                  tr
                                    td=metric.name
                                    td=metric.value
            tr(class="table-hack")
              td(class="table-hack")
              td(class="table-hack")
  