Annotation of MPIWGWeb/zpt/updatePersonalwww_check.zpt, revision 1.1.2.3

1.1.2.1   dwinter     1: <html tal:define="news here/REQUEST/SESSION/personal_www/news;
                      2:                   conflicts here/REQUEST/SESSION/personal_www/conflicts;
                      3:                   resultSet here/REQUEST/SESSION/personal_www/resultSet;"
                      4:    >
                      5:    <body>
                      6:        <h1>Check upload</h1>
1.1.2.3 ! dwinter     7:        <form method="post" action="updatePersonalwww_doIt">
1.1.2.1   dwinter     8:        <h2>New</h2>
                      9:        <table>
                     10:            <tr tal:repeat="new news">
                     11:                <td><span tal:replace="python:resultSet[new]['first_name']">first</span>
                     12:                    <span tal:replace="python:resultSet[new]['last_name']">last</span> 
                     13:                </td>   
                     14:                <td>
                     15:                    <input type="checkbox" tal:attributes="name python:here.urlQuote(new.encode('utf-8'))" checked="True" value="new"/>
                     16:                </td>
                     17:            </tr>
                     18:        </table>
                     19:        
                     20:        <h2>Conflicts</h2>
                     21:        <table border="1">
                     22:            <tr tal:repeat="conflict python:conflicts.keys()">
                     23:                <td valign="top"><span tal:replace="python:resultSet[conflict]['first_name']">first</span>
                     24:                    <span tal:replace="python:resultSet[conflict]['last_name']">last</span> 
                     25:                </td>   
                     26:                <td>
                     27:                        <tal:x repeat="cf python:conflicts[conflict]">
                     28:                        <table border="1">
                     29:                            <tr>
                     30:                                <td bgcolor="green" colspan="3"><span tal:replace="python:cf[0]">feld</span></td>
                     31:                            </tr>
                     32:                            <tr>
1.1.2.3 ! dwinter    33:                                <td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="stored" grant all privilege checked="True"></td>
1.1.2.1   dwinter    34:                                <td valign="top">stored:</td>
                     35:                                <td><span tal:replace="python:cf[1]">stored value</span></td>
                     36:                            </tr>
                     37:                            <tr>
1.1.2.3 ! dwinter    38:                                <td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="xml" ></td>
1.1.2.1   dwinter    39:                                <td valign="top">xml-file:</td>
                     40:                                <td><span tal:replace="python:cf[2]">value from xml-file</span></td>
                     41:                            </tr>
                     42:                            <!--  <tr>
                     43:                                <td valign="top"><input type="radio" tal:attributes="name python:conflict+'_'+cf[0]" value="reject"></td>
                     44:                                <td valign="top">reject</td>
                     45:                                <td>&nbsp;</td>
                     46:                            </tr>-->
                     47:                        </table>    
                     48:                    </tal:x>
                     49:                </td>
                     50:            </tr>
                     51:        </table>
                     52:        <input type="submit">
1.1.2.2   casties    53:        </form>
1.1.2.1   dwinter    54:    </body>
                     55: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>