mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
rrs: Add support for filter in recipes page.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
26b84b3a73
commit
d90469c1b3
|
@ -74,7 +74,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<table class="table table-bordered statustable tablesorter table-hover">
|
||||
<table class="table table-bordered tablesorter table-hover recipestable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="recipe_column">Recipe</th>
|
||||
|
@ -106,7 +106,16 @@
|
|||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<script src="{% static "js/uitablefilter.js" %}"></script>
|
||||
<script src="{% static "js/jquery.tablesorter.js" %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<script src="{% static "js/uitablefilter.js" %}"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#filter").keyup(function() {
|
||||
var recipestable = $('.recipestable');
|
||||
$.uiTableFilter(recipestable, this.value);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user