Changeset 3076 for WAeUP_SRP/base/skins/waeup_pins/pins_view.pt
- Timestamp:
- 31 Jan 2008, 18:29:58 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_pins/pins_view.pt
r2766 r3076 56 56 <br /> 57 57 <h3>PIN Batches</h3> 58 <br /> 59 <form action="." method="get"> 58 <form action="." method="post" class="group" 59 tal:define="rows info/batches; 60 choosen_ids info/choosen_ids|python:[]" 61 > 62 <table class="contentListing" width="100%"> 63 <tr tal:repeat="line rows" 64 tal:attributes="class python:test(repeat['line'].even(), 'even ajaxtd', 'odd ajaxtd')"> 65 <span tal:repeat="row line"> 66 <td align="left" valign="middle" style="width: 5px;"> 67 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 68 tal:define="id row" 69 tal:attributes="value id; 70 id python:'cb_' + id; 71 checked python:id in choosen_ids;" 72 /> 73 </td> 74 <td><a href="view" tal:attributes="href string:${context/absolute_url}/${row}"> 75 <strong tal:content="row" /></a> </td> 76 </span> 77 </tr> 78 </table> 79 <table width="100%" cellspacing="0" cellpadding="2" 80 class="folderButtons"> 81 <tr> 82 <td align="left" valign="top" rowspan="3"></td> 83 <td align="left" valign="top"> 84 <input tal:condition="nothing" type="button" value="button_select_all" class="context" 85 onclick="someJavaScriptFunctionThatWillBeReplaced" 86 i18n:attributes="value" 87 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 88 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" 89 /> 90 <input type="submit" name="archive:method" value="archive" 91 class="destructive" i18n:attributes="value" 92 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 93 ('confirm archive', )" 94 /> 95 <input type="submit" name="archive_delete:method" value="archive + delete" 96 class="destructive" i18n:attributes="value" 97 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 98 ('confirm archive and delete', )" 99 /> 100 </td> 101 </tr> 102 </table> 103 </form> 104 <form action="." method="get" tal:condition="nothing"> 60 105 <select class="form-element" name=":action" 61 106 tal:attributes="onChange string:location.href='${context/absolute_url}/'+this.options[this.selectedIndex].value"
Note: See TracChangeset for help on using the changeset viewer.