1 | <!DOCTYPE html |
---|
2 | PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
4 | <html xmlns="http://www.w3.org/1999/xhtml" |
---|
5 | xmlns:py="http://genshi.edgewall.org/" |
---|
6 | xmlns:xi="http://www.w3.org/2001/XInclude"> |
---|
7 | <xi:include href="layout.html" /> |
---|
8 | <xi:include href="macros.html" /> |
---|
9 | |
---|
10 | <head> |
---|
11 | <title> |
---|
12 | MergeBot |
---|
13 | </title> |
---|
14 | </head> |
---|
15 | |
---|
16 | <body> |
---|
17 | <div id="content" class="mergebot"> |
---|
18 | |
---|
19 | <div id="content" class="query"> |
---|
20 | <h1>Queued</h1> |
---|
21 | <table class="listing tickets"> |
---|
22 | <thead><tr> |
---|
23 | <th>Ticket</th> |
---|
24 | <th>Summary</th> |
---|
25 | |
---|
26 | <th>Requestor</th> |
---|
27 | <th>Action</th> |
---|
28 | <th>Task ID</th> |
---|
29 | <th>Task Status</th> |
---|
30 | |
---|
31 | <th>Component</th> |
---|
32 | <th>Version</th> |
---|
33 | <th>Actions</th> |
---|
34 | </tr></thead> |
---|
35 | |
---|
36 | <tr py:for="task_id, task_status, ticket_id, action, component, version, requestor, summary in queue"> |
---|
37 | <td><a href="${href.ticket(ticket_id)}">#${ticket_id}</a></td> |
---|
38 | <td><a href="${href.ticket(ticket_id)}">${summary}</a></td> |
---|
39 | |
---|
40 | <td>${requestor}</td> |
---|
41 | <td>${action}</td> |
---|
42 | <td>${task_id}</td> |
---|
43 | <td>${task_status}</td> |
---|
44 | |
---|
45 | <td>${component}</td> |
---|
46 | <td>${version}</td> |
---|
47 | <td> |
---|
48 | <form id="cancel_tasks" method="post" name="cancel-task-%{task_id}" action=""> |
---|
49 | <input type="hidden" name="task" value="${task_id}"/> |
---|
50 | <input type="submit" name="action" value="Cancel" py:if="task_status in ['Waiting', 'Pending']"/> |
---|
51 | </form> |
---|
52 | </td> |
---|
53 | </tr> |
---|
54 | </table> |
---|
55 | </div> |
---|
56 | |
---|
57 | <!-- Tickets that are not in an activity queue: --> |
---|
58 | <div id="content" class="query"> |
---|
59 | <h1>Unqueued</h1> |
---|
60 | |
---|
61 | <table class="listing tickets"> |
---|
62 | <thead><tr> |
---|
63 | <th>Ticket</th> |
---|
64 | <th>Summary</th> |
---|
65 | <th>Component</th> |
---|
66 | <th>Version</th> |
---|
67 | <th>Status</th> |
---|
68 | <th>MergeBotState</th> |
---|
69 | <th>Actions</th> |
---|
70 | </tr></thead> |
---|
71 | <tr py:for="ticket in unqueued"> |
---|
72 | <td><a href="${href.ticket(ticket.info.id)}">${ticket.info.id}</a></td> |
---|
73 | <td><a href="${href.ticket(ticket.info.id)}">${ticket.info.summary}</a></td> |
---|
74 | <td>${ticket.info.component}</td> |
---|
75 | <td>${ticket.info.version}</td> |
---|
76 | <td>${ticket.info.status}</td> |
---|
77 | <td>${ticket.info.mergebotstate}</td> |
---|
78 | <td> |
---|
79 | <form id="ops" method="post" name="ops-${ticket.info.id}" action=""> |
---|
80 | <input type="hidden" name="ticket" value="${ticket.info.id}" /> |
---|
81 | <input type="hidden" name="component" value="${ticket.info.component}" /> |
---|
82 | <input type="hidden" name="version" value="${ticket.info.version}" /> |
---|
83 | <input type="submit" name="action" value="Branch" py:if="ticket.branch"/> |
---|
84 | <input type="submit" name="action" value="Rebranch" py:if="ticket.rebranch"/> |
---|
85 | <input type="submit" name="action" value="Merge" py:if="ticket.merge"/> |
---|
86 | <input type="submit" name="action" value="CheckMerge" py:if="ticket.checkmerge"/> |
---|
87 | </form> |
---|
88 | </td> |
---|
89 | </tr> |
---|
90 | </table> |
---|
91 | </div> |
---|
92 | |
---|
93 | </div> |
---|
94 | </body> |
---|
95 | </html> |
---|