Ignore:
Timestamp:
29 Jan 2014, 18:42:53 (11 years ago)
Author:
Henrik Bettermann
Message:

First adjustments in datacenter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenteruploadpage.pt

    r9930 r11005  
    4646    <tr>
    4747      <td>
    48         <input class="btn primary" type="submit" name="SUBMIT"
     48        <input class="btn btn-primary" type="submit" name="SUBMIT"
    4949            tal:attributes="value view/upload_button" />
    50         <input class="btn" type="submit" name="CANCEL"
     50        <input class="btn btn-default" type="submit" name="CANCEL"
    5151            tal:attributes="value view/cancel_button"/>
    5252      </td>
     
    6767<h2 i18n:translate="">Available Processors (Importers)</h2>
    6868
    69 <table i18n:domain="waeup.kofa">
    70   <thead>
    71     <tr>
    72       <th i18n:translate="">Processor</th>
    73       <th i18n:translate="">Required Schema Fields</th>
    74       <th i18n:translate="">Optional Schema Fields</th>
    75       <th i18n:translate="">Non-Schema Fields</th>
    76       <th i18n:translate="">CSV Skeleton File</th>
     69<div class="table-responsive">
     70  <table i18n:domain="waeup.kofa" class="table table-condensed">
     71    <thead>
     72      <tr>
     73        <th i18n:translate="">Processor</th>
     74        <th i18n:translate="">Required Schema Fields</th>
     75        <th i18n:translate="">Optional Schema Fields</th>
     76        <th i18n:translate="">Non-Schema Fields</th>
     77      </tr>
     78    </thead>
     79    <tr tal:repeat="importer view/getImporters">
     80      <td>
     81        <span tal:content="importer/title">TITLE</span><br /><br />
     82        <a i18n:translate="" class="btn btn-primary btn-xs"
     83           tal:attributes="href python: 'skeleton?name=' + importer['name']">
     84           Download CSV Skeleton File
     85        </a>
     86      </td>
     87      <td nowrap>
     88        <span tal:repeat="field importer/fields">
     89            <tal:schemafield condition="field/f_type">
     90              <tal:required condition="field/f_required">
     91                <span tal:replace="field/f_name"></span>
     92                (<span tal:replace="field/f_type"></span>)
     93                <br />
     94              </tal:required>
     95            </tal:schemafield>
     96        </span>
     97      </td>
     98      <td nowrap>
     99        <span tal:repeat="field importer/fields">
     100            <tal:schemafield condition="field/f_type">
     101              <tal:notrequired condition="not:field/f_required">
     102                <span tal:replace="field/f_name"></span>
     103                (<span tal:replace="field/f_type"></span>)
     104                <br />
     105              </tal:notrequired>
     106            </tal:schemafield>
     107        </span>
     108      </td>
     109      <td>
     110        <span tal:repeat="field importer/fields">
     111            <tal:extrafield condition="not:field/f_type">
     112              <span tal:replace="field/f_name"></span>
     113              <br />
     114            </tal:extrafield>
     115        </span>
     116      </td>
     117
    77118    </tr>
    78   </thead>
    79   <tr tal:repeat="importer view/getImporters">
    80     <td tal:content="importer/title"></td>
    81     <td nowrap>
    82       <span tal:repeat="field importer/fields">
    83           <tal:schemafield condition="field/f_type">
    84             <tal:required condition="field/f_required">
    85               <span tal:replace="field/f_name"></span>
    86               (<span tal:replace="field/f_type"></span>)
    87               <br />
    88             </tal:required>
    89           </tal:schemafield>
    90       </span>
    91     </td>
    92     <td nowrap>
    93       <span tal:repeat="field importer/fields">
    94           <tal:schemafield condition="field/f_type">
    95             <tal:notrequired condition="not:field/f_required">
    96               <span tal:replace="field/f_name"></span>
    97               (<span tal:replace="field/f_type"></span>)
    98               <br />
    99             </tal:notrequired>
    100           </tal:schemafield>
    101       </span>
    102     </td>
    103     <td>
    104       <span tal:repeat="field importer/fields">
    105           <tal:extrafield condition="not:field/f_type">
    106             <span tal:replace="field/f_name"></span>
    107             <br />
    108           </tal:extrafield>
    109       </span>
    110     </td>
    111 
    112     <td>
    113       <a i18n:translate=""
    114          tal:attributes="href python: 'skeleton?name=' + importer['name']">Download</a>
    115     </td>
    116   </tr>
    117 </table>
     119  </table>
     120</div>
Note: See TracChangeset for help on using the changeset viewer.