Commit 0032d936 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1183: Implement search result filtering

Task-Url: https://pm.winseda.de/issues/1183
parent 33a3a55e
......@@ -25,6 +25,9 @@
<button onClick="queryHandler.doSearch();" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-search"></span></button>
</div>
</div>
<div class="col-lg-12">
<%@ include file="incl/applied_filters_container.jsp" %>
</div>
<div class="col-lg-12">
<%@ include file="incl/tabs_results.jsp" %>
</div>
......
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<div id="applied-filters-container" class="hide">
<div id="applied-filters"></div>
<div style="clear: both;">
<button class="btn btn-link btn-sm" onclick="$('#applied-filters-container .applied-filter').remove(); $('#applied-filters-container').addClass('hide');"><i class="fa fa-trash" aria-hidden="true"></i> ~Reset all filters</button>
</div>
</div>
\ No newline at end of file
......@@ -31,7 +31,8 @@
<div class="panel-body">
<div>
~{link}
~{objects}
<div class="search-result-objects" id="search-result-objects-~{index}">
</div>
<div class="panel-group search-result-subpanel" id="search-results-content-~{index}-accordion">
<div class="panel panel-default">
<div class="panel-heading">
......
......@@ -26,6 +26,9 @@
</span>
</div>
</div>
<div class="col-lg-12">
<%@ include file="incl/applied_filters_container.jsp" %>
</div>
<div class="col-lg-12">
<%@ include file="incl/tabs_results.jsp" %>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment