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/students/browser_templates/containerpage.pt

    r11026 r11037  
    3333  <input type="hidden" name="old_searchtype"
    3434       tal:attributes="value view/searchtype" />
    35   <table class="table table-striped dataTable">
    36     <thead>
    37     <tr>
    38       <th i18n:translate="">Student Id</th>
    39       <th i18n:translate="">Reg. Number</th>
    40       <th i18n:translate="">Matric. Number</th>
    41       <th i18n:translate="">State</th>
    42       <th i18n:translate="">Full Name</th>
    43     </tr>
    44     </thead>
    45     <tbody>
    46     <tr tal:repeat="item view/hitlist">
    47       <td> <a tal:attributes="href item/url">
    48         <span tal:content="item/student_id">A123456</span></a>
    49       </td>
    50       <td class="center"> <a tal:attributes="href item/url">
    51         <span tal:content="item/reg_number">9999999</span></a>
    52       </td>
    53       <td class="center"> <a tal:attributes="href item/url">
    54         <span tal:content="item/matric_number">9999999</span></a>
    55       </td>
    56       <td tal:content="item/state">admitted</td>
    57       <td tal:content="item/display_fullname">Bob</td>
    58     </tr>
    59     </tbody>
    60   </table>
     35  <div class="table-responsive">
     36    <table class="table table-striped dataTable">
     37      <thead>
     38      <tr>
     39        <th i18n:translate="">Student Id</th>
     40        <th i18n:translate="">Reg. Number</th>
     41        <th i18n:translate="">Matric. Number</th>
     42        <th i18n:translate="">State</th>
     43        <th i18n:translate="">Full Name</th>
     44      </tr>
     45      </thead>
     46      <tbody>
     47      <tr tal:repeat="item view/hitlist">
     48        <td> <a tal:attributes="href item/url">
     49          <span tal:content="item/student_id">A123456</span></a>
     50        </td>
     51        <td class="center"> <a tal:attributes="href item/url">
     52          <span tal:content="item/reg_number">9999999</span></a>
     53        </td>
     54        <td class="center"> <a tal:attributes="href item/url">
     55          <span tal:content="item/matric_number">9999999</span></a>
     56        </td>
     57        <td tal:content="item/state">admitted</td>
     58        <td tal:content="item/display_fullname">Bob</td>
     59      </tr>
     60      </tbody>
     61    </table>
     62  </div>
    6163  <br />
    6264</div>
Note: See TracChangeset for help on using the changeset viewer.