<!DOCTYPE html>
<html>
<head>
<title>WebKit Queue Status</title>
<link type="text/css" rel="stylesheet" href="/stylesheets/dashboard.css" />
</head>
<body>
<h1>WebKit Queue Status</h1>{% for queue_name, statuses in queue_status.items %}
<div class="status-details">
  <h2>{{ queue_name }}</h2>
  <ul>{% for status in statuses %}
    <li>{% if status.active_bug_id %}
      <span class="status-bug">
        Patch {{ status.active_patch_id|force_escape|webkit_attachment_id|safe }} from bug
        {{ status.active_bug_id|force_escape|webkit_bug_id|safe }}:
      </span>{% endif %}
      <span class="status-message">{{ status.message|force_escape|urlize|webkit_linkify|safe }}</span>{% if status.results_file %}
      <span class="status-results">[{{ status.key.id|results_link|safe }}]</span>{% endif %}
      <span class="status-date">{{ status.date|timesince }} ago</span>
    </li>{% endfor %}
  </ul>
</div>{% endfor %}
</body>
</html>
