Changeset 11433 for main/waeup.kofa


Ignore:
Timestamp:
24 Feb 2014, 22:02:39 (11 years ago)
Author:
Henrik Bettermann
Message:

Make table on applicantsrootpage responsive.

Location:
main/waeup.kofa/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/CHANGES.txt

    r11431 r11433  
    441.0.1dev (unreleased)
    55=====================
     6
     7* Make table on applicantsrootpage responsive.
    68
    79* Change width of input, select and textarea fields.
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantsrootpage.pt

    r11254 r11433  
    44</span>
    55
    6 <table i18n:domain="waeup.kofa" class="table table-hover">
    7   <thead>
    8     <tr>
    9       <th i18n:translate="">Year</th>
    10       <th i18n:translate="">Code</th>
    11       <th i18n:translate="">Title</th>
    12       <th i18n:translate="">Application Period</th>
    13     </tr>
    14   </thead>
    15   <tbody>
    16     <tr tal:repeat="entry view/containers">
    17       <td tal:content="entry/year">Year
    18       </td>
    19       <td tal:content="entry/__name__">CODE
    20       </td>
    21       <td>
    22              <a href=""
    23            tal:attributes="href python:view.url(entry)"
    24            tal:content="entry/title">TITLE</a>
    25       </td>
    26       <td>
    27       <span tal:content="python: layout.formatTZDate(entry.startdate)">START</span>
    28       -
    29       <span tal:content="python: layout.formatTZDate(entry.enddate)">END</span>
    30       </td>
    31     </tr>
    32   </tbody>
    33 </table>
     6<div class="table-responsive">
     7  <table i18n:domain="waeup.kofa" class="table table-hover">
     8    <thead>
     9      <tr>
     10        <th i18n:translate="">Year</th>
     11        <th i18n:translate="">Code</th>
     12        <th i18n:translate="">Title</th>
     13        <th i18n:translate="">Application Period</th>
     14      </tr>
     15    </thead>
     16    <tbody>
     17      <tr tal:repeat="entry view/containers">
     18        <td tal:content="entry/year">Year
     19        </td>
     20        <td tal:content="entry/__name__">CODE
     21        </td>
     22        <td>
     23             <a href=""
     24           tal:attributes="href python:view.url(entry)"
     25           tal:content="entry/title">TITLE</a>
     26        </td>
     27        <td>
     28        <span tal:content="python: layout.formatTZDate(entry.startdate)">START</span>
     29        -
     30        <span tal:content="python: layout.formatTZDate(entry.enddate)">END</span>
     31        </td>
     32      </tr>
     33    </tbody>
     34  </table>
     35</div>
Note: See TracChangeset for help on using the changeset viewer.