summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2015-04-15 20:37:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-17 11:53:57 +0100
commitabc7f15960b0ae2c13e6ca34b2452f7baa353370 (patch)
tree6098d2754054690ad757338b97a649e46d94a1c8 /bitbake/lib
parentdb254cb513b1ad5f67f42321e01a42ec47572243 (diff)
downloadpoky-abc7f15960b0ae2c13e6ca34b2452f7baa353370.tar.gz
bitbake: toaster: date range filter for project builds page
Port date range filter initialization code to the project builds page. [YOCTO #7578] (Bitbake rev: 294ea99263385525a1434bc6df690b653ee1f81b) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/projectbuilds.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html
index 07595f2376..18b24955d0 100644
--- a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html
+++ b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html
@@ -6,8 +6,24 @@
6<li>Project builds</li> 6<li>Project builds</li>
7{% endblock %} 7{% endblock %}
8 8
9{% block extraheadcontent %}
10<link rel="stylesheet" href="/static/css/jquery-ui.min.css" type='text/css'>
11<link rel="stylesheet" href="/static/css/jquery-ui.structure.min.css" type='text/css'>
12<link rel="stylesheet" href="/static/css/jquery-ui.theme.min.css" type='text/css'>
13<script src="/static/js/jquery-ui.min.js"></script>
14<script src="/static/js/filtersnippet.js"></script>
15{% endblock %}
16
9{% block projectinfomain %} 17{% block projectinfomain %}
10 18
19<script>
20 // initialize the date range controls
21 $(document).ready(function () {
22 date_init('created','{{last_date_from}}','{{last_date_to}}','{{dateMin_created}}','{{dateMax_created}}','{{daterange_selected}}');
23 date_init('updated','{{last_date_from}}','{{last_date_to}}','{{dateMin_updated}}','{{dateMax_updated}}','{{daterange_selected}}');
24 });
25</script>
26
11 <div class="page-header"> 27 <div class="page-header">
12 <h1> 28 <h1>
13 {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %} 29 {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %}