PageRenderTime 16ms CodeModel.GetById 15ms app.highlight 0ms RepoModel.GetById 0ms app.codeStats 1ms

/templates/requests/common/events.mako

https://bitbucket.org/h_morita_dbcls/galaxy-central
Mako | 39 lines | 36 code | 3 blank | 0 comment | 2 complexity | f404a8d7b9037053bea55634ef4b952e MD5 | raw file
 1<%inherit file="/base.mako"/>
 2<%namespace file="/message.mako" import="render_msg" />
 3
 4<h2>History of Sequencing Request "${request.name}"</h2>
 5<ul class="manage-table-actions">
 6    <li>
 7        <a class="action-button" href="${h.url_for( controller=cntrller, action='list', operation='show', id=trans.security.encode_id(request.id) )}">
 8        <span>Browse this request</span></a>
 9    </li>
10    <li>
11        <a class="action-button"  href="${h.url_for( controller=cntrller, action='list')}">
12        <span>Browse all requests</span></a>
13    </li>
14</ul>
15
16%if message:
17    ${render_msg( message, status )}
18%endif
19
20<div class="toolForm">
21    <table class="grid">
22        <thead>
23            <tr>
24                <th>State</th>
25                <th>Last Update</th>
26                <th>Comments</th>
27            </tr>
28        </thead>
29        <tbody>
30            %for state, updated, comments in events_list:    
31                <tr class="libraryRow libraryOrFolderRow" id="libraryRow">
32                    <td><b><a>${state}</a></b></td>
33                    <td><a>${updated}</a></td>
34                    <td><a>${comments}</a></td>
35                </tr>             
36            %endfor
37        </tbody>
38    </table>
39</div>