Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
java_weekendowa_20221008
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patryk Czarnik
java_weekendowa_20221008
Commits
8333cce1
Commit
8333cce1
authored
Nov 13, 2022
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Poprawki stylu w kalkulatorze
parent
c854b308
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
kalkulator.html
PC26-Spring/src/main/resources/templates/kalkulator.html
+9
-2
No files found.
PC26-Spring/src/main/resources/templates/kalkulator.html
View file @
8333cce1
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment