summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-02-16 20:13:04 +0100
committerDavid Lawrence <dkl@mozilla.com>2016-02-16 20:13:04 +0100
commitd78003bc16d40399d197f66d3b58e1c0843aa96c (patch)
tree9916a7293069d38d765e14498d81ee87f2e1b89f /extensions/BMO/template/en/default
parent4cdd5e501cf7e50c47cb4e25dd1cdf0aebfc3540 (diff)
downloadbugzilla-d78003bc16d40399d197f66d3b58e1c0843aa96c.tar.gz
bugzilla-d78003bc16d40399d197f66d3b58e1c0843aa96c.tar.xz
Bug 1245471 - Release Tracking Report should be able to have custom dates
Diffstat (limited to 'extensions/BMO/template/en/default')
-rw-r--r--extensions/BMO/template/en/default/pages/release_tracking_report.html.tmpl31
1 files changed, 22 insertions, 9 deletions
diff --git a/extensions/BMO/template/en/default/pages/release_tracking_report.html.tmpl b/extensions/BMO/template/en/default/pages/release_tracking_report.html.tmpl
index 71228014a..25188ed41 100644
--- a/extensions/BMO/template/en/default/pages/release_tracking_report.html.tmpl
+++ b/extensions/BMO/template/en/default/pages/release_tracking_report.html.tmpl
@@ -8,8 +8,10 @@
[% INCLUDE global/header.html.tmpl
title = "Release Tracking Report"
- style_urls = [ "extensions/BMO/web/styles/reports.css" ]
+ 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>
@@ -39,20 +41,31 @@ var default_query = '[% default_query FILTER js %]';
</select>
was changed to (and is currently)
- <select id="flag_value">
+ <select id="flag_value" onchange="serialiseForm()">
<option value="?">?</option>
<option value="-">-</option>
<option value="+">+</option>
</select>
between
- <select id="range" onChange="serialiseForm()">
- [% FOREACH range = ranges %]
- <option value="[% range.value FILTER html %]">
- [% range.label FILTER html %]
- </option>
- [% END %]
- </select>
+ <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>