blob: 74e12cafcf5780bc2e6d1501a14630b14f4ec14d [file] [log] [blame]
#------------------------------------------------------------------------
# Compiled template generated by the Template Toolkit version 2.15
#------------------------------------------------------------------------
Template::Document->new({
METADATA => {
'modtime' => '1138010588',
'name' => 'search/search-report-table.html.tmpl',
},
BLOCK => sub {
my $context = shift || die "template sub called without context\n";
my $stash = $context->stash;
my $output = '';
my $error;
eval { BLOCK: {
$output .= "\n";
$output .= "\n\n";
$output .= "\n";
#line 27 "template/en/custom/search/search-report-table.html.tmpl"
$output .= $context->process('global/variables.none.tmpl');
$output .= "\n";
#line 31 "template/en/custom/search/search-report-table.html.tmpl"
# CAPTURE
$stash->set('js_data', do {
my $output = '';
$output .= "\nvar queryform = \"reportform\"";
$output;
});
$output .= "\n";
#line 33 "template/en/custom/search/search-report-table.html.tmpl"
$output .= $context->process('global/header.html.tmpl', { 'title' => 'Generate Tabular Report', 'onload' => 'doOnSelectProduct(0)', 'javascript' => $stash->get('js_data'), 'javascript_urls' => [ 'js/productform.js' ] });
$output .= "\n";
#line 40 "template/en/custom/search/search-report-table.html.tmpl"
$output .= $context->process('search/search-report-select.html.tmpl');
$output .= "\n\n<p>\n Choose one or more fields as your axes, and then refine your set of ";
#line 44 "template/en/custom/search/search-report-table.html.tmpl"
$output .= $stash->get(['terms', 0, 'bugs', 0]);
$output .= " using the rest of the form.\n</p>\n";
#line 47 "template/en/custom/search/search-report-table.html.tmpl"
$stash->set('button_name', 'Generate Report');
$output .= "\n\n<form method=\"get\" action=\"report.cgi\" name=\"reportform\">\n\n<table align=\"center\">\n <tr>\n <td>\n </td>\n <td align=\"center\">\n <b>Horizontal Axis:</b>";
#line 57 "template/en/custom/search/search-report-table.html.tmpl"
$output .= $context->process('select', { 'name' => 'x_axis_field' });
$output .= "\n </td>\n </tr>\n\n <tr>\n <td valign=\"middle\" align=\"center\">\n <b>Vertical Axis:</b><br>";
#line 64 "template/en/custom/search/search-report-table.html.tmpl"
$output .= $context->process('select', { 'name' => 'y_axis_field' });
$output .= "\n </td>\n <td width=\"150\" height=\"150\">\n <table border=\"1\" width=\"100%\" height=\"100%\">\n <tr>\n <td align=\"center\" valign=\"middle\">\n <b>Multiple Tables:</b><br>";
#line 71 "template/en/custom/search/search-report-table.html.tmpl"
$output .= $context->process('select', { 'name' => 'z_axis_field' });
$output .= "\n </td>\n </tr>\n </table>\n </td>\n </tr>\n</table>\n\n<hr>\n";
#line 81 "template/en/custom/search/search-report-table.html.tmpl"
$output .= $context->process('search/form.html.tmpl');
$output .= "\n\n<br>\n<input type=\"submit\" value=\"";
#line 84 "template/en/custom/search/search-report-table.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get('button_name');
&$filter($output);
};
$output .= "\">\n<input type=\"hidden\" name=\"format\" value=\"table\">\n<input type=\"hidden\" name=\"action\" value=\"wrap\">\n<hr>\n";
#line 89 "template/en/custom/search/search-report-table.html.tmpl"
$output .= $context->process('search/boolean-charts.html.tmpl');
$output .= "\n\n</form>\n";
#line 93 "template/en/custom/search/search-report-table.html.tmpl"
$output .= $context->process('global/footer.html.tmpl');
$output .= "\n";
} };
if ($@) {
$error = $context->catch($@, \$output);
die $error unless $error->type eq 'return';
}
return $output;
},
DEFBLOCKS => {
},
});