summaryrefslogtreecommitdiffstats
path: root/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl
blob: 38f87dc1af923c56c7c057b5429e00410d49aab1 (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
[%# 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.
  #%]

[% DEFAULT max_results = 100 %]
<script type="text/javascript">
  [% IF script_name %]
    ProdCompSearch.script_name = '[% script_name FILTER js %]';
  [% END %]
  [% IF format %]
    ProdCompSearch.format = '[% format FILTER js %]';
  [% END %]
  [% IF cloned_bug_id %]
    ProdCompSearch.cloned_bug_id = '[% cloned_bug_id FILTER js %]';
  [% END %]
  [% IF new_tab %]
    ProdCompSearch.new_tab = true;
  [% END %]
  ProdCompSearch.max_results = [% max_results FILTER js %];
</script>

<div id="prod_comp_search_form" class="yui3-skin-sam">
  <div id="prod_comp_search_header">
    [% input_label FILTER none %]&nbsp;
    <img id="prod_comp_throbber" src="extensions/ProdCompSearch/web/images/throbber.gif"
         class="bz_default_hidden" width="16" height="11">
    <span id="prod_comp_no_components" class="bz_default_hidden">
      No components found</span>
    <span id="prod_comp_too_many_components" class="bz_default_hidden">
      Result limited to [% max_results FILTER html %] components
    <span id="prod_comp_error" class="bz_default_hidden">
      An error occured</span>
  </div>
  <input id="prod_comp_search" type="text" size="50"
         placeholder="Search by product and component keywords">
</div>