]> git.llucax.com Git - software/sercom.git/blob - sercom/subcontrollers/entrega/templates/list.kid
link para volver a ejercicio
[software/sercom.git] / sercom / subcontrollers / entrega / templates / list.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>list</title>
7 </head>
8 <body>
9
10 <h1>Administración de <span py:replace="namepl">Objetos</span></h1>
11
12 <table>
13     <tr>
14         <th>Nro</th>
15         <th>Inicio</th>
16         <th>Fin</th>
17         <th>Procesada?</th>
18         <th>Activa?</th>
19         <th>Observaciones</th>
20         <th>Operaciones</th>
21     </tr>
22     <tr py:for="record in records">
23         <td><span py:replace="record.numero">numero</span></td>
24         <td><span py:replace="record.inicio">inicio</span></td>
25         <td><span py:replace="record.fin">fin</span></td>
26         <td><span py:replace="record.procesada">procesada</span></td>
27         <td><span py:replace="record.activo">activa</span></td>
28         <td><span py:replace="record.observaciones">obs</span></td>
29         <td>
30             <a href="${tg.url('/entrega/delete/%d' % record.id)}" onclick="if (confirm('${_(u'Estás seguro? Yo creo que no...')}')) { var f = document.createElement('form'); this.parentNode.appendChild(f); f.method = 'POST'; f.action = this.href; f.submit(); };return false;">Eliminar</a>
31         </td>
32     </tr>
33 </table>
34
35 <br/>
36 <a href="${tg.url('/entrega/new/'+parcial)}">Agregar</a>
37 <a href="${tg.url('/ejercicio/list')}">Volver a Ejericicios</a>
38
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 : -->