Revize 417c1106
Přidáno uživatelem Vojtěch Danišík před asi 5 roky(ů)
src/main/webapp/WEB-INF/templates/index.html | ||
---|---|---|
10 | 10 |
<body> |
11 | 11 |
<nav th:replace="fragments/headers :: nav"></nav> |
12 | 12 |
<div th:text="${message}"></div> |
13 |
<p th:each="result : ${sqlResults}" th:text="${result}"><p/> |
|
13 |
<table> |
|
14 |
<tr th:each="contingencyTableRow : ${contingencyTableRows}"> |
|
15 |
<div th:if="${contingencyTableRow.isHeader()}"> |
|
16 |
<th th:each="contingencyTableRowCell : ${contingencyTableRow.getCells()}"> |
|
17 |
<span th:text="${contingencyTableRowCell.getValue()}"></span> |
|
18 |
</th> |
|
19 |
</div> |
|
20 |
<div th:unless="${contingencyTableRow.isHeader()}"> |
|
21 |
<td th:each="contingencyTableRowCell : ${contingencyTableRow.getCells()}"> |
|
22 |
<span th:text="${contingencyTableRowCell.getValue()}"></span> |
|
23 |
</td> |
|
24 |
</div> |
|
25 |
</tr> |
|
26 |
</table> |
|
14 | 27 |
</body> |
15 | 28 |
</html> |
Také k dispozici: Unified diff
re #7779 Convert TableColumn -> ContingencyTableRow and send it to frontend. SQL query is now executed in specific class DatabaseInterface via SqlQueryManager.