You need to sign in or sign up before continuing.
search-report-table.html.tmpl 2.14 KB
Newer Older
1 2 3
[%# This Source Code Form is subject to the terms of the Mozilla Public
  # License, v. 2.0. If a copy of the MPL was not distributed with this
  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
  #
5 6
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
7 8 9 10 11 12 13
  #%]

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

14 15 16 17
[% js_data = BLOCK %]
var queryform = "reportform"
[% END %]

18
[% PROCESS global/header.html.tmpl
19
  title = "Generate Tabular Report"
20
  onload = "doOnSelectProduct(0)"
21
  yui = [ 'autocomplete', 'calendar' ]
22
  javascript = js_data
23
  javascript_urls = [ "js/util.js", "js/TUI.js", "js/field.js" ]
24
  style_urls = [ "skins/standard/search_form.css" ]
25
  doc_section = "reporting.html#reports"
26 27
%]

28
[% PROCESS "search/search-report-select.html.tmpl" %]
29

30
<p>
31 32
  Choose one or more fields as your axes, and then refine your set of 
  [% terms.bugs %] using the rest of the form.
33 34 35 36
</p>

[% button_name = "Generate Report" %]

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

39
<table align="center">
40
  <tr>
41 42 43 44
    <td>
    </td>
    <td align="center">
      <b>Horizontal Axis:</b>
45
      [% PROCESS select name = 'x_axis_field' %]
46
    </td>
47
  </tr>
48

49
  <tr>
50 51
    <td valign="middle" align="center">
      <b>Vertical Axis:</b><br>
52
      [% PROCESS select name = 'y_axis_field' %]
53
    </td>
54
    <td width="150" height="150">
55
      <table border="1" width="100%">
56
        <tr>
57
          <td align="center" valign="middle" height="150">
58
            <b>Multiple Tables:</b><br>
59
            [% PROCESS select name = 'z_axis_field' %]
60 61 62
          </td>
        </tr>
      </table>
63 64
    </td>
  </tr>
65
</table>
66 67 68

<hr>

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

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

73 74 75 76 77 78
  <div id="knob">
    <input type="submit" id="[% button_name FILTER css_class_quote %]"
         value="[% button_name FILTER html %]">
    <input type="hidden" name="format" value="table">
    <input type="hidden" name="action" value="wrap">
  </div>
79 80 81
</form>

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