Revize 50c00b46
Přidáno uživatelem Michal Linha před téměř 5 roky(ů)
src/main/webapp/WEB-INF/templates/assembly.html | ||
---|---|---|
65 | 65 |
</td> |
66 | 66 |
<td class="select-action-buttons"> |
67 | 67 |
<optional th:each="location : ${parameterInConfiguration.parameter.locations}"> |
68 |
<span th:if="${location.name?.equals('Řádek')}" |
|
68 |
<span th:if="${location.name?.equals('Řádek')}"
|
|
69 | 69 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.name}" |
70 | 70 |
class="select-action-padding select-action-button select-input-action-margin-collapse unselectable row-button" |
71 | 71 |
th:classappend="(${configuration.parametersInConfiguration[__${itemStat.index}__].location.name?.equals('Řádek')}) ? select-action-headlight" > |
72 |
<i class="fas fa-align-justify"></i> |
|
73 |
</span> |
|
72 |
<i class="fas fa-align-justify"></i>
|
|
73 |
</span>
|
|
74 | 74 |
<span th:if="${location.name?.equals('Sloupec')}" |
75 | 75 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.name}" |
76 | 76 |
class="select-action-padding select-action-button select-input-action-margin-collapse unselectable column-button" |
77 | 77 |
th:classappend="(${configuration.parametersInConfiguration[__${itemStat.index}__].location.name?.equals('Sloupec')}) ? select-action-headlight"> |
78 |
<i class="fas fa-align-justify transform"></i> |
|
79 |
</span> |
|
78 |
<i class="fas fa-align-justify transform"></i>
|
|
79 |
</span>
|
|
80 | 80 |
<span th:if="${location.name?.equals('Hodnota')}" |
81 | 81 |
th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.name}" |
82 | 82 |
class="select-action-padding select-action-button select-input-action-margin-collapse unselectable value-button" |
83 | 83 |
th:classappend="(${configuration.parametersInConfiguration[__${itemStat.index}__].location.name?.equals('Hodnota')}) ? select-action-headlight"> |
84 |
<i class="fas fa-heading"></i> |
|
85 |
</span> |
|
84 |
<i class="fas fa-heading"></i>
|
|
85 |
</span>
|
|
86 | 86 |
</optional> |
87 | 87 |
</td> |
88 | 88 |
<td class="s"> |
... | ... | |
124 | 124 |
</thead> |
125 | 125 |
<tbody id="row-wrapper" class="sortable"> |
126 | 126 |
<tr th:each="parameterInConfiguration, itemStat : ${configuration.parametersInConfiguration}" th:if="${parameterInConfiguration.location.name?.equals('Řádek')}" class="row-parameter parameter"> |
127 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${i.index}__].locations}"> |
|
127 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.id}" value="1"> |
|
128 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].order}"> |
|
128 | 129 |
<td> |
129 | 130 |
<span class="parameter-name" th:text="${parameterInConfiguration.parameter.name}"></span> |
130 | 131 |
</td> |
... | ... | |
156 | 157 |
<tbody id="column-wrapper" class="sortable"> |
157 | 158 |
<tr th:each="parameterInConfiguration, itemStat : ${configuration.parametersInConfiguration}" th:if="${parameterInConfiguration.location.name?.equals('Sloupec')}" class="column-parameter parameter"> |
158 | 159 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.id}" value="2"> |
159 |
|
|
160 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].order}"> |
|
160 | 161 |
<td> |
161 | 162 |
<span class="parameter-name" th:text="${parameterInConfiguration.parameter.name}"></span> |
162 | 163 |
</td> |
... | ... | |
186 | 187 |
</thead> |
187 | 188 |
<tbody id="value-wrapper"> |
188 | 189 |
<tr th:each="parameterInConfiguration, itemStat : ${configuration.parametersInConfiguration}" th:if="${parameterInConfiguration.location.name?.equals('Hodnota')}" class="value-parameter parameter"> |
189 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.id}"> |
|
190 |
|
|
190 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].location.id}" value="3">
|
|
191 |
<input type="hidden" th:field="${configuration.parametersInConfiguration[__${itemStat.index}__].order}"> |
|
191 | 192 |
<td> |
192 | 193 |
<span class="parameter-name" th:text="${parameterInConfiguration.parameter.name}"></span> |
193 | 194 |
</td> |
Také k dispozici: Unified diff
re #7981 re #7979 re #7974 default table name added, assembly order implemented, parameter order in configuration implemented