Ignore:
Timestamp:
3 Feb 2014, 06:56:27 (11 years ago)
Author:
Henrik Bettermann
Message:

Put all data tables into a <div class="table-responsive"> element.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/accesscodes/browser_templates/searchpage.pt

    r11026 r11037  
    2323    <input type="hidden" name="old_searchtype"
    2424         tal:attributes="value view/searchtype" />
    25     <table class="dataTableManage">
    26       <thead>
    27       <tr>
    28         <th>&nbsp;</th>
    29         <th width="50px" i18n:translate="">Serial</th>
    30         <th i18n:translate="">AC</th>
    31         <th i18n:translate="">State</th>
    32         <th i18n:translate="">Owner</th>
    33         <th i18n:translate="">History</th>
    34       </tr>
    35       </thead>
    36       <tbody>
    37       <tr tal:repeat="item view/hitlist">
    38         <td><input type="checkbox" name="entries"
    39                    tal:attributes="value item/code" /></td>
    40         <td tal:content="item/batch_serial">1</td>
    41         <td tal:content="item/code">APP-1-1234567890</td>
    42         <td tal:content="item/translated_state">unused</td>
    43         <td tal:content="item/owner">Id</td>
    44           <td tal:content="structure python:item.history.replace('||','<br />')">
    45             history
    46           </td>
    47       </tr>
    48       </tbody>
    49     </table>
     25    <div class="table-responsive">
     26      <table class="dataTableManage">
     27        <thead>
     28        <tr>
     29          <th>&nbsp;</th>
     30          <th width="50px" i18n:translate="">Serial</th>
     31          <th i18n:translate="">AC</th>
     32          <th i18n:translate="">State</th>
     33          <th i18n:translate="">Owner</th>
     34          <th i18n:translate="">History</th>
     35        </tr>
     36        </thead>
     37        <tbody>
     38        <tr tal:repeat="item view/hitlist">
     39          <td><input type="checkbox" name="entries"
     40                     tal:attributes="value item/code" /></td>
     41          <td tal:content="item/batch_serial">1</td>
     42          <td tal:content="item/code">APP-1-1234567890</td>
     43          <td tal:content="item/translated_state">unused</td>
     44          <td tal:content="item/owner">Id</td>
     45            <td tal:content="structure python:item.history.replace('||','<br />')">
     46              history
     47            </td>
     48        </tr>
     49        </tbody>
     50      </table>
     51    </div>
    5052    <div>
    5153      <input type="submit" class="btn btn-default" name="disable"
Note: See TracChangeset for help on using the changeset viewer.