search-report-table.html.tmpl 2.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
[%# The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the Bugzilla Bug Tracking System.
  #
  # The Initial Developer of the Original Code is Netscape Communications
  # Corporation. Portions created by Netscape are
  # Copyright (C) 1998 Netscape Communications Corporation. All
  # Rights Reserved.
  #
  # Contributor(s): Gervase Markham <gerv@gerv.net>
  #%]

[%# INTERFACE:
  # This template has no interface. However, to use it, you need to fulfill
  # the interfaces of the templates it contains.
  #%]

26 27
[% PROCESS global/variables.none.tmpl %]

28 29 30 31
[% js_data = BLOCK %]
var queryform = "reportform"
[% END %]

32
[% PROCESS global/header.html.tmpl
33
  title = "Generate Tabular Report"
34 35 36
  onload = "doOnSelectProduct(0)"
  javascript = js_data
  javascript_urls = [ "js/productform.js" ]
37
  doc_section = "reporting.html#reports"
38 39
%]

40
[% PROCESS "search/search-report-select.html.tmpl" %]
41

42
<p>
43 44
  Choose one or more fields as your axes, and then refine your set of 
  [% terms.bugs %] using the rest of the form.
45 46 47 48 49 50
</p>

[% button_name = "Generate Report" %]

<form method="get" action="report.cgi" name="reportform">

51
<table align="center">
52
  <tr>
53 54 55 56
    <td>
    </td>
    <td align="center">
      <b>Horizontal Axis:</b>
57
      [% PROCESS select name = 'x_axis_field' %]
58
    </td>
59
  </tr>
60

61
  <tr>
62 63
    <td valign="middle" align="center">
      <b>Vertical Axis:</b><br>
64
      [% PROCESS select name = 'y_axis_field' %]
65
    </td>
66
    <td width="150" height="150">
67
      <table border="1" width="100%">
68
        <tr>
69
          <td align="center" valign="middle" height="150">
70
            <b>Multiple Tables:</b><br>
71
            [% PROCESS select name = 'z_axis_field' %]
72 73 74
          </td>
        </tr>
      </table>
75 76
    </td>
  </tr>
77
</table>
78 79 80 81 82 83

<hr>

[% PROCESS search/form.html.tmpl %]

<br>
84
<input type="submit" id="[% button_name FILTER css_class_quote %]"
85
       value="[% button_name FILTER html %]">
86
<input type="hidden" name="format" value="table">
87
<input type="hidden" name="action" value="wrap">
88 89 90 91 92 93 94
<hr>

[% PROCESS "search/boolean-charts.html.tmpl" %]

</form>

[% PROCESS global/footer.html.tmpl %]