Commit 0c0e1871 by Patryk Czarnik

Drobne poprawki w wyglądzie walut

parent ddc73588
......@@ -47,4 +47,8 @@ table.tabela-walut td, table.tabela-walut th {
padding: 2px;
}
table.tabela-walut th {
background-color: #FFCCDD;
border-bottom: 3px double black;
}
......@@ -10,19 +10,25 @@
<form>
<div><label for="data">Wybierz datę:</label>
<input type="date" name="data">
<input type="date" name="data" th:value="${param.data}">
</div>
<button>Pobierz</button>
</form>
<table th:if="${tabela != null}" class="tabela-walut">
<div th:if="${tabela != null}">
<h3>Pobrane dane</h3>
<div>Numer tabeli: <span th:text="${tabela.numer}">1234/2023</span></div>
<div>Data: <span th:text="${tabela.data}">2023-05-04</span></div>
<table class="tabela-walut">
<tr><th>Kod</th><th>Nazwa</th><th>Kurs</th></tr>
<tr th:each="w : ${tabela.waluty}">
<td th:text="${w.kod}">EUR</td>
<td th:text="${w.nazwa}">euro</td>
<td th:text="${w.kurs}">4.5432</td>
</tr>
</table>
</table>
</div>
</body>
</html>
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