mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
bitbake: toastergui: implement date range filters for builds
Implement the completed_on and started_on filtering for
builds.
Also separate the name of a filter ("filter" in the querystring)
from its value ("filter_value" in the querystring). This enables
filtering to be defined in the querystring more intuitively,
and also makes it easier to add other types of filter (e.g.
by day).
[YOCTO #8738]
(Bitbake rev: d47c32e88c2d4a423f4d94d49759e557f425a539)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b929889cdd
commit
f8d383d87f
@@ -1,4 +1,13 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load static %}
|
||||
|
||||
{% block extraheadcontent %}
|
||||
<link rel="stylesheet" href="{% static 'css/jquery-ui.min.css' %}" type='text/css'>
|
||||
<link rel="stylesheet" href="{% static 'css/jquery-ui.structure.min.css' %}" type='text/css'>
|
||||
<link rel="stylesheet" href="{% static 'css/jquery-ui.theme.min.css' %}" type='text/css'>
|
||||
<script src="{% static 'js/jquery-ui.min.js' %}">
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block title %} All builds - Toaster {% endblock %}
|
||||
|
||||
@@ -34,29 +43,6 @@
|
||||
|
||||
titleElt.text(title);
|
||||
});
|
||||
|
||||
/* {% if last_date_from and last_date_to %}
|
||||
// TODO initialize the date range controls;
|
||||
// this will need to be added via ToasterTable
|
||||
date_init(
|
||||
"started_on",
|
||||
"{{last_date_from}}",
|
||||
"{{last_date_to}}",
|
||||
"{{dateMin_started_on}}",
|
||||
"{{dateMax_started_on}}",
|
||||
"{{daterange_selected}}"
|
||||
);
|
||||
|
||||
date_init(
|
||||
"completed_on",
|
||||
"{{last_date_from}}",
|
||||
"{{last_date_to}}",
|
||||
"{{dateMin_completed_on}}",
|
||||
"{{dateMax_completed_on}}",
|
||||
"{{daterange_selected}}"
|
||||
);
|
||||
{% endif %}
|
||||
*/
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user