Last change
on this file since 17935 was
16609,
checked in by Henrik Bettermann, 3 years ago
|
Enable students and officers to upload scanned signature in the same
way as passport pictures are handled. Some tabs and titles had to be
renamed. The placeholder file, which is still the portrait
placeholder, are no longer shown on base pages.
|
File size:
1.2 KB
|
Line | |
---|
1 | <tr i18n:domain="waeup.kofa"> |
---|
2 | <td class="fieldname"> |
---|
3 | <span tal:replace="viewlet/label">FILENAME</span>: |
---|
4 | </td> |
---|
5 | <td> |
---|
6 | <tal:file_exists condition="viewlet/file_exists"> |
---|
7 | <img align="middle" height="125px" |
---|
8 | tal:attributes="src python: view.url(context, viewlet.download_name)" /> |
---|
9 | |
---|
10 | <input type="submit" |
---|
11 | tal:attributes="id python:('delete_%s' % viewlet.input_name); |
---|
12 | name python:('delete_%s' % viewlet.input_name)" |
---|
13 | value="Delete" class="btn btn-danger" /> |
---|
14 | <br /><br /> |
---|
15 | </tal:file_exists> |
---|
16 | <div class="input-group"> |
---|
17 | <div class="input-group-btn"> |
---|
18 | <div class="btn btn-default btn-file"> |
---|
19 | Select new file… |
---|
20 | <input type="file" tal:attributes="name viewlet/input_name" /> |
---|
21 | </div> |
---|
22 | </div> |
---|
23 | <input type="text" class="form-control" readonly> |
---|
24 | <div class="input-group-btn"> |
---|
25 | <input type="submit" |
---|
26 | tal:attributes="id python:('upload_%s' % viewlet.input_name); |
---|
27 | name python:('upload_%s' % viewlet.input_name); |
---|
28 | value viewlet/upload_button" |
---|
29 | class="btn btn-primary" /> |
---|
30 | (<span tal:replace="viewlet/max_upload_size">10 kB</span> max.) |
---|
31 | </div> |
---|
32 | </div> |
---|
33 | </td> |
---|
34 | </tr> |
---|
Note: See
TracBrowser for help on using the repository browser.