- Timestamp:
- 17 Nov 2011, 13:55:14 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/filesuploadpage.pt
r7114 r7127 3 3 tal:content="view/label">Label</h2> 4 4 5 <table class="zebra"> 6 <tbody> 7 <tal:files content="structure provider:files" /> 8 </tbody> 9 </table> 5 <form action="." tal:attributes="action request/URL" method="post" 6 class="edit-form" enctype="multipart/form-data"> 7 <table class="zebra"> 8 <tbody> 9 <tal:files content="structure provider:files" /> 10 </tbody> 11 </table> 12 </form> -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/fileupload.pt
r7111 r7127 7 7 <td class="field"> 8 8 <span class="widget"> 9 9 10 <tal:file tal:condition="viewlet/file_exists"> 10 11 <a tal:attributes="href viewlet/download_name" 11 tal:content="viewlet/ download_name"12 tal:content="viewlet/title" 12 13 target="image"> 13 14 LINK 14 15 </a> 15 <input type="submit"16 tal:attributes="id python:('delete_%s' % viewlet.input_name);17 name python:('delete_%s' % viewlet.input_name)"18 value="Delete" class="button" />19 <br />20 16 </tal:file> 17 <br /> 21 18 <input type="file" tal:attributes="name viewlet/input_name"/> 19 <br /> 20 <input type="submit" tal:condition="viewlet/file_exists" 21 tal:attributes="id python:('delete_%s' % viewlet.input_name); 22 name python:('delete_%s' % viewlet.input_name)" 23 value="Delete attachment" class="button" /> 22 24 <input type="submit" 23 25 tal:attributes="id python:('upload_%s' % viewlet.input_name); 24 26 name python:('upload_%s' % viewlet.input_name)" 25 value="Upload" class="button" /> 26 <br /> 27 value="Upload new file" class="button" /> 27 28 <span i18n:translate=""> 28 29 Max. file size: … … 30 31 </span> 31 32 </span> 33 <br /> 32 34 </td> 33 35 </tr>
Note: See TracChangeset for help on using the changeset viewer.