]> git.llucax.com Git - software/sercom.git/blob - sercom/subcontrollers/correccion/templates/entregas.kid
Actualizar TODO.
[software/sercom.git] / sercom / subcontrollers / correccion / templates / entregas.kid
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <?python from sercom.model import Grupo, AlumnoInscripto ?>
3 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
4     py:extends="'../../../templates/master.kid'">
5 <head>
6 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
7 <title>list</title>
8 </head>
9 <body>
10
11 <h1>Entregas realizadas</h1>
12
13 <table class="list">
14     <tr>
15                                 <th width="20%">Fecha</th>
16         <th width="5%" title="Correcta?">Ok?</th>
17         <th width="25%">Observaciones</th>
18         <th width="50%">Comandos Ejecutadas</th>
19         <th width="10%">Operaciones</th>
20     </tr>
21     <tr py:for="record in records">
22         <td><span py:replace="record.fecha">usuario</span></td>
23                                 <td align="center">
24                                         <span py:replace="tg.strbool(record.exito)">Si</span>
25                                 </td>
26         <td><span py:replace="record.observaciones">fecha corregido</span></td>
27                                 <td>
28                                                 <ul>
29                                                         <li py:for="i in record.comandos_ejecutados" py:content="i.shortrepr()" />
30                                                 </ul>
31                                 </td>
32                                 <td>
33                                         <a href="${tg.url('/mis_entregas/get_archivo/%d' % record.id)}">Bajar Archivo</a>
34                                 </td>
35     </tr>
36 </table>
37 <br />
38 <a href="/correccion/list">Volver</a>
39 <div py:for="page in tg.paginate.pages">
40     <a py:if="page != tg.paginate.current_page"
41         href="${tg.paginate.get_href(page)}">${page}</a>
42     <b py:if="page == tg.paginate.current_page">${page}</b>
43 </div>
44
45 </body>
46 </html>
47
48 <!-- vim: set et sw=4 sts=4 : -->