- Timestamp:
- Feb 23, 2010 3:58:55 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mergebot/trunk/mergebot/templates/mergebot.html
r17 r42 17 17 <div id="content" class="mergebot"> 18 18 19 <div id="content"class="query">19 <div class="query"> 20 20 <h1>Queued</h1> 21 21 22 <table class="listing tickets"> 22 <thead><tr> 23 <th>Ticket</th> 24 <th>Summary</th> 23 <thead> 24 <tr> 25 <th>Ticket</th> 26 <th>Summary</th> 25 27 26 <th>Requestor</th>27 <th>Action</th>28 <th>Task ID</th>29 <th>Task Status</th>28 <th>Requestor</th> 29 <th>Action</th> 30 <th>Task ID</th> 31 <th>Task Status</th> 30 32 31 <th>Component</th> 32 <th>Version</th> 33 <th>Actions</th> 34 </tr></thead> 33 <th>Component</th> 34 <th>Version</th> 35 <th>Actions</th> 36 </tr> 37 </thead> 35 38 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 <tbody> 40 <tr py:for="task_id, task_status, ticket_id, action, component, version, requestor, summary in queue"> 41 <td><a href="${href.ticket(ticket_id)}">#${ticket_id}</a></td> 42 <td><a href="${href.ticket(ticket_id)}">${summary}</a></td> 39 43 40 <td>${requestor}</td>41 <td>${action}</td>42 <td>${task_id}</td>43 <td>${task_status}</td>44 <td>${requestor}</td> 45 <td>${action}</td> 46 <td>${task_id}</td> 47 <td>${task_status}</td> 44 48 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> 49 <td>${component}</td> 50 <td>${version}</td> 51 <td> 52 <form id="cancel_task-${task_id}" method="post" action=""> 53 <div> 54 <input type="hidden" name="task" value="${task_id}"/> 55 <input type="submit" name="action" value="Cancel" py:if="task_status in ['Waiting', 'Pending']"/> 56 </div> 57 </form> 58 </td> 59 </tr> 60 <tr py:if="not queue"> 61 <td>Nothing in the queue</td> 62 </tr> 63 </tbody> 54 64 </table> 55 65 </div> 56 66 57 67 <!-- Tickets that are not in an activity queue: --> 58 <div id="content"class="query">68 <div class="query"> 59 69 <h1>Unqueued</h1> 60 70 … … 69 79 <th>Actions</th> 70 80 </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> 81 <tbody> 82 <tr py:for="ticket in unqueued"> 83 <td><a href="${href.ticket(ticket.info.id)}">${ticket.info.id}</a></td> 84 <td><a href="${href.ticket(ticket.info.id)}">${ticket.info.summary}</a></td> 85 <td>${ticket.info.component}</td> 86 <td>${ticket.info.version}</td> 87 <td>${ticket.info.status}</td> 88 <td>${ticket.info.mergebotstate}</td> 89 <td> 90 <form id="ops-${ticket.info.id}" method="post" action=""> 91 <div> 92 <input type="hidden" name="ticket" value="${ticket.info.id}" /> 93 <input type="hidden" name="component" value="${ticket.info.component}" /> 94 <input type="hidden" name="version" value="${ticket.info.version}" /> 95 <input type="submit" name="action" value="Branch" py:if="ticket.branch"/> 96 <input type="submit" name="action" value="Rebranch" py:if="ticket.rebranch"/> 97 <input type="submit" name="action" value="Merge" py:if="ticket.merge"/> 98 <input type="submit" name="action" value="CheckMerge" py:if="ticket.checkmerge"/> 99 </div> 100 </form> 101 </td> 102 </tr> 103 <tr py:if="not unqueued"> 104 <td>No tickets available for MergeBot operations</td> 105 </tr> 106 </tbody> 90 107 </table> 91 108 </div>
Note: See TracChangeset
for help on using the changeset viewer.