summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/pages/release_tracking_report.html.tmpl
blob: 6c0387ec05436ecc3b97f9374d49b00b8e241335 (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[%# 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/.
  #
  # This Source Code Form is "Incompatible With Secondary Licenses", as
  # defined by the Mozilla Public License, v. 2.0.
  #%]

[% INCLUDE global/header.html.tmpl
  title = "Release Tracking Report"
  style_urls = [ "extensions/BMO/web/styles/reports.css",
                 "js/jquery/plugins/datetimepicker/datetimepicker.css" ]
  javascript_urls = [ "extensions/BMO/web/js/release_tracking_report.js" ]
  jquery = [ "datetimepicker" ]
%]

<noscript>
<h1>JavaScript is required to use this report.</h1>
</noscript>

<script [% script_nonce FILTER none %]>
var flags_data = $.parseJSON("[% flags_json FILTER js %]");
var products_data = $.parseJSON("[% products_json FILTER js %]");
var fields_data = $.parseJSON("[% fields_json FILTER js %]");
var default_query = '[% default_query FILTER js %]';
</script>

<form action="page.cgi" method="get" onSubmit="return onFormSubmit()">
<input type="hidden" name="id" value="release_tracking_report.html">
<input type="hidden" name="q" id="q" value="">
<table>

<tr>
  <th>Approval:</th>
  <td>
    Show [% terms.bugs %] where
    <select id="flag" onChange="onFlagChange()">
      [% FOREACH flag_name = flag_names %]
        <option value="[% flag_name FILTER html %]">[% flag_name FILTER html %]</option>
      [% END %]
    </select>

    was changed to (and is currently)
    <select id="flag_value" onchange="serialiseForm()">
      <option value="?">?</option>
      <option value="-">-</option>
      <option value="+">+</option>
    </select>

    between
    <span id="fixed_range">
      <select id="range" onChange="serialiseForm()">
        [% FOREACH range = ranges %]
          <option value="[% range.value FILTER html %]">
            [% range.label FILTER html %]
          </option>
        [% END %]
      </select>
    </span>
    <span id="custom_range" style="display:none;">
      <input class="date_field" name="from" id="from" onChange="serialiseForm()">
      <img class="date_field-img" id="from-img" src="extensions/BugModal/web/calendar.png" width="16" height="16">
      and
      <input class="date_field" name="to" id="to" onChange="serialiseForm()">
      <img class="date_field-img" id="to-img" src="extensions/BugModal/web/calendar.png" width="16" height="16">
    </span>
    <input type="checkbox" id="is_custom" onchange="selectRangeType()" [% "checked" IF is_custom %]>
    <label for="is_custom">Custom</label>
  </td>
</tr>

<tr>
  <th>Status:</th>
  <td>
    for the product
    <select id="product" onChange="onProductChange()">
    </select>
  </td>
</tr>

<tr>
  <td>&nbsp;</td>
  <td>
    <select id="op" onChange="serialiseForm()">
      <option value="and">All selected tracking fields (AND)</option>
      <option value="or">Any selected tracking fields (OR)</option>
    </select>
    [
      <a href="javascript:void(0)" onClick="selectAllFields()">All</a> |
      <a href="javascript:void(0)" onClick="selectNoFields()">None</a>
    ]
    [
      <a href="javascript:void(0)" onClick="invertFields()">Invert</a>
    ]
    <br>
    <span id="tracking_span">
    </span>
  </td>
</tr>

<tr>
  <td>&nbsp;</td>
  <td colspan="2">
    <input type="submit" value="Search">
    <input type="submit" value="Reset" onClick="onFormReset(); return false">
    <a href="?" id="bookmark">Bookmarkable Link</a>
  </td>
</tr>
</table>
</form>

<p>
  <i>"fixed" in the status field checks for the "verified" status as well as "fixed".</i>
</p>

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