Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
javab_20230617
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
javab_20230617
Commits
0c0e1871
Commit
0c0e1871
authored
Jul 16, 2023
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drobne poprawki w wyglądzie walut
parent
ddc73588
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
9 deletions
+19
-9
styl.css
PC25-Spring/src/main/resources/static/styl.css
+4
-0
waluty.html
PC25-Spring/src/main/resources/templates/waluty.html
+15
-9
No files found.
PC25-Spring/src/main/resources/static/styl.css
View file @
0c0e1871
...
@@ -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
;
}
PC25-Spring/src/main/resources/templates/waluty.html
View file @
0c0e1871
...
@@ -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>
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