]> git.llucax.com Git - software/sercom.git/blob - sercom/subcontrollers/correccion/templates/entregas.kid
Ver entregas de una Correccion.
[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>Fecha</th>
16         <th>Correcta?</th>
17         <th>Observaciones</th>
18         <th>Tareas</th>
19     </tr>
20     <tr py:for="record in records">
21         <td><span py:replace="record.fecha">usuario</span></td>
22         <td><span py:replace="record.correcta">fecha asignado</span></td>
23         <td><span py:replace="record.observaciones">fecha corregido</span></td>
24                                 <td>
25                                         <table>
26                                                 <tr>
27                                                         <th>Tarea</th>
28                                                         <th>Desde</th>
29                                                         <th>Hasta</th>
30                                                         <th>Correcta</th>
31                                                         <th>Obs</th>
32                                                 </tr>
33                                                 <tr py:for="i in record.tareas">
34                                                         <td >${i.tarea.shortrepr()}</td>
35                                                         <td>${i.inicio}</td>
36                                                         <td>${i.fin}</td>
37                                                         <td align="center">
38                                                                 <span py:if="i.exito">Si</span>
39                                                                 <span py:if="not i.exito">No</span>
40                                                         </td>
41                                                         <td>${i.observaciones}</td>
42                                                 </tr>
43                                         </table>
44                                 </td>
45     </tr>
46 </table>
47 <br />
48 <a href="/correccion/list">Volver</a>
49 <div py:for="page in tg.paginate.pages">
50     <a py:if="page != tg.paginate.current_page"
51         href="${tg.paginate.get_href(page)}">${page}</a>
52     <b py:if="page == tg.paginate.current_page">${page}</b>
53 </div>
54
55 </body>
56 </html>
57
58 <!-- vim: set et sw=4 sts=4 : -->