|
|
|
@ -43,6 +43,7 @@
|
|
|
|
|
<script th:inline="javascript">
|
|
|
|
|
$('select[name=selValue]').val([[*{author}]]);
|
|
|
|
|
$('#select-author').selectpicker('refresh');
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-1 col-sm-12">
|
|
|
|
@ -70,14 +71,25 @@
|
|
|
|
|
<div class="col-md-2 col-sm-12">
|
|
|
|
|
Искать по тексту:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6 col-sm-12">
|
|
|
|
|
<div class="col-md-3 col-sm-12">
|
|
|
|
|
<input type="text" class="form-control" size="40" th:field="*{filter}">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-2 col-sm-12">
|
|
|
|
|
Содержит сущность:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group form-check">
|
|
|
|
|
<input type="checkbox" class="form-check-input" th:field="*{entity}" th:checked="*{entity}"/>
|
|
|
|
|
<div class="col-md-3 col-sm-12">
|
|
|
|
|
<div class="form-group form-check">
|
|
|
|
|
<select id="select-entity-present" class="selectpicker" th:field="*{entity}"
|
|
|
|
|
data-width="90%">
|
|
|
|
|
<option value="">Не определено</option>
|
|
|
|
|
<option th:each="ep : ${entityPresent}"
|
|
|
|
|
th:value="${ep.value}"
|
|
|
|
|
th:utext="${ep.key}">
|
|
|
|
|
</option>
|
|
|
|
|
</select>
|
|
|
|
|
<script th:inline="javascript">
|
|
|
|
|
$('select[name=selValue]').val([[*{entity}]]);
|
|
|
|
|
$('#select-entity-present').selectpicker('refresh');
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4 col-sm-12">
|
|
|
|
|
<input type="submit" class="btn btn-outline-success w-100" value="Применить фильтр"/>
|
|
|
|
|