source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/imageupload.pt @ 11359

Last change on this file since 11359 was 11254, checked in by uli, 11 years ago

Merge changes from uli-diazo-themed back into trunk. If this works, then a miracle happened.

File size: 977 bytes
Line 
1<tr i18n:domain="waeup.kofa">
2  <td class="fieldname">
3    <span tal:replace="viewlet/label">FILENAME</span>:
4  </td>
5  <td>
6    <img align="middle" height="125px"
7         tal:attributes="src python: view.url(context, viewlet.download_name)" />
8    <input type="submit" tal:condition="viewlet/file_exists"
9     tal:attributes="id python:('delete_%s' % viewlet.input_name);
10        name python:('delete_%s' % viewlet.input_name)"
11     value="Delete" class="btn btn-danger" />
12    <br /><br />
13    <input type="file" tal:attributes="name viewlet/input_name"/>
14    <br /><br />
15    <input type="submit"
16             tal:attributes="id python:('upload_%s' % viewlet.input_name);
17                name python:('upload_%s' % viewlet.input_name);
18                value viewlet/upload_button"
19             value="Upload" class="btn btn-primary" />
20    <span i18n:translate="">
21      Max. file size:
22    </span>
23    <span tal:replace="viewlet/max_upload_size">10 KB</span>
24  </td>
25</tr>
Note: See TracBrowser for help on using the repository browser.