diff options
author | ivan <ivan> | 2006-12-22 06:18:21 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-12-22 06:18:21 +0000 |
commit | f27a5a08ba712678bf826a47f82f96568208bab3 (patch) | |
tree | 78cbf90e85dc5a0386329b61d27ccc07a26d7173 | |
parent | 709fb1259715b7bd353a6a6e37274f253fcb0c11 (diff) |
patch fixing "retry selected" and "remove select" in queue view
-rw-r--r-- | httemplate/search/elements/search.html | 12 | ||||
-rw-r--r-- | httemplate/search/queue.html | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html index c6d0bb68b..7d5e58a3b 100644 --- a/httemplate/search/elements/search.html +++ b/httemplate/search/elements/search.html @@ -13,6 +13,10 @@ % # # some HTML callbacks... % # 'menubar' => '', #menubar arrayref % # 'html_init' => '', #after the header/menubar and before the pager +% # 'html_form' => '', #after the pager, right before the results +% # # (only shown if there are results) +% # # (use this for any form-opening tag rather than +% # # html_init, to avoid a nested form) % # 'html_foot' => '', #at the bottom % # 'html_posttotal' => '', #at the bottom % # # (these three can be strings or coderefs) @@ -473,6 +477,14 @@ 'maxrecords' => $maxrecords, ) %> + <% defined($opt{'html_form'}) + ? ( ref($opt{'html_form'}) + ? &{$opt{'html_form'}}() + : $opt{'html_form'} + ) + : '' + %> + <% include('/elements/table-grid.html') %> <TR> diff --git a/httemplate/search/queue.html b/httemplate/search/queue.html index fa6c1a1ca..63a5d6c96 100644 --- a/httemplate/search/queue.html +++ b/httemplate/search/queue.html @@ -16,6 +16,7 @@ 'title' => 'Job Queue', 'menubar' => [ 'Main menu' => $p, ], 'name' => 'jobs', + 'html_form' => qq!<FORM ACTION="$p/misc/queue.cgi" METHOD="POST">!, 'query' => { 'table' => 'queue', 'hashref' => $hashref, 'extra_sql' => 'ORDER BY jobnum', |