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