Annotation of basket/zpt/upDateBasketFile.zpt, revision 1.2
1.2 ! casties 1: <html metal:use-macro="here/main_template/macros/page">
! 2: <head>
! 3: <title>Default</title>
! 4: <style metal:fill-slot="additionalStyles" type="text/css">
! 5: td.vario { background-color:#AC1D15 }/*#;*/
! 6: </style>
! 7: </head>
1.1 dwinter 8: <body>
1.2 ! casties 9:
! 10: <!-- span = bodytext -->
! 11: <span metal:fill-slot="body" tal:omit-tag="">
! 12: <tal:x tal:define="username python:here.getUsername()">
! 13:
! 14: <h3>Update file: <span tal:replace="here/title" /></h3>
! 15:
! 16: <p>Please choose a different local file from your computer.</p>
! 17:
! 18: <form action="upDateFile" enctype="multipart/form-data" method="post" name="update">
! 19: File: <input size="50" type="file" name="fileUpload">
! 20: <input name="comment" type="hidden" tal:attributes="value here/comment"><br>
1.1 dwinter 21: <br>
1.2 ! casties 22: <div class="setItem" tal:content="here/comment" />
! 23: <br>
! 24:
! 25: <input type="button" value=" cancel " onclick="history.back()">
! 26: <input type="submit" value=" update " onclick="
! 27: if(forms.update.fileUpload.value == '') {
! 28: alert('No file selected!');
! 29: return false;
! 30: }">
1.1 dwinter 31: </form>
1.2 ! casties 32:
! 33: </tal:x>
! 34:
! 35: </span>
! 36: <!-- ende bodytext -->
1.1 dwinter 37: </body>
38: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>