Changeset 11558 for main/waeup.kofa/trunk/src/waeup/kofa/browser
- Timestamp:
- 2 Apr 2014, 09:58:39 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/browser/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenteruploadpage.pt
r11254 r11558 16 16 </td> 17 17 <td> 18 <input type="file" size=47 name="uploadfile:file" /> 18 <div class="input-group half"> 19 <div class="input-group-btn"> 20 <div class="btn btn-default btn-file"> 21 Select… 22 <input type="file" name="uploadfile:file" /> 23 </div> 24 </div> 25 <input type="text" class="form-control" readonly> 26 </div> 19 27 </td> 20 28 </tr> -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/fileupload.pt
r11254 r11558 4 4 </td> 5 5 <td> 6 7 <div class="input-group"> 8 <div class="input-group-btn"> 9 <div class="btn btn-default btn-file"> 10 Select new file… 11 <input type="file" tal:attributes="name viewlet/input_name" /> 12 </div> 13 </div> 14 <input type="text" class="form-control" readonly> 15 <div class="input-group-btn"> 16 <input type="submit" 17 tal:attributes="id python:('upload_%s' % viewlet.input_name); 18 name python:('upload_%s' % viewlet.input_name); 19 value viewlet/upload_button" 20 class="btn btn-primary" /> 21 (<span tal:replace="viewlet/max_upload_size">10 kB</span> max.) 22 </div> 23 </div> 24 6 25 <tal:file tal:condition="viewlet/file_exists"> 26 <br /> 27 <input type="submit" 28 tal:attributes="id python:('delete_%s' % viewlet.input_name); 29 name python:('delete_%s' % viewlet.input_name); 30 value viewlet/delete_button" 31 class="btn btn-danger" /> 7 32 <a tal:attributes="href python: view.url(context, viewlet.download_name)" 8 33 tal:content="viewlet/title" … … 11 36 </a> 12 37 </tal:file> 13 <input type="file" tal:attributes="name viewlet/input_name"/> 14 <br /> 15 <input type="submit" tal:condition="viewlet/file_exists" 16 tal:attributes="id python:('delete_%s' % viewlet.input_name); 17 name python:('delete_%s' % viewlet.input_name); 18 value viewlet/delete_button" 19 class="btn btn-danger" /> 20 <input type="submit" 21 tal:attributes="id python:('upload_%s' % viewlet.input_name); 22 name python:('upload_%s' % viewlet.input_name); 23 value viewlet/upload_button" 24 class="btn btn-primary" /> 25 <span i18n:translate=""> 26 Max. file size: 27 </span> 28 <span tal:replace="viewlet/max_upload_size">10 KB</span> 38 29 39 <br /> 30 40 </td>
Note: See TracChangeset for help on using the changeset viewer.