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