]> git.llucax.com Git - software/sercom.git/blob - sercom/subcontrollers/tarea_fuente/comandos/templates/list.kid
8d023bfa579a6019455d5c80a6e184010e4c55f2
[software/sercom.git] / sercom / subcontrollers / tarea_fuente / comandos / 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 class="list">
13     <tr>
14         <th>Orden</th>
15         <th>Comando</th>
16         <th>Operaciones</th>
17     </tr>
18     <tr py:for="record in records">
19         <td><span py:replace="record.orden">telefono</span></td>
20         <td><span py:replace="record.comando">telefono</span></td>
21         <td><a href="${tg.url('/tarea_fuente/comandos/edit/%d' % record.id)}">Editar</a>
22             <a href="${tg.url('/tarea_fuente/comandos/delete/%d' % record.id)}" onclick="if (confirm('${_(u'Estás seguro? Tal vez sólo quieras desactivarlo mejor...')}')) { var f = document.createElement('form'); this.parentNode.appendChild(f); f.method = 'POST'; f.action = this.href; f.submit(); };return false;">Eliminar</a></td>
23     </tr>
24 </table>
25
26 <br/>
27 <a href="${tg.url('/tarea_fuente/comandos/new/%d' % tareaID)}">Agregar</a>
28
29 <div py:for="page in tg.paginate.pages">
30     <a py:if="page != tg.paginate.current_page"
31         href="${tg.paginate.get_href(page)}">${page}</a>
32     <b py:if="page == tg.paginate.current_page">${page}</b>
33 </div>
34
35 </body>
36 </html>
37
38 <!-- vim: set et sw=4 sts=4 : -->