Revize b7cd226e
Přidáno uživatelem Jan Čarnogurský před více než 4 roky(ů)
src/main/webapp/WEB-INF/templates/assembly.html | ||
---|---|---|
66 | 66 |
</optional> |
67 | 67 |
</td> |
68 | 68 |
<td class="s"> |
69 |
<div class="col select-filter"> |
|
69 |
<div th:unless="${configuration.parametersInConfiguration[__${itemStat.index}__].parameter.parameterType.name.equals('Výčet')}" class="col select-filter">
|
|
70 | 70 |
<select class="form-control" |
71 | 71 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].operator.name}"> |
72 | 72 |
<option th:value="zadny" selected value> -- Operátor --</option> |
... | ... | |
76 | 76 |
<input type="text" class="form-control select-filter-input" |
77 | 77 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].operatorValue}"> |
78 | 78 |
</div> |
79 |
<div th:if="${configuration.parametersInConfiguration[__${itemStat.index}__].parameter.parameterType.name.equals('Výčet')}" class="col select-filter"> |
|
80 |
<select class="mbSelect selectpicker assembly-enum-picker" multiple data-live-search="true" title="Nic nevybráno"> |
|
81 |
<option value="0" >Hodnota 1</option> |
|
82 |
<option value="1">Hodnota 2</option> |
|
83 |
</select> |
|
84 |
</div> |
|
79 | 85 |
</td> |
80 | 86 |
|
81 | 87 |
<select class="form-control hidden" th:id="'function-select-' + ${itemStat.index}" |
src/main/webapp/WEB-INF/templates/assembly_manage.html | ||
---|---|---|
143 | 143 |
<div class="form-group row"> |
144 | 144 |
<label for="exampleFormControlSelect1" class="col-sm-2">Funkce:</label> |
145 | 145 |
<div class="col-sm-10"> |
146 |
<select th:field="*{parameters[__${i.index}__].functions}" class="mbSelect selectpicker" multiple data-live-search="true"> |
|
146 |
<select th:field="*{parameters[__${i.index}__].functions}" class="mbSelect selectpicker" multiple data-live-search="true" title="Nic nevybráno">
|
|
147 | 147 |
<option th:each="function : ${allFunctions}" th:value="${{function.id}}" th:text="${function.name}"></option> |
148 | 148 |
</select> |
149 | 149 |
</div> |
... | ... | |
151 | 151 |
<div class="form-group row"> |
152 | 152 |
<label for="exampleFormControlSelect1" class="col-sm-2">Operátory:</label> |
153 | 153 |
<div class="col-sm-10"> |
154 |
<select th:field="*{parameters[__${i.index}__].operators}" class="mbSelect selectpicker" multiple data-live-search="true"> |
|
154 |
<select th:field="*{parameters[__${i.index}__].operators}" class="mbSelect selectpicker" multiple data-live-search="true" title="Nic nevybráno">
|
|
155 | 155 |
<option th:each="operator : ${allOperators}" th:value="${{operator.id}}" th:text="${operator.name}"></option> |
156 | 156 |
</select> |
157 | 157 |
</div> |
src/main/webapp/css/style.css | ||
---|---|---|
414 | 414 |
87.5% { |
415 | 415 |
box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em; |
416 | 416 |
} |
417 |
} |
|
418 |
|
|
419 |
.assembly-enum-picker { |
|
420 |
width: 100% !important; |
|
417 | 421 |
} |
Také k dispozici: Unified diff
re #8168 - added select picker for enum values in filter export