Mercurial > hg > MPIWGWeb
view zpt/updatePersonalwww_check.zpt @ 201:81a8177ca354
shows where a entry comes from in editing mode
author | dwinter |
---|---|
date | Wed, 26 Jun 2013 16:49:31 +0200 |
parents | 3ea224968f95 |
children | 3b517b412f77 |
line wrap: on
line source
<html tal:define="news here/REQUEST/SESSION/personal_www/news; conflicts here/REQUEST/SESSION/personal_www/conflicts; resultSet here/REQUEST/SESSION/personal_www/resultSet;" > <body> <h1>Check upload</h1> <form method="post" action="updatePersonalwww_doIt"> <h2>New</h2> <table> <tr tal:repeat="new news"> <td><span tal:replace="python:resultSet[new]['first_name']">first</span> <span tal:replace="python:resultSet[new]['last_name']">last</span> </td> <td> <input type="checkbox" tal:attributes="name python:new.encode('utf-8')" checked="True" value="new"/> </td> </tr> </table> <h2>Conflicts</h2> <table border="1"> <tr tal:repeat="conflict python:conflicts.keys()"> <td valign="top"><span tal:replace="python:resultSet[conflict]['first_name']">first</span> <span tal:replace="python:resultSet[conflict]['last_name']">last</span> </td> <td> <tal:x repeat="cf python:conflicts[conflict]"> <table border="1"> <tr> <td bgcolor="green" colspan="3"><span tal:replace="python:cf[0]">feld</span></td> </tr> <tr> <td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="stored" grant all privilege checked="True"></td> <td valign="top">stored:</td> <td><span tal:replace="python:cf[1]">stored value</span></td> </tr> <tr> <td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="xml" ></td> <td valign="top">xml-file:</td> <td><span tal:replace="python:cf[2]">value from xml-file</span></td> </tr> <!-- <tr> <td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="reject"></td> <td valign="top">reject</td> <td> </td> </tr>--> </table> </tal:x> </td> </tr> </table> <input type="submit"> </form> </body> </html>