Ignore:
Timestamp:
14 Mar 2012, 08:03:54 (13 years ago)
Author:
Henrik Bettermann
Message:

Clean-up css and labels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/fileupload.pt

    r7811 r7876  
    44  </td>
    55  <td>
    6     <span class="widget">
    7       <tal:file tal:condition="viewlet/file_exists">
    8         <a tal:attributes="href viewlet/download_name"
    9            tal:content="viewlet/title"
    10            target="image">
    11           LINK
    12         </a>
    13       </tal:file>
    14       <br />
    15       <input type="file" tal:attributes="name viewlet/input_name"/>
    16       <br /><br />
    17       <input type="submit" tal:condition="viewlet/file_exists"
    18              tal:attributes="id python:('delete_%s' % viewlet.input_name);
    19                 name python:('delete_%s' % viewlet.input_name);
    20                 value viewlet/delete_button"
    21              class="btn error" />
    22       <input type="submit"
    23                tal:attributes="id python:('upload_%s' % viewlet.input_name);
    24                   name python:('upload_%s' % viewlet.input_name);
    25                   value viewlet/upload_button"
    26                class="btn primary" />
    27       <span i18n:translate="">
    28         Max. file size:
    29       </span>
    30       <span tal:replace="viewlet/max_upload_size">10 KB</span>
     6    <tal:file tal:condition="viewlet/file_exists">
     7      <a tal:attributes="href viewlet/download_name"
     8         tal:content="viewlet/title"
     9         target="image">
     10        LINK
     11      </a>
     12    </tal:file>
     13    <br />
     14    <input type="file" tal:attributes="name viewlet/input_name"/>
     15    <br /><br />
     16    <input type="submit" tal:condition="viewlet/file_exists"
     17           tal:attributes="id python:('delete_%s' % viewlet.input_name);
     18              name python:('delete_%s' % viewlet.input_name);
     19              value viewlet/delete_button"
     20           class="btn error" />
     21    <input type="submit"
     22             tal:attributes="id python:('upload_%s' % viewlet.input_name);
     23                name python:('upload_%s' % viewlet.input_name);
     24                value viewlet/upload_button"
     25             class="btn primary" />
     26    <span i18n:translate="">
     27      Max. file size:
    3128    </span>
     29    <span tal:replace="viewlet/max_upload_size">10 KB</span>
    3230    <br />
    3331  </td>
Note: See TracChangeset for help on using the changeset viewer.