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