~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to Tools/QueueStatusServer/templates/dashboard.html

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html>
 
2
<html>
 
3
<head>
 
4
<title>WebKit Bot Status</title>
 
5
<link type="text/css" rel="stylesheet" href="/stylesheets/dashboard.css" />
 
6
<script>
 
7
function statusDetail(patch_id) {
 
8
  // FIXME: We'd like to use AJAX to show the details on this page.
 
9
  window.location = "/patch/" + patch_id
 
10
}
 
11
</script>
 
12
</head>
 
13
<body>
 
14
<h1>WebKit Bot Status</h1>
 
15
<table>
 
16
  <thead>
 
17
    <tr>
 
18
      <th>Bug</th>
 
19
      <th>Attachment</th>
 
20
      {% for header in headers %}
 
21
      <th>{{ header }}</th>
 
22
      {% endfor %}
 
23
    </tr>
 
24
  </thead>
 
25
  <tbody>{% for row in rows %}
 
26
    <tr>
 
27
      <td class="status-cell">
 
28
        {{ row.bug_id|force_escape|webkit_bug_id|safe }}
 
29
      </td>
 
30
      <td class="status-cell">
 
31
        {{ row.attachment_id|force_escape|webkit_attachment_id|safe }}
 
32
      </td>
 
33
      {% for bubble in row.bubbles %}
 
34
      <td class="status-cell {{ bubble.status_class }}"
 
35
        {% if bubble.status %}
 
36
          onclick="statusDetail({{ row.attachment_id }})"
 
37
          title="{{ bubble.status_date|timesince }}"
 
38
        {% endif %}>
 
39
      </td>
 
40
      {% endfor %}
 
41
    </tr>{% endfor %}
 
42
  </tbody>
 
43
</table>
 
44
</html>