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/studyleveleditpage.pt

    r11025 r11037  
    88      tal:replace="view/context/total_credits">TOTAL</span>)
    99  </h3>
    10   <table class="display dataTableManage">
    11   <thead>
    12     <tr>
    13       <th>&nbsp;</th>
    14       <th i18n:translate="">Term</th>
    15       <th i18n:translate="">Code</th>
    16       <th i18n:translate="">Title</th>
    17       <th i18n:translate="">Department</th>
    18       <th i18n:translate="">Faculty</th>
    19       <th i18n:translate="">Credits</th>
    20       <th i18n:translate="">Score</th>
    21       <th i18n:translate="">CO</th>
    22     </tr>
    23   </thead>
    24   <tbody>
    25     <tr tal:repeat="value view/translated_values" class="gradeC">
    26        <td>
    27         <input type="checkbox" name="val_id"
    28                   tal:attributes="value value/__name__"
    29         tal:condition="value/removable_by_student" />
    30       </td>
    31       <td tal:content="value/semester" nowrap>TERM</td>
    32       <td> <a tal:attributes="href value/url">
    33       <span tal:content="value/code">CODE</span>
    34       </a></td>
    35       <td tal:content="value/title">TITLE</td>
    36       <td tal:content="value/dcode">DEPARTMENT</td>
    37       <td tal:content="value/fcode">FACULTY</td>
    38       <td tal:content="value/credits">CREDITS</td>
    39       <td tal:content="value/score|nothing">SCORE</td>
    40       <td tal:content="value/carry_over">CO</td>
    41     </tr>
    42   </tbody>
    43   </table>
     10  <div class="table-responsive">
     11    <table class="display dataTableManage">
     12    <thead>
     13      <tr>
     14        <th>&nbsp;</th>
     15        <th i18n:translate="">Term</th>
     16        <th i18n:translate="">Code</th>
     17        <th i18n:translate="">Title</th>
     18        <th i18n:translate="">Department</th>
     19        <th i18n:translate="">Faculty</th>
     20        <th i18n:translate="">Credits</th>
     21        <th i18n:translate="">Score</th>
     22        <th i18n:translate="">CO</th>
     23      </tr>
     24    </thead>
     25    <tbody>
     26      <tr tal:repeat="value view/translated_values" class="gradeC">
     27         <td>
     28          <input type="checkbox" name="val_id"
     29                  tal:attributes="value value/__name__"
     30          tal:condition="value/removable_by_student" />
     31        </td>
     32        <td tal:content="value/semester" nowrap>TERM</td>
     33        <td> <a tal:attributes="href value/url">
     34        <span tal:content="value/code">CODE</span>
     35        </a></td>
     36        <td tal:content="value/title">TITLE</td>
     37        <td tal:content="value/dcode">DEPARTMENT</td>
     38        <td tal:content="value/fcode">FACULTY</td>
     39        <td tal:content="value/credits">CREDITS</td>
     40        <td tal:content="value/score|nothing">SCORE</td>
     41        <td tal:content="value/carry_over">CO</td>
     42      </tr>
     43    </tbody>
     44    </table>
     45  </div>
    4446
    4547  <div tal:condition="view/availableActions">
Note: See TracChangeset for help on using the changeset viewer.