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