Ignore:
Timestamp:
17 May 2015, 08:03:11 (10 years ago)
Author:
Henrik Bettermann
Message:

Rework datacenter upload page. (work in progress).

Location:
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenteruploadpage.pt

    r12867 r12957  
    11<p i18n:translate="">
    2     Before uploading a file check that your file header corresponds
     2    Before uploading a file, check that your file header corresponds
    33    with header format of the selected processor. All available headers
    44    are listed below.
     
    6565    The data will be imported according to the information given.
    6666</p>
    67 
    68 <br /><br />
    69 
    70 <h2 i18n:translate="">Available Processors (Importers)</h2>
    71 
    72 <table i18n:domain="waeup.kofa" class="table table-condensed">
    73   <thead>
    74     <tr>
    75       <th i18n:translate="">Processor</th>
    76       <th i18n:translate="">Required Schema Fields</th>
    77       <th i18n:translate="">Optional Schema Fields</th>
    78       <th i18n:translate="">Non-Schema Fields</th>
    79     </tr>
    80   </thead>
    81   <tr tal:repeat="importer view/getImporters">
    82     <td>
    83       <span tal:content="importer/title">TITLE</span><br /><br />
    84       <a i18n:translate="" class="btn btn-primary btn-xs"
    85          tal:attributes="href python: 'skeleton?name=' + importer['name']">
    86          Download CSV File Template
    87       </a>
    88     </td>
    89     <td nowrap>
    90       <span tal:repeat="field importer/fields">
    91           <tal:schemafield condition="field/f_type">
    92             <tal:required condition="field/f_required">
    93               <span tal:replace="field/f_name"></span>
    94               (<span tal:replace="field/f_type"></span>)
    95               <br />
    96             </tal:required>
    97           </tal:schemafield>
    98       </span>
    99     </td>
    100     <td nowrap>
    101       <span tal:repeat="field importer/fields">
    102           <tal:schemafield condition="field/f_type">
    103             <tal:notrequired condition="not:field/f_required">
    104               <span tal:replace="field/f_name"></span>
    105               (<span tal:replace="field/f_type"></span>)
    106               <br />
    107             </tal:notrequired>
    108           </tal:schemafield>
    109       </span>
    110     </td>
    111     <td>
    112       <span tal:repeat="field importer/fields">
    113           <tal:extrafield condition="not:field/f_type">
    114             <span tal:replace="field/f_name"></span>
    115             <br />
    116           </tal:extrafield>
    117       </span>
    118     </td>
    119 
    120   </tr>
    121 </table>
Note: See TracChangeset for help on using the changeset viewer.