Changeset 12556 for main/waeup.ikoba/trunk/src/waeup/ikoba
- Timestamp:
- 3 Feb 2015, 17:36:15 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/imageupload.pt
r12531 r12556 4 4 </td> 5 5 <td> 6 < img align="middle" height="125px"7 tal:attributes="src python: view.url(context, viewlet.download_name)" />8 9 <input type="submit" tal:condition="viewlet/file_exists"10 tal:attributes="id python:('delete_%s' % viewlet.input_name);11 namepython:('delete_%s' % viewlet.input_name);12 onclick python:'return window.confirm(\'%s\')' % view.deletion_warning"13 value="Delete" class="btn btn-danger" />14 <br /><br/>15 16 <div class="input-group">17 18 6 <tal:img 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 onclick python:'return window.confirm(\'%s\')' % view.deletion_warning" 14 value="Delete" class="btn btn-danger" /> 15 </tal:img> 16 <div class="input-group" tal:condition="not:viewlet/file_exists"> 17 <div class="input-group-btn"> 18 <div class="btn btn-default btn-file"> 19 19 Select new file… 20 20 <input type="file" tal:attributes="name viewlet/input_name" /> 21 21 </div> 22 23 22 </div> 23 <input type="text" class="form-control" readonly> 24 24 <div class="input-group-btn"> 25 25 <input type="submit"
Note: See TracChangeset for help on using the changeset viewer.