1<!DOCTYPE html> 2<html> 3<head> 4<title>{{ page_title }}</title> 5<link type="text/css" rel="stylesheet" href="/stylesheets/dashboard.css" /> 6</head> 7<body> 8<h1>{{ page_title }}</h1> 9 10<h3>Summary</h3> 11<div> 12Last Pass: {{ last_pass.date|timesince }} ago 13{% if not bot_id and last_pass.bot_id %} 14by <a href="/queue-status/{{last_pass.queue_name}}/bots/{{last_pass.bot_id}}">{{ last_pass.bot_id }}</a> 15{% endif %} 16</div> 17<div> 18Last Boot: {{ last_boot.date|timesince }} ago 19{% if not bot_id and last_boot.bot_id %} 20by <a href="/queue-status/{{last_boot.queue_name}}/bots/{{last_boot.bot_id}}">{{ last_boot.bot_id }}</a> 21{% endif %} 22</div> 23<div>7-day "Pass" count: {{ trailing_week_pass_count }}</div> 24<div>30-day "Pass" count: {{ trailing_month_pass_count }}</div> 25 26<h3>Recent Status</h3> 27 28<div class="status-details"> 29 <ul> 30 {% for status_group in status_groups %} 31 {% with status_group.0 as title_status %} 32 <li class="status-group"> 33 {% if title_status.active_bug_id %} 34 <span class="status-bug"> 35 Patch {{ title_status.active_patch_id|force_escape|webkit_attachment_id|safe }} from bug 36 {{ title_status.active_bug_id|force_escape|webkit_bug_id|safe }}: 37 </span> 38 {% endif %} 39 40 {% ifequal status_group|length 1 %} 41 {% with title_status as status %} 42 {% include 'includes/singlequeuestatus.html' %} 43 {% endwith %} 44 {% else %} 45 <ul> 46 {% for status in status_group %} 47 <li class="status"> 48 {% include 'includes/singlequeuestatus.html' %} 49 </li> 50 {% endfor %} 51 </ul> 52 {% endifequal %} 53 </li> 54 {% endwith %} 55 {% endfor %} 56 </ul> 57</div> 58 59<h3>Patches in queue</h3> 60<table> 61 <tr><th>Position</th><th>Patch</th><th>Lock Acquired</th></tr> 62 {% for row in work_item_rows %} 63 <tr> 64 <td>#{{ forloop.counter }}</td> 65 <td> 66 {{ row.attachment_id|force_escape|webkit_attachment_id|safe }} 67 </td> 68 <td> 69 {% if row.lock_time %} 70 {{ row.lock_time|timesince }} ago 71 {% endif %} 72 </td> 73 </tr> 74 {% endfor %} 75</table> 76 77</body> 78</html> 79