Mercurial > hg > MPIWGWeb
annotate zpt/updatePersonalwww_check.zpt @ 216:3b517b412f77
fixed problem updating users with new IDs
author | casties |
---|---|
date | Wed, 02 Oct 2013 14:40:50 +0200 |
parents | 3ea224968f95 |
children |
rev | line source |
---|---|
0
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
1 <html tal:define="news here/REQUEST/SESSION/personal_www/news; |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
2 conflicts here/REQUEST/SESSION/personal_www/conflicts; |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
3 resultSet here/REQUEST/SESSION/personal_www/resultSet;" |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
4 > |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
5 <body> |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
6 <h1>Check upload</h1> |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
7 <form method="post" action="updatePersonalwww_doIt"> |
216 | 8 <tal:block tal:condition="news"> |
9 <h2>New</h2> | |
10 <table> | |
11 <tr tal:repeat="new news"> | |
12 <td><span tal:replace="python:resultSet[new]['first_name']">first</span> | |
13 <span tal:replace="python:resultSet[new]['last_name']">last</span> | |
14 </td> | |
15 <td> | |
16 <input type="checkbox" tal:attributes="name python:new.encode('utf-8')" checked="True" value="new"/> | |
17 </td> | |
18 </tr> | |
19 </table> | |
20 </tal:block> | |
0
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
21 |
216 | 22 <tal:block tal:condition="conflicts"> |
23 <h2>Conflicts</h2> | |
24 <table border="1"> | |
25 <tr tal:repeat="conflict python:conflicts.keys()"> | |
26 <td valign="top"><span tal:replace="python:resultSet[conflict]['first_name']">first</span> | |
27 <span tal:replace="python:resultSet[conflict]['last_name']">last</span> | |
28 </td> | |
29 <td> | |
30 <tal:x repeat="cf python:conflicts[conflict]"> | |
31 <table border="1"> | |
32 <tr> | |
33 <td bgcolor="green" colspan="3"><span tal:replace="python:cf[0]">feld</span></td> | |
34 </tr> | |
35 <tr> | |
36 <td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="stored" grant all privilege checked="True"></td> | |
37 <td valign="top">stored:</td> | |
38 <td><span tal:replace="python:cf[1]">stored value</span></td> | |
39 </tr> | |
40 <tr> | |
41 <td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="xml" ></td> | |
42 <td valign="top">xml-file:</td> | |
43 <td><span tal:replace="python:cf[2]">value from xml-file</span></td> | |
44 </tr> | |
45 <!-- <tr> | |
46 <td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="reject"></td> | |
47 <td valign="top">reject</td> | |
48 <td> </td> | |
49 </tr>--> | |
50 </table> | |
51 </tal:x> | |
52 </td> | |
53 </tr> | |
54 </table> | |
55 </tal:block> | |
56 <p><span tal:content="python:len(resultSet)"/> total entries to change.</p> | |
0
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
57 <input type="submit"> |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
58 </form> |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
59 </body> |
bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
casties
parents:
diff
changeset
|
60 </html> |