Changeset ad530b4 for remit/remit_templates/vouchers
- Timestamp:
- Aug 26, 2010, 10:55:42 PM (15 years ago)
- Branches:
- master, client
- Children:
- 5cfd6f6
- Parents:
- 0df317c (diff), af48a00 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- Alex Dehnert <adehnert@…> (08/26/10 22:55:42)
- git-committer:
- Alex Dehnert <adehnert@…> (08/26/10 22:55:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
remit/remit_templates/vouchers/reimbursementrequest_list.html
r33cb144 raf48a00 13 13 {%endif%} 14 14 15 <form> 15 <form method='get' action=''> 16 <h3>Filter and Sort</h3> 17 16 18 <table class='pretty-table'> 17 19 <tr> … … 33 35 </tr> 34 36 <tr> 35 <th colspan='2'><input type='submit' name='submit' value='Submit' ></th>37 <th colspan='2'><input type='submit' name='submit' value='Submit' /></th> 36 38 </tr> 37 39 </table> … … 40 42 <p><br /></p> 41 43 42 <table class='pretty-table'> 44 <form method='post' action=''> 45 <h3>Request List</h3> 46 47 <table class='pretty-table' id='request-list'> 43 48 <tr> 44 49 <th>#</th> … … 49 54 <th>Approval state (date)</th> 50 55 </tr> 51 52 56 {% for object in object_list %} 53 57 <tr> 54 <td><a href='{% url review_request object.pk %}'>{{ object.pk }}</a></td> 58 <td> 59 <input type='checkbox' name='select' value='{{object.pk}}'{%ifin object.pk selected_ids %} checked='checked'{%endifin%}></input> 60 <a href='{% url review_request object.pk %}'>{{ object.pk }}</a> 61 </td> 55 62 <td> 56 63 <a href='{% url review_request object.pk %}'>{{ object.name }}</a> … … 77 84 </table> 78 85 86 <ul class='select-modifiers'> 87 <li><a id='select-all' href='#'>Select All</a></li> 88 <li><a id='select-none' href='#'>Select None</a></li> 89 <li><a id='select-other' href='#'>Invert Selection</a></li> 90 </ul> 91 92 <script type='text/javascript'> 93 $('#select-all').click(function(){ 94 $('#request-list input:checkbox').attr('checked', 'checked'); 95 return false; 96 }); 97 $('#select-none').click(function(){ 98 $('#request-list input:checkbox').removeAttr('checked'); 99 return false; 100 }); 101 $('#select-other').click(function(){ 102 $('#request-list input:checkbox').each(function(){ 103 this.checked = !this.checked; 104 }); 105 return false; 106 }); 107 </script> 108 109 <h3>Bulk Actions</h3> 110 111 <p> 112 <select name='action'> 113 <option value="none" selected="selected">-----------</option> 114 {% for action in actions %} 115 <option value='{{action.name}}'>{{action.label}}</option> 116 {%endfor%} 117 </select> 118 <input type='submit' name='apply-action' value='Apply' /> 119 </p> 120 121 {%if action_message%} 122 <p>{{action_message}}</p> 123 {% if action_errors %} 124 <p>Errors:</p> 125 <table class='pretty-table'> 126 <tr> 127 <th>ID</th> 128 <th>Message</th> 129 {% for err in action_errors %} 130 <tr><th>{{err.0.pk}}</th><td>{{err.1}}</td></tr> 131 {%endfor%} 132 </ul> 133 {%endif%} 134 {%endif%} 135 </form> 136 79 137 {% endblock %}
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/chrome/site/your_project_logo.png)