]> iEval git - gruntmaster-page.git/blob - tmpl/log.en
Use opens correctly when computing standings
[gruntmaster-page.git] / tmpl / log.en
1 <table border class="table table-bordered table-striped">
2 <thead>
3 <tr><th>ID<th>Problem<th>Date<th>Size<th>User<th>Result
4 <tbody>
5 <tmpl_loop log><tr><td><a href="/log/<tmpl_var id>"><tmpl_var id></a>
6 <td><a href="../pb/<tmpl_var problem>"><tmpl_var problem_name></a>
7 <td><%perl __OUT__ POSIX::strftime '%c', localtime __CURRENT__->{date}; %>
8 <td><a href="/log/src/<tmpl_var id>.<tmpl_var extension>"<tmpl_if private> data-private</tmpl_if>><%perl __OUT__ sprintf '%.2fKB', __CURRENT__->{size}/1024; %></a>
9 <td><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var user></tmpl_if></a>
10 <td class="r<tmpl_var result>"><tmpl_var result_text>
11 </tmpl_loop>
12 </table>
13
14 <ul class="pager">
15 <%perl if (__CURRENT__->{page} > 1) { %><li class="previous"><a href="<tmpl_if default_page>page/</tmpl_if><%perl __OUT__ __CURRENT__->{page} - 1; %>">Previous</a><%perl } %>
16 <%perl if (__CURRENT__->{page} < __CURRENT__->{pages} - 1) { %><li class="next"><a href="<%perl __OUT__ __CURRENT__->{page} + 1; %>">Next</a><%perl } %>
17 </ul>
This page took 0.045061 seconds and 4 git commands to generate.