Ignore:
Timestamp:
27 Sep 2011, 08:25:04 (13 years ago)
Author:
Henrik Bettermann
Message:

Add a 'toggle all' Javascript function to klick all select boxes at the same time in in large forms. Use this function in the containermanagepage.pt.

jquery.dataTables.min.js: Allow viewing 1000 and even 5000 rows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/containermanagepage.pt

    r6695 r6820  
    99  <select name="searchtype">
    1010    <option value="student_id">with id</option>
    11     <option value="name">with name</option>
     11    <option value="fullname">with name</option>
    1212  </select>
    1313
     
    2121    <input type="hidden" name="old_searchtype"
    2222         tal:attributes="value view/searchtype" />
     23
     24    <input type="checkbox" onClick="toggle(this, 'entries')" /> Select all
     25    <br /><br />
     26
    2327    <table class="display dataTableManage">
    2428      <thead>
    2529        <tr>
    2630          <th>&nbsp;</th>
    27           <th>Student Id</th><th>Name</th>
     31          <th>Student Id</th><th>Fullname</th>
    2832        </tr>
    2933      </thead>
     
    3539          <span tal:content="item/student_id">A123456</span></a>
    3640        </td>
    37           <td tal:content="item/name">Bob</td>
     41          <td tal:content="item/fullname">Bob</td>
    3842        </tr>
    3943      </tbody>
    4044    </table>
     45   
    4146    <div class="actionButtons">
    4247        <input type="submit" name="remove" value="Remove selected" />
Note: See TracChangeset for help on using the changeset viewer.