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

Remove rapping element <div class="table-responsive"> again and apply Diazo rule instead.

Location:
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/hostels/browser_templates
Files:
2 edited

Legend:

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

    r11037 r11040  
    3434    <div id="tab2" class="tab-pane">
    3535      <br />
    36       <div class="table-responsive">
    37         <table class="dataTableManage">
    38           <thead>
    39             <tr>
    40               <th>&nbsp;
    41               </th>
    42               <th i18n:translate="">Id
    43               </th>
    44               <th i18n:translate="">Name
    45               </th>
    46             </tr>
    47           </thead>
    48           <tbody>
    49             <tr tal:repeat="hostel context/values"> <td>
    50                 <input type="checkbox" name="val_id" tal:attributes="value hostel/hostel_id" /> </td> <td>
    51                 <a tal:attributes="href python: view.url(hostel)" tal:content="hostel/__name__"> ID</a> </td> <td>
    52                 <span tal:content="hostel/hostel_name">ID
    53                 </span> </td>
    54             </tr>
    55           </tbody>
    56         </table>
    57       </div>
     36      <table class="dataTableManage">
     37        <thead>
     38          <tr>
     39            <th>&nbsp;
     40            </th>
     41            <th i18n:translate="">Id
     42            </th>
     43            <th i18n:translate="">Name
     44            </th>
     45          </tr>
     46        </thead>
     47        <tbody>
     48          <tr tal:repeat="hostel context/values"> <td>
     49              <input type="checkbox" name="val_id" tal:attributes="value hostel/hostel_id" /> </td> <td>
     50              <a tal:attributes="href python: view.url(hostel)" tal:content="hostel/__name__"> ID</a> </td> <td>
     51              <span tal:content="hostel/hostel_name">ID
     52              </span> </td>
     53          </tr>
     54        </tbody>
     55      </table>
    5856      <div tal:condition="view/availableActions">
    5957        <span tal:repeat="action view/actions" tal:omit-tag="">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/hostels/browser_templates/hostelmanagepage.pt

    r11037 r11040  
    4444    <div id="tab2" class="tab-pane">
    4545      <br />
    46       <div class="table-responsive">
    47         <table class="dataTableManage">
    48           <thead>
    49             <tr>
    50               <th>&nbsp;</th>
    51               <th i18n:translate="">Id</th>
    52               <th i18n:translate="">Type</th>
    53               <th i18n:translate="">Number</th>
    54               <th i18n:translate="">Owner</th>
    55             </tr>
    56           </thead>
    57           <tbody>
    58             <tr tal:repeat="value context/values">
    59                <td>
    60                 <input type="checkbox" name="val_id"
    61                           tal:attributes="value value/__name__" />
    62               </td>
    63               <td tal:content="value/bed_id">ID</td>
    64               <td tal:content="value/bed_type">TYPE</td>
    65               <td tal:content="value/bed_number">NUMBER</td>
    66               <td>
    67                 <a tal:condition="python: value.owner != view.not_occupied"
    68                    tal:attributes="href python: '%s/%s/accommodation' %
    69                         (view.students_url,value.owner)">
    70                   <span tal:content="value/owner">OWNER</span>
    71                 </a>
    72                 <a tal:condition="python: value.owner == view.not_occupied"
    73                    tal:attributes="href python: view.url(value)"
    74                    i18n:translate="">
    75                 [allocate student]
    76                 </a>
    77               </td>
    78             </tr>
    79           </tbody>
    80         </table>
    81       </div>
     46      <table class="dataTableManage">
     47        <thead>
     48          <tr>
     49            <th>&nbsp;</th>
     50            <th i18n:translate="">Id</th>
     51            <th i18n:translate="">Type</th>
     52            <th i18n:translate="">Number</th>
     53            <th i18n:translate="">Owner</th>
     54          </tr>
     55        </thead>
     56        <tbody>
     57          <tr tal:repeat="value context/values">
     58             <td>
     59              <input type="checkbox" name="val_id"
     60                          tal:attributes="value value/__name__" />
     61            </td>
     62            <td tal:content="value/bed_id">ID</td>
     63            <td tal:content="value/bed_type">TYPE</td>
     64            <td tal:content="value/bed_number">NUMBER</td>
     65            <td>
     66              <a tal:condition="python: value.owner != view.not_occupied"
     67                 tal:attributes="href python: '%s/%s/accommodation' %
     68                      (view.students_url,value.owner)">
     69                <span tal:content="value/owner">OWNER</span>
     70              </a>
     71              <a tal:condition="python: value.owner == view.not_occupied"
     72                 tal:attributes="href python: view.url(value)"
     73                 i18n:translate="">
     74              [allocate student]
     75              </a>
     76            </td>
     77          </tr>
     78        </tbody>
     79      </table>
    8280
    8381      <div tal:condition="view/availableActions">
Note: See TracChangeset for help on using the changeset viewer.