]> git.donarmstrong.com Git - debbugs.git/blob - templates/en_US/cgi/pkgindex.tmpl
add templating for pkgindex.cgi
[debbugs.git] / templates / en_US / cgi / pkgindex.tmpl
1 {include(q(html/pre_title))}{html_escape($config{project})} {html_escape($config{bug})} report logs by {html_escape($tag)}{include(q(html/post_title.tmpl))}
2 </head>
3 <body>
4 <h1>{html_escape($config{project})} {html_escape($config{bug})} report logs by {html_escape($tag)}</h1> 
5 {$note}
6 <form>
7 <input type="hidden" name="skip" value="$param{skip}">
8 <input type="hidden" name="max_results" value="$param{max_results}">
9 <input type="hidden" name="indexon" value="$param{indexon}">
10 <input type="hidden" name="repeatmerged" value="$param{repeatmerged}">
11 <input type="hidden" name="archive" value="$param{archive}">
12 <input type="hidden" name="sortby" value="$param{sortby}">
13 { my $output = '';
14 if (defined $param{first}) {
15     $output .= qq(<input type="hidden" name="first" value=").html_escape($param{first}).qq(">\n);
16 } else {
17     $output .= q(<p>);
18      if ($param{skip}> 0) {
19          $output .= q(<input type="submit" name="prev" value="Prev">);
20      }
21      if (keys %count > ($param{skip} + $param{max_results})) {
22           $output .= q(<input type="submit" name="next" value="Next">);
23      }
24      $output .= qq(</p>\n);
25 }
26 $output;
27 }
28 { $result }
29 <hr/>
30 {include(q(html/html_tail))}
31 </body>
32 </html>