Changeset 11037 for main


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.

Location:
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa
Files:
24 edited

Legend:

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

    r11026 r11037  
    2323    <input type="hidden" name="old_searchtype"
    2424         tal:attributes="value view/searchtype" />
    25     <table class="dataTableManage">
    26       <thead>
    27       <tr>
    28         <th>&nbsp;</th>
    29         <th width="50px" i18n:translate="">Serial</th>
    30         <th i18n:translate="">AC</th>
    31         <th i18n:translate="">State</th>
    32         <th i18n:translate="">Owner</th>
    33         <th i18n:translate="">History</th>
    34       </tr>
    35       </thead>
    36       <tbody>
    37       <tr tal:repeat="item view/hitlist">
    38         <td><input type="checkbox" name="entries"
    39                    tal:attributes="value item/code" /></td>
    40         <td tal:content="item/batch_serial">1</td>
    41         <td tal:content="item/code">APP-1-1234567890</td>
    42         <td tal:content="item/translated_state">unused</td>
    43         <td tal:content="item/owner">Id</td>
    44           <td tal:content="structure python:item.history.replace('||','<br />')">
    45             history
    46           </td>
    47       </tr>
    48       </tbody>
    49     </table>
     25    <div class="table-responsive">
     26      <table class="dataTableManage">
     27        <thead>
     28        <tr>
     29          <th>&nbsp;</th>
     30          <th width="50px" i18n:translate="">Serial</th>
     31          <th i18n:translate="">AC</th>
     32          <th i18n:translate="">State</th>
     33          <th i18n:translate="">Owner</th>
     34          <th i18n:translate="">History</th>
     35        </tr>
     36        </thead>
     37        <tbody>
     38        <tr tal:repeat="item view/hitlist">
     39          <td><input type="checkbox" name="entries"
     40                     tal:attributes="value item/code" /></td>
     41          <td tal:content="item/batch_serial">1</td>
     42          <td tal:content="item/code">APP-1-1234567890</td>
     43          <td tal:content="item/translated_state">unused</td>
     44          <td tal:content="item/owner">Id</td>
     45            <td tal:content="structure python:item.history.replace('||','<br />')">
     46              history
     47            </td>
     48        </tr>
     49        </tbody>
     50      </table>
     51    </div>
    5052    <div>
    5153      <input type="submit" class="btn btn-default" name="disable"
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser_templates/applicantscontainermanagepage.pt

    r11026 r11037  
    3737    <tal:showApplicants  condition="view/showApplicants">
    3838      <br />
    39       <table class="dataTableManage">
    40         <thead>
    41           <tr>
    42             <th>&nbsp;
    43             </th>
    44             <th i18n:translate="">Application Number
    45             </th>
    46             <th i18n:translate="">Full Name
    47             </th>
    48             <th i18n:translate="">First Choice
    49             </th>
    50             <th i18n:translate="">Application State
    51             </th>
    52           </tr>
    53         </thead>
    54         <tbody>
    55           <tr tal:repeat="appl context/values">
    56             <td>
    57               <input type="checkbox" name="val_id" tal:attributes="value appl/__name__" />
    58             </td>
    59             <td>
    60               <a tal:attributes="href python: view.url(appl)"
    61                  tal:content="appl/__name__">NUMBER</a>
    62             </td>
    63             <td>
    64               <span tal:replace="appl/display_fullname">FULLNAME
    65               </span>
    66             </td>
    67             <td>
    68               <span tal:replace="appl/course1/code|nothing">FIRSTCHOICE
    69               </span>
    70             </td>
    71             <td>
    72               <span tal:replace="appl/translated_state">STATE
    73               </span>
    74             </td>
    75           </tr>
    76         </tbody>
    77       </table>
     39      <div class="table-responsive">
     40        <table class="dataTableManage">
     41          <thead>
     42            <tr>
     43              <th>&nbsp;
     44              </th>
     45              <th i18n:translate="">Application Number
     46              </th>
     47              <th i18n:translate="">Full Name
     48              </th>
     49              <th i18n:translate="">First Choice
     50              </th>
     51              <th i18n:translate="">Application State
     52              </th>
     53            </tr>
     54          </thead>
     55          <tbody>
     56            <tr tal:repeat="appl context/values">
     57              <td>
     58                <input type="checkbox" name="val_id" tal:attributes="value appl/__name__" />
     59              </td>
     60              <td>
     61                <a tal:attributes="href python: view.url(appl)"
     62                   tal:content="appl/__name__">NUMBER</a>
     63              </td>
     64              <td>
     65                <span tal:replace="appl/display_fullname">FULLNAME
     66                </span>
     67              </td>
     68              <td>
     69                <span tal:replace="appl/course1/code|nothing">FIRSTCHOICE
     70                </span>
     71              </td>
     72              <td>
     73                <span tal:replace="appl/translated_state">STATE
     74                </span>
     75              </td>
     76            </tr>
     77          </tbody>
     78        </table>
     79      </div>
    7880      <input type="checkbox" onClick="toggle(this, 'val_id')" />
    7981      <span  i18n:translate="">Select all</span>
     
    102104    </div>
    103105    <div id="tab3" class="tab-pane"> <br />
    104       <table class="dataTableManage">
    105         <thead>
    106           <tr>
    107             <th>&nbsp;
    108             </th>
    109             <th i18n:translate="">User Id
    110             </th>
    111             <th i18n:translate="">Name
    112             </th>
    113             <th i18n:translate="">Local Role
    114             </th>
    115           </tr>
    116         </thead>
    117         <tbody>
    118           <tr tal:repeat="entry view/getUsersWithLocalRoles"> <td>
    119               <input type="checkbox" name="role_id"
    120                 tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    121             <td tal:content="entry/user_name"> USERNAME  </td>
    122             <td tal:content="entry/user_title"> USERTITLE  </td>
    123             <td tal:content="entry/local_role_title"> LOCAL ROLE  </td>
    124           </tr>
    125         </tbody>
    126       </table>
     106      <div class="table-responsive">
     107        <table class="dataTableManage">
     108          <thead>
     109            <tr>
     110              <th>&nbsp;
     111              </th>
     112              <th i18n:translate="">User Id
     113              </th>
     114              <th i18n:translate="">Name
     115              </th>
     116              <th i18n:translate="">Local Role
     117              </th>
     118            </tr>
     119          </thead>
     120          <tbody>
     121            <tr tal:repeat="entry view/getUsersWithLocalRoles"> <td>
     122                <input type="checkbox" name="role_id"
     123                  tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     124              <td tal:content="entry/user_name"> USERNAME  </td>
     125              <td tal:content="entry/user_title"> USERTITLE  </td>
     126              <td tal:content="entry/local_role_title"> LOCAL ROLE  </td>
     127            </tr>
     128          </tbody>
     129        </table>
     130      </div>
    127131      <div tal:condition="view/availableActions">
    128132        <span tal:repeat="action view/actions" tal:omit-tag="">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser_templates/applicantsrootmanagepage.pt

    r11026 r11037  
    4141        Please be patient until all records have been loaded.
    4242      </p>
    43       <table class="dataTableManage">
    44         <thead>
    45           <tr>
    46             <th>&nbsp;
    47             </th>
    48             <th i18n:translate="">Year
    49             </th>
    50             <th i18n:translate="">Code
    51             </th>
    52             <th i18n:translate="">Title
    53             </th>
    54             <th i18n:translate="">Records
    55             </th>
    56           </tr>
    57         </thead>
    58         <tbody>
    59           <tr tal:repeat="entry context/values"> <td>
    60               <input type="checkbox" name="val_id"
    61                 tal:attributes="value entry/__name__" /> </td>
    62             <td tal:content="entry/year">YEAR</td> <td>
    63               <a href=""
    64                 tal:attributes="href python:view.url(entry) + '/manage'"
    65                 tal:content="entry/__name__">CODE</a> </td>
    66             <td tal:content="entry/title">TITLE</td>
    67             <td tal:content="python:len(entry)">YEAR</td>
    68           </tr>
    69         </tbody>
    70       </table>
     43      <div class="table-responsive">
     44        <table class="dataTableManage">
     45          <thead>
     46            <tr>
     47              <th>&nbsp;
     48              </th>
     49              <th i18n:translate="">Year
     50              </th>
     51              <th i18n:translate="">Code
     52              </th>
     53              <th i18n:translate="">Title
     54              </th>
     55              <th i18n:translate="">Records
     56              </th>
     57            </tr>
     58          </thead>
     59          <tbody>
     60            <tr tal:repeat="entry context/values"> <td>
     61                <input type="checkbox" name="val_id"
     62                  tal:attributes="value entry/__name__" /> </td>
     63              <td tal:content="entry/year">YEAR</td> <td>
     64                <a href=""
     65                  tal:attributes="href python:view.url(entry) + '/manage'"
     66                  tal:content="entry/__name__">CODE</a> </td>
     67              <td tal:content="entry/title">TITLE</td>
     68              <td tal:content="python:len(entry)">YEAR</td>
     69            </tr>
     70          </tbody>
     71        </table>
     72      </div>
    7173      <div tal:condition="view/availableActions">
    7274        <span tal:repeat="action view/actions" tal:omit-tag="">
     
    7880    <div id="tab3" class="tab-pane">
    7981      <br />
    80       <table class="dataTableManage">
    81         <thead>
    82           <tr>
    83             <th>&nbsp;
    84             </th>
    85             <th i18n:translate="">User Id
    86             </th>
    87             <th i18n:translate="">Name
    88             </th>
    89             <th i18n:translate="">Local Role
    90             </th>
    91           </tr>
    92         </thead>
    93         <tbody>
    94           <tr tal:repeat="entry view/getUsersWithLocalRoles">
    95             <td> <input type="checkbox" name="role_id"
    96                     tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" />  </td>
    97             <td tal:content="entry/user_name">USERNAME</td>
    98             <td tal:content="entry/user_title">USERTITLE</td>
    99             <td tal:content="entry/local_role_title">LOCAL ROLE</td>
    100           </tr>
    101         </tbody>
    102       </table>
     82      <div class="table-responsive">
     83        <table class="dataTableManage">
     84          <thead>
     85            <tr>
     86              <th>&nbsp;
     87              </th>
     88              <th i18n:translate="">User Id
     89              </th>
     90              <th i18n:translate="">Name
     91              </th>
     92              <th i18n:translate="">Local Role
     93              </th>
     94            </tr>
     95          </thead>
     96          <tbody>
     97            <tr tal:repeat="entry view/getUsersWithLocalRoles">
     98              <td> <input type="checkbox" name="role_id"
     99                      tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" />  </td>
     100              <td tal:content="entry/user_name">USERNAME</td>
     101              <td tal:content="entry/user_title">USERTITLE</td>
     102              <td tal:content="entry/local_role_title">LOCAL ROLE</td>
     103            </tr>
     104          </tbody>
     105        </table>
     106      </div>
    103107      <div tal:condition="view/availableActions">
    104108        <span tal:repeat="action view/actions" tal:omit-tag="">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser_templates/applicantssearchpage.pt

    r11026 r11037  
    2020    <input type="hidden" name="old_searchtype"
    2121         tal:attributes="value view/searchtype" />
    22     <table class="display dataTable">
    23       <thead>
    24       <tr>
    25         <th i18n:translate="">Applicant Id</th>
    26         <th i18n:translate="">Reg. Number</th>
    27         <th i18n:translate="">Application State</th>
    28         <th i18n:translate="">Full Name</th>
    29       </tr>
    30       </thead>
    31       <tbody>
    32       <tr tal:repeat="item view/results" class="gradeC">
    33         <td> <a tal:attributes="href python:view.url(item)">
    34           <span tal:content="item/applicant_id">XXXX_1234</span></a>
    35         </td>
    36         <td class="center">
    37           <span tal:content="item/reg_number">9999999</span>
    38         </td>
    39         <td tal:content="item/state">admitted</td>
    40         <td tal:content="item/display_fullname">Bob</td>
    41       </tr>
    42       </tbody>
    43     </table>
    44     <br />
     22    <div class="table-responsive">
     23      <table class="display dataTable">
     24        <thead>
     25        <tr>
     26          <th i18n:translate="">Applicant Id</th>
     27          <th i18n:translate="">Reg. Number</th>
     28          <th i18n:translate="">Application State</th>
     29          <th i18n:translate="">Full Name</th>
     30        </tr>
     31        </thead>
     32        <tbody>
     33        <tr tal:repeat="item view/results" class="gradeC">
     34          <td> <a tal:attributes="href python:view.url(item)">
     35            <span tal:content="item/applicant_id">XXXX_1234</span></a>
     36          </td>
     37          <td class="center">
     38            <span tal:content="item/reg_number">9999999</span>
     39          </td>
     40          <td tal:content="item/state">admitted</td>
     41          <td tal:content="item/display_fullname">Bob</td>
     42        </tr>
     43        </tbody>
     44      </table>
     45    </div>
    4546  </div>
    4647</form>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/certificatemanagepage.pt

    r11026 r11037  
    3535        <span i18n:domain="waeup.kofa" i18n:translate="">Courses</span>
    3636      </h3>
    37       <table class="dataTableManage">
    38         <thead>
    39           <tr>
    40             <th>&nbsp;</th>
    41             <th i18n:translate="">Level</th>
    42             <th i18n:translate="">Semester</th>
    43             <th i18n:translate="">Cert. Course</th>
    44             <th i18n:translate="">Dep. Course</th>
    45             <th i18n:translate="">Title</th>
    46             <th i18n:translate="">Required</th>
    47           </tr>
    48         </thead>
    49         <tbody>
    50           <tr tal:repeat="cc context/values">
    51             <td>
    52               <input type="checkbox" name="val_id"
    53                      tal:attributes="value cc/__name__" />
    54             </td>
    55             <td>
    56               <span tal:content="cc/level">
    57                 LEVEL
    58               </span>
    59             </td>
    60             <td tal:content="cc/course/semester">SEMESTER</td>
    61             <td>
    62               <a tal:attributes="href python: view.url(cc)"
    63                  tal:content="cc/__name__">
    64                 REFERRER CODE
    65               </a>
    66             </td>
    67             <td>
    68               <a tal:attributes="href python:view.url(cc.course)"
    69                  tal:content="cc/course/code">
    70                 COURSE CODE
    71               </a>
    72             </td>
    73             <td>
    74               <span tal:content="cc/course/title">
    75                 COURSE TITLE
    76               </span>
    77             </td>
    78             <td>
    79               <span tal:content="cc/mandatory">
    80                 REQUIRED
    81               </span>
    82             </td>
    83           </tr>
    84         </tbody>
    85       </table>
     37      <div class="table-responsive">
     38        <table class="dataTableManage">
     39          <thead>
     40            <tr>
     41              <th>&nbsp;</th>
     42              <th i18n:translate="">Level</th>
     43              <th i18n:translate="">Semester</th>
     44              <th i18n:translate="">Cert. Course</th>
     45              <th i18n:translate="">Dep. Course</th>
     46              <th i18n:translate="">Title</th>
     47              <th i18n:translate="">Required</th>
     48            </tr>
     49          </thead>
     50          <tbody>
     51            <tr tal:repeat="cc context/values">
     52              <td>
     53                <input type="checkbox" name="val_id"
     54                       tal:attributes="value cc/__name__" />
     55              </td>
     56              <td>
     57                <span tal:content="cc/level">
     58                  LEVEL
     59                </span>
     60              </td>
     61              <td tal:content="cc/course/semester">SEMESTER</td>
     62              <td>
     63                <a tal:attributes="href python: view.url(cc)"
     64                   tal:content="cc/__name__">
     65                REFERRER CODE
     66                </a>
     67              </td>
     68              <td>
     69                <a tal:attributes="href python:view.url(cc.course)"
     70                   tal:content="cc/course/code">
     71                COURSE CODE
     72                </a>
     73              </td>
     74              <td>
     75                <span tal:content="cc/course/title">
     76                  COURSE TITLE
     77                </span>
     78              </td>
     79              <td>
     80                <span tal:content="cc/mandatory">
     81                  REQUIRED
     82                </span>
     83              </td>
     84            </tr>
     85          </tbody>
     86        </table>
     87      </div>
    8688      <div tal:condition="view/availableActions">
    8789        <span tal:repeat="action view/actions"
     
    9496    <div id="tab3" class="tab-pane">
    9597      <br />
    96       <table class="dataTableManage">
    97         <thead>
    98           <tr>
    99             <th>&nbsp;
    100             </th>
    101             <th i18n:translate="">User Id
    102             </th>
    103             <th i18n:translate="">Name
    104             </th>
    105             <th i18n:translate="">Local Role
    106             </th>
    107           </tr>
    108         </thead>
    109         <tbody>
    110           <tr tal:repeat="entry view/getUsersWithLocalRoles"> <td>
    111             <input type="checkbox" name="role_id"
    112                    tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    113             <td tal:content="entry/user_name"> USERNAME </td>
    114             <td tal:content="entry/user_title"> USERTITLE </td>
    115             <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
    116           </tr>
    117         </tbody>
    118       </table>
     98      <div class="table-responsive">
     99        <table class="dataTableManage">
     100          <thead>
     101            <tr>
     102              <th>&nbsp;
     103              </th>
     104              <th i18n:translate="">User Id
     105              </th>
     106              <th i18n:translate="">Name
     107              </th>
     108              <th i18n:translate="">Local Role
     109              </th>
     110            </tr>
     111          </thead>
     112          <tbody>
     113            <tr tal:repeat="entry view/getUsersWithLocalRoles"> <td>
     114              <input type="checkbox" name="role_id"
     115                     tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     116              <td tal:content="entry/user_name"> USERNAME </td>
     117              <td tal:content="entry/user_title"> USERTITLE </td>
     118              <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
     119            </tr>
     120          </tbody>
     121        </table>
     122      </div>
    119123      <div tal:condition="view/availableActions">
    120124        <span tal:repeat="action view/actions" tal:omit-tag="">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/certificatepage.pt

    r10999 r11037  
    2323</h3>
    2424<br />
    25 <table i18n:domain="waeup.kofa" class="dataTable">
    26 <thead>
    27   <tr>
    28     <th i18n:translate="">Level</th>
    29     <th i18n:translate="">Semester</th>
    30     <th i18n:translate="">Cert. Course</th>
    31     <th i18n:translate="">Dep. Course</th>
    32     <th i18n:translate="">Title</th>
    33     <th i18n:translate="">Required</th>
    34   </tr>
    35 </thead>
    36 <tbody>
    37   <tr tal:repeat="cc context/values">
    38      <td>
    39       <span tal:content="cc/level">
    40            LEVEL
    41       </span>
    42     </td>
    43     <td tal:content="cc/course/semester">SEMESTER</td>
    44     <td>
    45       <a tal:attributes="href python: view.url(cc)"
    46              tal:content="cc/__name__">
    47         REFERRER CODE
    48       </a>
    49     </td>
    50     <td>
    51       <a tal:attributes="href python:view.url(cc.course)"
    52              tal:content="cc/course/code">
    53         COURSE CODE
    54       </a>
    55     <td>
    56       <span tal:content="cc/course/title">
    57            COURSE TITLE
    58       </span>
    59     </td>
    60     <td>
    61       <span tal:content="cc/mandatory">
    62            REQUIRED
    63       </span>
    64     </td>
    65   </tr>
    66 </tbody>
    67 </table>
     25<div class="table-responsive">
     26  <table i18n:domain="waeup.kofa" class="dataTable">
     27  <thead>
     28    <tr>
     29      <th i18n:translate="">Level</th>
     30      <th i18n:translate="">Semester</th>
     31      <th i18n:translate="">Cert. Course</th>
     32      <th i18n:translate="">Dep. Course</th>
     33      <th i18n:translate="">Title</th>
     34      <th i18n:translate="">Required</th>
     35    </tr>
     36  </thead>
     37  <tbody>
     38    <tr tal:repeat="cc context/values">
     39       <td>
     40        <span tal:content="cc/level">
     41           LEVEL
     42        </span>
     43      </td>
     44      <td tal:content="cc/course/semester">SEMESTER</td>
     45      <td>
     46        <a tal:attributes="href python: view.url(cc)"
     47             tal:content="cc/__name__">
     48        REFERRER CODE
     49        </a>
     50      </td>
     51      <td>
     52        <a tal:attributes="href python:view.url(cc.course)"
     53             tal:content="cc/course/code">
     54        COURSE CODE
     55        </a>
     56      <td>
     57        <span tal:content="cc/course/title">
     58           COURSE TITLE
     59        </span>
     60      </td>
     61      <td>
     62        <span tal:content="cc/mandatory">
     63           REQUIRED
     64        </span>
     65      </td>
     66    </tr>
     67  </tbody>
     68  </table>
     69</div>
    6870
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/coursemanagepage.pt

    r11026 r11037  
    2828    <div id="tab3" class="tab-pane">
    2929      <br />
    30       <table class="dataTableManage">
    31         <thead>
    32           <tr>
    33             <th>&nbsp;
    34             </th>
    35             <th i18n:translate="">User Id
    36             </th>
    37             <th i18n:translate="">Name
    38             </th>
    39             <th i18n:translate="">Local Role
    40             </th>
    41           </tr>
    42         </thead>
    43         <tbody>
    44           <tr tal:repeat="entry view/getUsersWithLocalRoles"> <td>
    45             <input type="checkbox" name="role_id"
    46                    tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    47             <td tal:content="entry/user_name"> USERNAME </td>
    48             <td tal:content="entry/user_title"> USERTITLE </td>
    49             <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
    50           </tr>
    51         </tbody>
    52       </table>
     30      <div class="table-responsive">
     31        <table class="dataTableManage">
     32          <thead>
     33            <tr>
     34              <th>&nbsp;
     35              </th>
     36              <th i18n:translate="">User Id
     37              </th>
     38              <th i18n:translate="">Name
     39              </th>
     40              <th i18n:translate="">Local Role
     41              </th>
     42            </tr>
     43          </thead>
     44          <tbody>
     45            <tr tal:repeat="entry view/getUsersWithLocalRoles"> <td>
     46              <input type="checkbox" name="role_id"
     47                     tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     48              <td tal:content="entry/user_name"> USERNAME </td>
     49              <td tal:content="entry/user_title"> USERTITLE </td>
     50              <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
     51            </tr>
     52          </tbody>
     53        </table>
     54      </div>
    5355      <div tal:condition="view/availableActions">
    5456        <span tal:repeat="action view/actions" tal:omit-tag="">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenterfinishedpage.pt

    r11006 r11037  
    44  imports. The files contain the imported datasets.
    55</p>
    6 <table i18n:domain="waeup.kofa" class="dataTableFiles">
    7   <thead>
    8     <tr>
    9       <th i18n:translate="">File</th>
    10       <th i18n:translate="">Datasets</th>
    11       <th i18n:translate="">Upload Date</th>
    12     </tr>
    13   </thead>
    14   <tbody>
    15     <tr tal:repeat="file context/getFinishedFiles">
    16       <td><a tal:attributes="href python: 'download?filename=' + file.rel_path"
    17              tal:content="file/name">FILENAME</a></td>
    18       <td tal:content="python: file.lines-1">12 k</td>
    19       <td tal:content="file/uploaddate">Mar 12, 2008</td>
    20     </tr>
    21   </tbody>
    22 </table>
     6<div class="table-responsive">
     7  <table i18n:domain="waeup.kofa" class="dataTableFiles">
     8    <thead>
     9      <tr>
     10        <th i18n:translate="">File</th>
     11        <th i18n:translate="">Datasets</th>
     12        <th i18n:translate="">Upload Date</th>
     13      </tr>
     14    </thead>
     15    <tbody>
     16      <tr tal:repeat="file context/getFinishedFiles">
     17        <td><a tal:attributes="href python: 'download?filename=' + file.rel_path"
     18               tal:content="file/name">FILENAME</a></td>
     19        <td tal:content="python: file.lines-1">12 k</td>
     20        <td tal:content="file/uploaddate">Mar 12, 2008</td>
     21      </tr>
     22    </tbody>
     23  </table>
     24</div>
    2325<form method="POST">
    2426  <input i18n:translate="" type="submit" class="btn btn-default" name="CANCEL"
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenterpage.pt

    r10999 r11037  
    1111<form action="." tal:attributes="action request/URL" method="post"
    1212      i18n:domain="waeup.kofa" enctype="multipart/form-data">
    13     <table i18n:domain="waeup.kofa" class="dataTableManageFiles">
    14       <thead>
    15         <tr>
    16           <th></th>
    17           <th i18n:translate="">File</th>
    18           <th i18n:translate="">Datasets</th>
    19           <th i18n:translate="">Upload Date</th>
    20         </tr>
    21       </thead>
    22       <tbody>
    23         <tr tal:repeat="file context/getPendingFiles">
    24           <td>
    25             <input type="checkbox" name="val_id"
    26                          tal:attributes="value file/name" />
    27           </td>
    28           <td><a tal:attributes="href python: 'download?filename=' + file.name"
    29                  tal:content="file/name">FILENAME</a></td>
    30           <td tal:content="python: file.lines - 1">100</td>
    31           <td tal:content="file/uploaddate">Mar 12, 2008</td>
    32         </tr>
    33       </tbody>
    34     </table>
    35       <div tal:condition="view/availableActions">
    36         <span tal:repeat="action view/actions" tal:omit-tag="">
    37           <input tal:replace="structure action/render"/>
    38         </span>
    39       </div>
     13    <div class="table-responsive">
     14      <table i18n:domain="waeup.kofa" class="dataTableManageFiles">
     15        <thead>
     16          <tr>
     17            <th></th>
     18            <th i18n:translate="">File</th>
     19            <th i18n:translate="">Datasets</th>
     20            <th i18n:translate="">Upload Date</th>
     21          </tr>
     22        </thead>
     23        <tbody>
     24          <tr tal:repeat="file context/getPendingFiles">
     25            <td>
     26              <input type="checkbox" name="val_id"
     27                           tal:attributes="value file/name" />
     28            </td>
     29            <td><a tal:attributes="href python: 'download?filename=' + file.name"
     30                   tal:content="file/name">FILENAME</a></td>
     31            <td tal:content="python: file.lines - 1">100</td>
     32            <td tal:content="file/uploaddate">Mar 12, 2008</td>
     33          </tr>
     34        </tbody>
     35      </table>
     36    </div>
     37    <div tal:condition="view/availableActions">
     38      <span tal:repeat="action view/actions" tal:omit-tag="">
     39        <input tal:replace="structure action/render"/>
     40      </span>
     41    </div>
    4042</form>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/facultymanagepage.pt

    r11026 r11037  
    6464    </div>
    6565    <div id="tab3" class="tab-pane"> <br />
    66       <table class="dataTableManage">
    67         <thead>
    68           <tr>
    69             <th>&nbsp;
    70             </th>
    71             <th i18n:translate="">User Id
    72             </th>
    73             <th i18n:translate="">Name
    74             </th>
    75             <th i18n:translate="">Local Role
    76             </th>
    77           </tr>
    78         </thead>
    79         <tbody>
    80           <tr tal:repeat="entry view/getUsersWithLocalRoles">
    81             <td>
    82               <input type="checkbox" name="role_id"
    83               tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    84             <td tal:content="entry/user_name"> USERNAME </td>
    85             <td tal:content="entry/user_title"> USERTITLE </td>
    86             <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
    87           </tr>
    88         </tbody>
    89       </table>
     66      <div class="table-responsive">
     67        <table class="dataTableManage">
     68          <thead>
     69            <tr>
     70              <th>&nbsp;
     71              </th>
     72              <th i18n:translate="">User Id
     73              </th>
     74              <th i18n:translate="">Name
     75              </th>
     76              <th i18n:translate="">Local Role
     77              </th>
     78            </tr>
     79          </thead>
     80          <tbody>
     81            <tr tal:repeat="entry view/getUsersWithLocalRoles">
     82              <td>
     83                <input type="checkbox" name="role_id"
     84                tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     85              <td tal:content="entry/user_name"> USERNAME </td>
     86              <td tal:content="entry/user_title"> USERTITLE </td>
     87              <td tal:content="entry/local_role_title"> LOCAL ROLE </td>
     88            </tr>
     89          </tbody>
     90        </table>
     91      </div>
    9092      <div tal:condition="view/availableActions">
    9193        <span tal:repeat="action view/actions" tal:omit-tag="">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/findstudentspage.pt

    r11026 r11037  
    2525  <input type="hidden" name="old_searchtype"
    2626       tal:attributes="value view/searchtype" />
    27   <table class="dataTable">
    28     <thead>
    29     <tr>
    30       <th i18n:translate="">Student Id</th>
    31       <th i18n:translate="">Reg. Number</th>
    32       <th i18n:translate="">Matric. Number</th>
    33       <th i18n:translate="">State</th>
    34       <th i18n:translate="">Full Name</th>
    35     </tr>
    36     </thead>
    37     <tbody>
    38     <tr tal:repeat="item view/hitlist">
    39       <td> <a tal:attributes="href item/url">
    40         <span tal:content="item/student_id">A123456</span></a>
    41       </td>
    42       <td class="center"> <a tal:attributes="href item/url">
    43         <span tal:content="item/reg_number">9999999</span></a>
    44       </td>
    45       <td class="center"> <a tal:attributes="href item/url">
    46         <span tal:content="item/matric_number">9999999</span></a>
    47       </td>
    48       <td tal:content="item/state">admitted</td>
    49       <td tal:content="item/display_fullname">Bob</td>
    50     </tr>
    51     </tbody>
    52   </table>
     27  <div class="table-responsive">
     28    <table class="dataTable">
     29      <thead>
     30      <tr>
     31        <th i18n:translate="">Student Id</th>
     32        <th i18n:translate="">Reg. Number</th>
     33        <th i18n:translate="">Matric. Number</th>
     34        <th i18n:translate="">State</th>
     35        <th i18n:translate="">Full Name</th>
     36      </tr>
     37      </thead>
     38      <tbody>
     39      <tr tal:repeat="item view/hitlist">
     40        <td> <a tal:attributes="href item/url">
     41          <span tal:content="item/student_id">A123456</span></a>
     42        </td>
     43        <td class="center"> <a tal:attributes="href item/url">
     44          <span tal:content="item/reg_number">9999999</span></a>
     45        </td>
     46        <td class="center"> <a tal:attributes="href item/url">
     47          <span tal:content="item/matric_number">9999999</span></a>
     48        </td>
     49        <td tal:content="item/state">admitted</td>
     50        <td tal:content="item/display_fullname">Bob</td>
     51      </tr>
     52      </tbody>
     53    </table>
     54  </div>
    5355  <br />
    5456</div>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/searchpage.pt

    r10999 r11037  
    1313<span  i18n:domain="waeup.kofa" tal:condition="view/hitlist">
    1414    <h3 i18n:translate="">Search Results</h3>
    15     <table class="dataTable">
    16         <thead>
    17             <tr>
    18                 <th i18n:translate="">Code</th>
    19                 <th i18n:translate="">Title</th>
    20                 <th i18n:translate="">Faculty</th>
    21                 <th i18n:translate="">Department</th>
    22                 <th i18n:translate="">Type</th>
    23             </tr>
    24         </thead>
    25         <tbody>
    26             <tr tal:repeat="item view/hitlist"  class="gradeB">
    27             <td>
    28                 <a href="" tal:attributes="href item/url"
    29                            tal:content="item/code">CODE</a>
    30             </td>
    31             <td tal:content="item/title">
    32                 TITLE
    33             </td>
    34             <td tal:content="item/fac">
    35                 FACULTY
    36             </td>
    37             <td tal:content="item/dep">
    38                 DEPARTMENT
    39             </td>
    40             <td tal:content="item/type">
    41                 TTYPE
    42             </td>
    43             </tr>
    44         </tbody>
    45     </table>
     15    <div class="table-responsive">
     16      <table class="dataTable">
     17          <thead>
     18              <tr>
     19                  <th i18n:translate="">Code</th>
     20                  <th i18n:translate="">Title</th>
     21                  <th i18n:translate="">Faculty</th>
     22                  <th i18n:translate="">Department</th>
     23                  <th i18n:translate="">Type</th>
     24              </tr>
     25          </thead>
     26          <tbody>
     27              <tr tal:repeat="item view/hitlist"  class="gradeB">
     28              <td>
     29                  <a href="" tal:attributes="href item/url"
     30                             tal:content="item/code">CODE</a>
     31              </td>
     32              <td tal:content="item/title">
     33                  TITLE
     34              </td>
     35              <td tal:content="item/fac">
     36                  FACULTY
     37              </td>
     38              <td tal:content="item/dep">
     39                  DEPARTMENT
     40              </td>
     41              <td tal:content="item/type">
     42                  TTYPE
     43              </td>
     44              </tr>
     45          </tbody>
     46      </table>
     47    </div>
    4648</span>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/userscontainerpage.pt

    r10991 r11037  
    1 <table i18n:domain="waeup.kofa" class="table table-striped dataTable">
    2   <thead>
    3     <tr>
    4       <th i18n:translate="">Id</th>
    5       <th i18n:translate="">Name</th>
    6       <th i18n:translate="">Portal Roles</th>
    7       <th i18n:translate="">Local Roles</th>
    8       <th></th>
    9     </tr>
    10   </thead>
    11   <tbody>
    12     <tr tal:repeat="account context/values">
    13       <td tal:content="account/name">USERNAME</td>
    14       <td tal:content="account/title">TITLE</td>
    15       <td nowrap tal:content="structure python:view.getSiteRoles(account)">SITE ROLES</td>
    16       <td tal:content="structure python:view.getLocalRoles(account)">LOCAL ROLES</td>
    17       <td class="text-right">
    18         <form method="post">
    19           <input type="hidden" name="userid"
    20            tal:attributes="value account/name"/>
    21             <input class="btn btn-sm btn-primary" type="submit" name="manage"
    22               tal:attributes="value view/manage_button" />
    23             <input class="btn btn-sm btn-default" type="submit" name="delete"
    24               tal:attributes="value view/delete_button" />
    25         </form>
    26       </td>
    27     </tr>
    28   </tbody>
    29 </table>
     1<div class="table-responsive">
     2  <table i18n:domain="waeup.kofa" class="table table-striped dataTable">
     3    <thead>
     4      <tr>
     5        <th i18n:translate="">Id</th>
     6        <th i18n:translate="">Name</th>
     7        <th i18n:translate="">Portal Roles</th>
     8        <th i18n:translate="">Local Roles</th>
     9        <th></th>
     10      </tr>
     11    </thead>
     12    <tbody>
     13      <tr tal:repeat="account context/values">
     14        <td tal:content="account/name">USERNAME</td>
     15        <td tal:content="account/title">TITLE</td>
     16        <td nowrap tal:content="structure python:view.getSiteRoles(account)">SITE ROLES</td>
     17        <td tal:content="structure python:view.getLocalRoles(account)">LOCAL ROLES</td>
     18        <td class="text-right">
     19          <form method="post">
     20            <input type="hidden" name="userid"
     21             tal:attributes="value account/name"/>
     22              <input class="btn btn-sm btn-primary" type="submit" name="manage"
     23                tal:attributes="value view/manage_button" />
     24              <input class="btn btn-sm btn-default" type="submit" name="delete"
     25                tal:attributes="value view/delete_button" />
     26          </form>
     27        </td>
     28      </tr>
     29    </tbody>
     30  </table>
     31</div>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/hostels/browser_templates/containermanagepage.pt

    r11015 r11037  
    3434    <div id="tab2" class="tab-pane">
    3535      <br />
    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>
     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>
    5658      <div tal:condition="view/availableActions">
    5759        <span tal:repeat="action view/actions" tal:omit-tag="">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/hostels/browser_templates/hostelmanagepage.pt

    r11015 r11037  
    4444    <div id="tab2" class="tab-pane">
    4545      <br />
    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>
     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>
    8082
    8183      <div tal:condition="view/availableActions">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser_templates/accommodationmanagepage.pt

    r9984 r11037  
    22      i18n:domain="waeup.kofa" enctype="multipart/form-data">
    33
    4   <table class="display dataTableManage">
    5     <thead>
    6     <tr>
    7       <th tal:condition="not: layout/isStudent">&nbsp;</th>
    8       <th i18n:translate="">Session</th>
    9       <th i18n:translate="">Booking Date</th>
    10       <th i18n:translate="">Bed Coordinates</th>
    11       <th i18n:translate="">Bed Category</th>
    12     </tr>
    13     </thead>
    14     <tbody>
    15       <tr tal:repeat="cl context/values">
    16          <td tal:condition="not: layout/isStudent">
    17           <input type="checkbox"
    18                  name="val_id"
    19                  tal:attributes="value cl/__name__" />
    20         </td>
    21         <td> <a tal:attributes="href cl/__name__">
    22         <span tal:content="python: cl.getSessionString()">PID</span></a></td>
    23         <td tal:content="python: layout.formatDatetime(cl.booking_date)">DATE</td>
    24         <td tal:content="cl/display_coordinates">COORDINATES</td>
    25         <td tal:content="cl/bed_type">TYPE</td>
     4  <div class="table-responsive">
     5    <table class="display dataTableManage">
     6      <thead>
     7      <tr>
     8        <th tal:condition="not: layout/isStudent">&nbsp;</th>
     9        <th i18n:translate="">Session</th>
     10        <th i18n:translate="">Booking Date</th>
     11        <th i18n:translate="">Bed Coordinates</th>
     12        <th i18n:translate="">Bed Category</th>
    2613      </tr>
    27     </tbody>
    28   </table>
     14      </thead>
     15      <tbody>
     16        <tr tal:repeat="cl context/values">
     17           <td tal:condition="not: layout/isStudent">
     18            <input type="checkbox"
     19                 name="val_id"
     20                 tal:attributes="value cl/__name__" />
     21          </td>
     22          <td> <a tal:attributes="href cl/__name__">
     23          <span tal:content="python: cl.getSessionString()">PID</span></a></td>
     24          <td tal:content="python: layout.formatDatetime(cl.booking_date)">DATE</td>
     25          <td tal:content="cl/display_coordinates">COORDINATES</td>
     26          <td tal:content="cl/bed_type">TYPE</td>
     27        </tr>
     28      </tbody>
     29    </table>
     30  </div>
    2931
    3032  <div tal:condition="view/availableActions">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser_templates/containermanagepage.pt

    r11026 r11037  
    3030    <span  i18n:translate="">Select all</span>
    3131    <br /><br />
    32 
    33     <table class="display dataTableManage">
    34       <thead>
    35         <tr>
    36           <th>&nbsp;</th>
    37         <th i18n:translate="">Student Id</th>
    38         <th i18n:translate="">Reg. Number</th>
    39         <th i18n:translate="">Matric. Number</th>
    40         <th i18n:translate="">State</th>
    41         <th i18n:translate="">Full Name</th>
    42         </tr>
    43       </thead>
    44       <tbody>
    45         <tr tal:repeat="item view/hitlist" class="gradeC">
    46           <td><input type="checkbox" name="entries"
    47                      tal:attributes="value item/context/__name__" /></td>
    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>
     32    <div class="table-responsive">
     33      <table class="display dataTableManage">
     34        <thead>
     35        <tr>
     36          <th>&nbsp;</th>
     37          <th i18n:translate="">Student Id</th>
     38          <th i18n:translate="">Reg. Number</th>
     39          <th i18n:translate="">Matric. Number</th>
     40          <th i18n:translate="">State</th>
     41          <th i18n:translate="">Full Name</th>
     42        </tr>
     43        </thead>
     44        <tbody>
     45        <tr tal:repeat="item view/hitlist" class="gradeC">
     46          <td><input type="checkbox" name="entries"
     47                     tal:attributes="value item/context/__name__" /></td>
     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>
    6263   
    6364    <input type="submit" name="remove"
  • 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>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser_templates/editscorespage.pt

    r10638 r11037  
    22  <br />
    33
    4 
    5   <table class="display dataTable">
    6     <thead>
    7         <tr>
    8       <th i18n:translate="">Matric No.</th>
    9       <th i18n:translate="">Score</th>
    10       <th i18n:translate="">Fullname</th>
    11       <th i18n:translate="">Status</th>
    12       <th i18n:translate="">Certificate</th>
    13       <th i18n:translate="">Current Session</th>
    14       <th i18n:translate="">Current Level</th>
    15       <th i18n:translate="">Course Level</th>
    16         </tr>
    17     </thead>
    18     <tbody>
    19         <tr tal:repeat="ticket view/tickets" class="gradeC">
    20       <td tal:content="ticket/student/matric_number">MATRIC_NUMBER</td>
    21           <td tal:condition="ticket/editable_by_lecturer">
    22           <input type="text" name="scores" class="span1"
    23                      tal:attributes="value ticket/score" />
    24       </td>
    25       <td tal:condition="not: ticket/editable_by_lecturer"
    26           tal:content="ticket/score">SCORE</td>
    27           <td tal:content="ticket/student/display_fullname">FULLNAME</td>
    28       <td tal:content="ticket/student/translated_state">STATE</td>
    29       <td tal:content="ticket/student/certcode">CERTCODE</td>
    30       <td tal:content="ticket/student/current_session">SESSION</td>
    31       <td tal:content="ticket/student/current_level">LEVEL</td>
    32       <td tal:content="ticket/level">LEVEL</td>
    33         </tr>
    34     </tbody>
    35   </table>
     4  <div class="table-responsive">
     5    <table class="display dataTable">
     6      <thead>
     7        <tr>
     8        <th i18n:translate="">Matric No.</th>
     9        <th i18n:translate="">Score</th>
     10        <th i18n:translate="">Fullname</th>
     11        <th i18n:translate="">Status</th>
     12        <th i18n:translate="">Certificate</th>
     13        <th i18n:translate="">Current Session</th>
     14        <th i18n:translate="">Current Level</th>
     15        <th i18n:translate="">Course Level</th>
     16        </tr>
     17      </thead>
     18      <tbody>
     19        <tr tal:repeat="ticket view/tickets" class="gradeC">
     20        <td tal:content="ticket/student/matric_number">MATRIC_NUMBER</td>
     21          <td tal:condition="ticket/editable_by_lecturer">
     22            <input type="text" name="scores" class="span1"
     23                     tal:attributes="value ticket/score" />
     24        </td>
     25        <td tal:condition="not: ticket/editable_by_lecturer"
     26            tal:content="ticket/score">SCORE</td>
     27          <td tal:content="ticket/student/display_fullname">FULLNAME</td>
     28        <td tal:content="ticket/student/translated_state">STATE</td>
     29        <td tal:content="ticket/student/certcode">CERTCODE</td>
     30        <td tal:content="ticket/student/current_session">SESSION</td>
     31        <td tal:content="ticket/student/current_level">LEVEL</td>
     32        <td tal:content="ticket/level">LEVEL</td>
     33        </tr>
     34      </tbody>
     35    </table>
     36  </div>
    3637
    3738  <input type="submit" name="UPDATE"
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser_templates/filterstudentspage.pt

    r11026 r11037  
    5151      <span tal:replace="view/level_string">LEVEL</span>
    5252    </h3>
    53     <table class="display dataTable">
    54       <thead>
    55         <tr>
    56           <th i18n:translate="">Student Id</th>
    57         <th i18n:translate="">Matric No.</th>
    58         <th i18n:translate="">Fullname</th>
    59         <th i18n:translate="">Status</th>
    60         <th i18n:translate="">Certificate</th>
    61         <th i18n:translate="">Current Session</th>
    62         <th i18n:translate="">Current Level</th>
    63         <th i18n:translate="">Comment</th>
    64         </tr>
    65       </thead>
    66       <tbody>
    67         <tr tal:repeat="item view/hitlist" class="gradeC">
    68           <td> <a tal:attributes="href item/url"
    69                 target="_blank">
    70           <span tal:content="item/student_id">A123456</span></a>
    71         </td>
    72         <td tal:content="item/matric_number">MATRIC_NUMBER</td>
    73           <td tal:content="item/display_fullname">FULLNAME</td>
    74         <td tal:content="item/translated_state">STATE</td>
    75         <td>
    76           <a tal:attributes="href python: view.url(item.certificate)"
    77              tal:content="item/certificate/code">
    78              CERTIFICATE
    79           </a>
    80         </td>
    81         <td tal:content="item/current_session">SESSION</td>
    82         <td tal:content="item/current_level">LEVEL</td>
    83         <td><span tal:condition="item/comment">yes</span></td>
    84         </tr>
    85       </tbody>
    86     </table>
     53    <div class="table-responsive">
     54      <table class="display dataTable">
     55        <thead>
     56        <tr>
     57          <th i18n:translate="">Student Id</th>
     58          <th i18n:translate="">Matric No.</th>
     59          <th i18n:translate="">Fullname</th>
     60          <th i18n:translate="">Status</th>
     61          <th i18n:translate="">Certificate</th>
     62          <th i18n:translate="">Current Session</th>
     63          <th i18n:translate="">Current Level</th>
     64          <th i18n:translate="">Comment</th>
     65        </tr>
     66        </thead>
     67        <tbody>
     68        <tr tal:repeat="item view/hitlist" class="gradeC">
     69          <td> <a tal:attributes="href item/url"
     70                  target="_blank">
     71            <span tal:content="item/student_id">A123456</span></a>
     72          </td>
     73          <td tal:content="item/matric_number">MATRIC_NUMBER</td>
     74          <td tal:content="item/display_fullname">FULLNAME</td>
     75          <td tal:content="item/translated_state">STATE</td>
     76          <td>
     77            <a tal:attributes="href python: view.url(item.certificate)"
     78               tal:content="item/certificate/code">
     79               CERTIFICATE
     80            </a>
     81          </td>
     82          <td tal:content="item/current_session">SESSION</td>
     83          <td tal:content="item/current_level">LEVEL</td>
     84          <td><span tal:condition="item/comment">yes</span></td>
     85        </tr>
     86        </tbody>
     87      </table>
     88    </div>
    8789  </div>
    8890</form>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser_templates/paymentsmanagepage.pt

    r10232 r11037  
    22      i18n:domain="waeup.kofa" enctype="multipart/form-data">
    33
    4   <table class="display dataTableManage">
    5     <thead>
    6     <tr>
    7       <th>&nbsp;</th>
    8       <th i18n:translate="">Payment Id</th>
    9       <th i18n:translate="">Creation Date</th>
    10       <th i18n:translate="">Payment Date</th>
    11       <th i18n:translate="">Category</th>
    12       <th i18n:translate="">Item</th>
    13       <th i18n:translate="">Amount</th>
    14       <th i18n:translate="">Session</th>
    15       <th i18n:translate="">State</th>
    16     </tr>
    17     </thead>
    18     <tbody>
    19       <tr tal:repeat="cl context/values">
    20          <td>
    21           <input type="checkbox"
    22                  name="val_id"
    23                  tal:attributes="value cl/__name__"
    24          tal:condition="python: not view.unremovable(cl)" />
    25         </td>
    26         <td> <a tal:attributes="href cl/__name__">
    27         <span tal:content="cl/p_id">PID</span></a></td>
    28         <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
    29         <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
    30       <td nowrap tal:content ="cl/category">CATEGORY</td>
    31       <td tal:content ="cl/display_item">ITEM</td>
    32       <td tal:content ="cl/amount_auth">AMOUNT</td>
    33       <td tal:content ="cl/p_session">SESSION</td>
    34       <td tal:content ="cl/p_state_title">STATE</td>
     4  <div class="table-responsive">
     5    <table class="display dataTableManage">
     6      <thead>
     7      <tr>
     8        <th>&nbsp;</th>
     9        <th i18n:translate="">Payment Id</th>
     10        <th i18n:translate="">Creation Date</th>
     11        <th i18n:translate="">Payment Date</th>
     12        <th i18n:translate="">Category</th>
     13        <th i18n:translate="">Item</th>
     14        <th i18n:translate="">Amount</th>
     15        <th i18n:translate="">Session</th>
     16        <th i18n:translate="">State</th>
    3517      </tr>
    36     </tbody>
    37   </table>
     18      </thead>
     19      <tbody>
     20        <tr tal:repeat="cl context/values">
     21           <td>
     22            <input type="checkbox"
     23                 name="val_id"
     24                 tal:attributes="value cl/__name__"
     25           tal:condition="python: not view.unremovable(cl)" />
     26          </td>
     27          <td> <a tal:attributes="href cl/__name__">
     28          <span tal:content="cl/p_id">PID</span></a></td>
     29          <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
     30          <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
     31        <td nowrap tal:content ="cl/category">CATEGORY</td>
     32        <td tal:content ="cl/display_item">ITEM</td>
     33        <td tal:content ="cl/amount_auth">AMOUNT</td>
     34        <td tal:content ="cl/p_session">SESSION</td>
     35        <td tal:content ="cl/p_state_title">STATE</td>
     36        </tr>
     37      </tbody>
     38    </table>
     39  </div>
    3840
    3941  <div tal:condition="python: view.availableActions and view.manage_payments_allowed">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser_templates/studycoursemanagepage.pt

    r11026 r11037  
    3434    <div id="tab2" class="tab-pane">
    3535      <br />
    36       <table class="dataTableManage">
    37         <thead>
    38           <tr>
    39             <th>&nbsp;</th>
    40             <th i18n:translate="">Level Code</th>
    41             <th i18n:translate="">Level Title</th>
    42           </tr>
    43         </thead>
    44         <tbody>
    45           <tr tal:repeat="cl context/values">
    46              <td>
    47               <input type="checkbox"
    48                          name="val_id"
    49                          tal:attributes="value cl/__name__" />
    50             </td>
    51             <td> <a tal:attributes="href python:view.url(cl)">
    52               <span tal:content="cl/level">CODE</span></a>
    53             </td>
    54             <td>
    55               <span tal:content="cl/level_title">TITLE</span>
    56             </td>
    57           </tr>
    58         </tbody>
    59       </table>
     36      <div class="table-responsive">
     37        <table class="dataTableManage">
     38          <thead>
     39            <tr>
     40              <th>&nbsp;</th>
     41              <th i18n:translate="">Level Code</th>
     42              <th i18n:translate="">Level Title</th>
     43            </tr>
     44          </thead>
     45          <tbody>
     46            <tr tal:repeat="cl context/values">
     47               <td>
     48                <input type="checkbox"
     49                         name="val_id"
     50                         tal:attributes="value cl/__name__" />
     51              </td>
     52              <td> <a tal:attributes="href python:view.url(cl)">
     53                <span tal:content="cl/level">CODE</span></a>
     54              </td>
     55              <td>
     56                <span tal:content="cl/level_title">TITLE</span>
     57              </td>
     58            </tr>
     59          </tbody>
     60        </table>
     61      </div>
    6062
    6163      <div tal:condition="view/availableActions">
  • 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">
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser_templates/studylevelmanagepage.pt

    r11025 r11037  
    3434    <div id="tab2" class="tab-pane">
    3535      <br />
    36       <table class="display dataTableManage">
    37       <thead>
    38         <tr>
    39           <th>&nbsp;</th>
    40           <th i18n:translate="">Term</th>
    41           <th i18n:translate="">Code</th>
    42           <th i18n:translate="">Title</th>
    43           <th i18n:translate="">Dept.</th>
    44           <th i18n:translate="">Fact.</th>
    45           <th i18n:translate="">Cred.</th>
    46           <th i18n:translate="">Requ.</th>
    47           <th i18n:translate="">Score</th>
    48           <th i18n:translate="">CO</th>
    49           <th i18n:translate="">Auto</th>
    50         </tr>
    51       </thead>
    52       <tbody>
    53         <tr tal:repeat="value view/translated_values" class="gradeC">
    54           <td>
    55             <input type="checkbox" name="val_id"
    56                   tal:attributes="value value/__name__" />
    57           </td>
    58           <td tal:content="value/semester" nowrap>TERM</td>
    59           <td> <a tal:attributes="href value/url">
    60           <span tal:content="value/code">CODE</span>
    61           </a></td>
    62           <td tal:content="value/title">TITLE</td>
    63           <td tal:content="value/dcode">DEPARTMENT</td>
    64           <td tal:content="value/fcode">FACULTY</td>
    65           <td tal:content="value/credits">CREDITS</td>
    66           <td tal:content="value/mandatory">MANDATORY</td>
    67           <td tal:content="value/score|nothing">SCORE</td>
    68           <td tal:content="value/carry_over">CO</td>
    69           <td tal:content="value/automatic">AUTO</td>
    70         </tr>
    71       </tbody>
    72       </table>
     36      <div class="table-responsive">
     37        <div class="table-responsive">
     38          <table class="display dataTableManage">
     39            <thead>
     40              <tr>
     41                <th>&nbsp;</th>
     42                <th i18n:translate="">Term</th>
     43                <th i18n:translate="">Code</th>
     44                <th i18n:translate="">Title</th>
     45                <th i18n:translate="">Dept.</th>
     46                <th i18n:translate="">Fact.</th>
     47                <th i18n:translate="">Cred.</th>
     48                <th i18n:translate="">Requ.</th>
     49                <th i18n:translate="">Score</th>
     50                <th i18n:translate="">CO</th>
     51                <th i18n:translate="">Auto</th>
     52              </tr>
     53            </thead>
     54            <tbody>
     55              <tr tal:repeat="value view/translated_values" class="gradeC">
     56                <td>
     57                  <input type="checkbox" name="val_id"
     58                          tal:attributes="value value/__name__" />
     59                </td>
     60                <td tal:content="value/semester" nowrap>TERM</td>
     61                <td> <a tal:attributes="href value/url">
     62                <span tal:content="value/code">CODE</span>
     63                </a></td>
     64                <td tal:content="value/title">TITLE</td>
     65                <td tal:content="value/dcode">DEPARTMENT</td>
     66                <td tal:content="value/fcode">FACULTY</td>
     67                <td tal:content="value/credits">CREDITS</td>
     68                <td tal:content="value/mandatory">MANDATORY</td>
     69                <td tal:content="value/score|nothing">SCORE</td>
     70                <td tal:content="value/carry_over">CO</td>
     71                <td tal:content="value/automatic">AUTO</td>
     72              </tr>
     73            </tbody>
     74          </table>
     75        </div>
     76      </div>
    7377
    7478      <div tal:condition="view/availableActions">
Note: See TracChangeset for help on using the changeset viewer.