Annotation of cdli/zpt/uploadCheck.zpt, revision 1.1
1.1 ! dwinter 1: <html metal:use-macro="here/main_template/macros/page">
! 2: <tal:block metal:fill-slot="body">
! 3: <h2>Please check</h2>
! 4:
! 5:
! 6: <div tal:condition="python:len(options['errors'])>0">
! 7: <h3><a id="changed">There were Errors!</a></h3>
! 8: <p>Some files not be uploaded (see below)!</p>
! 9: </div>
! 10: <form action="uploadATFfinally">
! 11: <input type="hidden" name="dir" tal:attributes="value options/dir">
! 12: <p><input name="procedure" type="radio" value="uploadchanged" checked>Upload only the changed files.</p>
! 13: <p><input name="procedure" type="radio" value="uploadAll">Upload all files.</p>
! 14: <p><input name="procedure" type="radio" value="noupload">Dont't do anything.</p>
! 15: <p><input type="submit" value="do it!"></p>
! 16: </form>
! 17: <div tal:condition="python:len(options['errors'])>0">
! 18: <h3>Errors:</h3>
! 19: <p>Files locked by somebody else, these files cannot be uploaded!</p>
! 20: <table>
! 21: <tr>
! 22: <td>Title</td>
! 23: <td>Locked by:</td>
! 24: </tr>
! 25: <tr tal:repeat="error python:options['errors']">
! 26: <td tal:content="python:error.getId()"/>
! 27: <td><span tal:replace="python:error.lockedBy"/>
! 28: </td>
! 29: </tr>
! 30: </table>
! 31: </div>
! 32:
! 33: <h3><a id="changed">Changed files</a></h3>
! 34: <p><span tal:replace="python:len(options['changed'])"/> Files changed.</p>
! 35:
! 36: <table>
! 37: <tr>
! 38: <td>Title</td>
! 39: <td>Changed lines (approx.)</td>
! 40: </tr>
! 41: <tr tal:repeat="change python:options['changed']">
! 42: <td tal:content="python:change[0].getId()"/>
! 43: <td><span tal:replace="python:change[1][0]"/>
! 44: </td>
! 45: </tr>
! 46: </table>
! 47: </tal:block>
! 48: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>