Ignore:
Timestamp:
29 Jan 2014, 15:26:10 (11 years ago)
Author:
Henrik Bettermann
Message:

Large tables must be responsive.

File:
1 edited

Legend:

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

    r10999 r11002  
    1 <table i18n:domain="waeup.kofa" class="table">
    2   <thead>
    3     <tr>
    4       <th i18n:translate="">Export Number</th>
    5       <th i18n:translate="">Exporter</th>
    6       <th i18n:translate="">Filter</th>
    7       <th i18n:translate="">Creator</th>
    8       <th i18n:translate="">Creation Date</th>
    9       <th i18n:translate="">Status</th>
    10       <th>&nbsp;</th>
    11     </tr>
    12   </thead>
    13   <tbody>
    14     <tr tal:repeat="job view/entries">
    15       <td>
    16         <span tal:replace="job/job">12</span>
    17       </td>
    18       <td>
    19         <span tal:replace="structure job/exporter">EXPORTER</span>
    20       </td>
    21       <td>
    22         <span tal:replace="structure job/args">ARGS</span>
    23       </td>
    24       <td>
    25         <span tal:replace="job/creator">CREATOR</span>
    26       </td>
    27       <td nowrap>
    28         <span tal:replace="job/start_time">DATETIME</span>
    29       </td>
    30       <td>
    31         <span tal:replace="job/status">STATUS</span>
    32       </td>
    33       <td nowrap>
    34         <a href="" class="btn" i18n:translate=""
    35            tal:condition="job/show_refresh_button">
    36           <img tal:attributes="src static/actionicon_reload.png" />
    37           Reload
    38         </a>
    39         <form method="POST">
    40           <a href="" class="btn btn-primary btn-xs"
    41                  tal:attributes="href job/download_url"
    42                  tal:condition="job/show_download_button">
    43             Download</a>
     1<div class=" table-responsive">
     2  <table i18n:domain="waeup.kofa" class="table">
     3    <thead>
     4      <tr>
     5        <th i18n:translate="">Export Number</th>
     6        <th i18n:translate="">Exporter</th>
     7        <th i18n:translate="">Filter</th>
     8        <th i18n:translate="">Creator</th>
     9        <th i18n:translate="">Creation Date</th>
     10        <th i18n:translate="">Status</th>
     11        <th>&nbsp;</th>
     12      </tr>
     13    </thead>
     14    <tbody>
     15      <tr tal:repeat="job view/entries">
     16        <td>
     17          <span tal:replace="job/job">12</span>
     18        </td>
     19        <td>
     20          <span tal:replace="structure job/exporter">EXPORTER</span>
     21        </td>
     22        <td>
     23          <span tal:replace="structure job/args">ARGS</span>
     24        </td>
     25        <td>
     26          <span tal:replace="job/creator">CREATOR</span>
     27        </td>
     28        <td nowrap>
     29          <span tal:replace="job/start_time">DATETIME</span>
     30        </td>
     31        <td>
     32          <span tal:replace="job/status">STATUS</span>
     33        </td>
     34        <td nowrap>
     35          <a href="" class="btn btn-default" i18n:translate=""
     36             tal:condition="job/show_refresh_button">
     37            <img tal:attributes="src static/actionicon_reload.png" />
     38            Reload
     39          </a>
     40          <form method="POST">
     41            <a href="" class="btn btn-primary btn-xs"
     42                   tal:attributes="href job/download_url"
     43                   tal:condition="job/show_download_button">
     44              Download</a>
    4445
    45           <input type="hidden" name="job_id"
    46                  tal:attributes="value job/job" />
    47           <input type="submit" class="btn btn-default btn-xs"
    48                  name="DISCARD" value="Discard"
    49                  tal:condition="job/show_discard_button" />
    50         </form>
    51       </td>
    52     </tr>
    53   </tbody>
    54 </table>
     46            <input type="hidden" name="job_id"
     47                   tal:attributes="value job/job" />
     48            <input type="submit" class="btn btn-default btn-xs"
     49                   name="DISCARD" value="Discard"
     50                   tal:condition="job/show_discard_button" />
     51          </form>
     52        </td>
     53      </tr>
     54    </tbody>
     55  </table>
     56</div>
     57
    5558<form method="POST" i18n:domain="waeup.kofa">
    56   <div class="span12">
    57 
    58   </div>
    5959  <input class="btn btn-primary" type="submit" name="CREATE"
    6060         value="Configure new export"
Note: See TracChangeset for help on using the changeset viewer.