]> git.llucax.com Git - z.facultad/75.52/sercom.git/blob - sercom/subcontrollers/curso/ejercicio/templates/show.kid
Pongo en color rojo, amarillo o verde a cada fila de las entregas dependiendo como...
[z.facultad/75.52/sercom.git] / sercom / subcontrollers / curso / ejercicio / templates / show.kid
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
3     py:extends="'../../../../templates/master.kid'">
4 <head>
5 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
6 <title>show</title>
7 </head>
8 <body>
9
10 <table>
11     <tr>
12         <th>Número:</th>
13         <td><span py:replace="record.numero">descripcion</span></td>
14     </tr>
15     <tr>
16         <th>Enunciado:</th>
17         <td>
18                 <a href="${tg.url('/enunciado/show/%d' % record.enunciado.id)}">
19                         <span py:replace="record.enunciado.shortrepr()">autor</span>
20                 </a>
21         </td>
22     </tr>
23     <tr>
24         <th>Es grupal?:</th>
25                                 <td>
26                                         <span py:replace="tg.strbool(record.grupal)">grupal</span>
27                                 </td>
28   </tr>
29     <tr>
30         <th>Instancias de Entrega:</th>
31                                 <td>
32                                         <ul>
33                                                 <li py:for="i in record.instancias">
34                                                         ${i.numero} -
35                                                         ${i.inicio} -
36                                                         ${i.fin}
37                                                 </li>   
38                                         </ul>
39                                 </td>
40   </tr>
41 </table>
42
43 <br/>
44 <a href="${tg.url('/curso/ejercicio/edit/%s' % record.id)}">Editar</a> |
45 <a href="${tg.url('/curso/ejercicio/list/%s' % record.cursoID)}">Volver</a>
46
47 </body>
48 </html>