1[%# This Source Code Form is subject to the terms of the Mozilla Public
2  # License, v. 2.0. If a copy of the MPL was not distributed with this
3  # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4  #
5  # This Source Code Form is "Incompatible With Secondary Licenses", as
6  # defined by the Mozilla Public License, v. 2.0.
7  #%]
8
9[%# INTERFACE:
10  # This template has no interface. However, to use it, you need to fulfill
11  # the interfaces of search/form.html.tmpl, reports/series.html.tmpl and
12  # search/boolean-charts.html.tmpl.
13  #%]
14
15[% js_data = BLOCK %]
16    var queryform = "chartform";
17[% END %]
18
19[% PROCESS global/header.html.tmpl
20  title = "Neue Datensammlung anlegen"
21  onload = "doOnSelectProduct(0);"
22  yui = [ 'autocomplete', 'calendar' ]
23  javascript = js_data
24  javascript_urls = [ "js/util.js", "js/TUI.js", "js/field.js" ]
25  style_urls = [ "skins/standard/search_form.css" ]
26  doc_section = "reporting.html#charts-new-series"
27%]
28
29<form method="get" action="chart.cgi" name="chartform">
30
31[% PROCESS search/form.html.tmpl %]
32
33<p>
34  <input type="submit" id="action-search" name="action-search" value="Suche starten">
35  um zu sehen, welche [% terms.bugs %] in der Datensammlung enthalten wären.
36</p>
37
38<h3>Parameter der Datensammlung</h3>
39
40[% PROCESS reports/series.html.tmpl
41   button_name = "Datensammlung anlegen" %]
42  <input type="hidden" name="action" value="create">
43  <input type="hidden" name="token" value="[% issue_hash_token(['create-series']) FILTER html %]">
44
45<script type="text/javascript">
46  document.chartform.category[0].selected = true;
47  catSelected();
48  checkNewState();
49</script>
50
51<hr>
52
53[% PROCESS "search/boolean-charts.html.tmpl" %]
54
55</form>
56
57[% PROCESS global/footer.html.tmpl %]
58