annotate zpt/rearrangePersons.zpt @ 7:e21db3150dae

manage persons
author dwinter
date Wed, 21 Dec 2011 22:11:16 +0100
parents
children 3a5a7c2552c8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
e21db3150dae manage persons
dwinter
parents:
diff changeset
1 <html>
e21db3150dae manage persons
dwinter
parents:
diff changeset
2 <body tal:define="global i python:-1">
e21db3150dae manage persons
dwinter
parents:
diff changeset
3 <h1>Unify persons</h1>
e21db3150dae manage persons
dwinter
parents:
diff changeset
4 <form method="post" action="rearangePersonIDs">
e21db3150dae manage persons
dwinter
parents:
diff changeset
5 <table>
e21db3150dae manage persons
dwinter
parents:
diff changeset
6 <tr><td>Nr.</td><td>saved ID</td><td>Name</td><td>New ID</td><td>Unify?</td>
e21db3150dae manage persons
dwinter
parents:
diff changeset
7 </tr>
e21db3150dae manage persons
dwinter
parents:
diff changeset
8 <tr tal:repeat="item python:options['changeList']" >
e21db3150dae manage persons
dwinter
parents:
diff changeset
9 <td tal:define="global i python:i+1" tal:content="python:i"/>
e21db3150dae manage persons
dwinter
parents:
diff changeset
10 <td><a tal:attributes="href python:item[0]" tal:content="python:item[0]"/></td>
e21db3150dae manage persons
dwinter
parents:
diff changeset
11 <td tal:content="python:item[1]"/>
e21db3150dae manage persons
dwinter
parents:
diff changeset
12 <td><a tal:attributes="href python:item[2]">see</a><input size="100" tal:attributes="name python:'newID_'+str(i);
e21db3150dae manage persons
dwinter
parents:
diff changeset
13 value python:item[2]"/></td>
e21db3150dae manage persons
dwinter
parents:
diff changeset
14 <td><input type="checkbox" name="changes" tal:attributes="value python:i"/>
e21db3150dae manage persons
dwinter
parents:
diff changeset
15 <td><a tal:attributes="href python:options['lookupUrl']">look up</a></td>
e21db3150dae manage persons
dwinter
parents:
diff changeset
16 </tr>
e21db3150dae manage persons
dwinter
parents:
diff changeset
17 </table>
e21db3150dae manage persons
dwinter
parents:
diff changeset
18 <input type="submit"/>
e21db3150dae manage persons
dwinter
parents:
diff changeset
19 </form>
e21db3150dae manage persons
dwinter
parents:
diff changeset
20 </body>
e21db3150dae manage persons
dwinter
parents:
diff changeset
21 </html>