add a 'select all' checkbox in the heading
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3095 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
0fd3b8d78d
commit
9e242aa0e5
1 changed files with 6 additions and 3 deletions
|
@ -49,7 +49,11 @@
|
|||
|
||||
<thead>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th style="margin:0; padding:0">
|
||||
<input type="checkbox" class="noborder" title="Select all items"
|
||||
i18n:attributes="title"
|
||||
onclick="f = document.forms[0]['ids:list'];
|
||||
for (i in f) f[i].checked=this.checked;" /></th>
|
||||
<th i18n:translate="">Name</th>
|
||||
<th i18n:translate="">Title</th>
|
||||
<th i18n:translate="">Size</th>
|
||||
|
@ -80,8 +84,7 @@
|
|||
id_quoted item/id/url:quote"
|
||||
tal:attributes="class python:oddrow and 'even' or 'odd'" >
|
||||
<td>
|
||||
<input type="checkbox" class="noborder" name="ids:list" id="#"
|
||||
value="#"
|
||||
<input type="checkbox" class="noborder" name="ids:list"
|
||||
tal:attributes="value item/id;
|
||||
id item/cb_id;
|
||||
checked request/ids_checked|nothing;"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue