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
d14d182d2e
commit
2d3bddc18c
|
@ -74,7 +74,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table class="table table-bordered statustable tablesorter table-hover">
|
<table class="table table-bordered tablesorter table-hover recipestable">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="recipe_column">Recipe</th>
|
<th class="recipe_column">Recipe</th>
|
||||||
|
@ -106,7 +106,16 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{% endblock %}
|
||||||
<script src="{% static "js/uitablefilter.js" %}"></script>
|
|
||||||
<script src="{% static "js/jquery.tablesorter.js" %}"></script>
|
{% 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 %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user