Commit 8333cce1 by Patryk Czarnik

Poprawki stylu w kalkulatorze

parent c854b308
...@@ -25,12 +25,18 @@ https://www.baeldung.com/thymeleaf-select-option ...@@ -25,12 +25,18 @@ https://www.baeldung.com/thymeleaf-select-option
<button>Oblicz</button> <button>Oblicz</button>
</form> </form>
<div class="wynik"> <div class="wynik" th:if="${wynik != null}">
[[${param.liczba1}]] [[${param.operacja}]] [[${param.liczba2}]] = <strong>[[${wynik}]]</strong> <span th:text="${param.liczba1}">2</span>
<span th:text="${param.operacja}">+</span>
<span th:text="${param.liczba2}">3</span>
=
<strong th:text="${wynik}">5</strong>
</div> </div>
<div><a th:href="@{/kalkulator/historia}">historia działań</a></div> <div><a th:href="@{/kalkulator/historia}">historia działań</a></div>
<div><a th:href="@{/historia.json}">historia JSON</a></div> <div><a th:href="@{/historia.json}">historia JSON</a></div>
<div><a th:href="@{/historia.txt}">historia TXT</a></div>
<div><a th:href="@{/}">wróć do strony głównej</a></div>
</body> </body>
</html> </html>
\ No newline at end of file
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