Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SkuciSe
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tim 2 - 2022
SkuciSe
Commits
01bcf14d
Commit
01bcf14d
authored
Sep 17, 2022
by
Milovan Samardzic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zahteviFront
parent
2b1266fb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
SkuciSe/src/main/resources/templates/moji-zahtevi.html
+17
-4
No files found.
SkuciSe/src/main/resources/templates/moji-zahtevi.html
View file @
01bcf14d
...
...
@@ -146,7 +146,8 @@
th:if=
"${zahtevi[oglasStat.count - 1].status.toString() != 'ZAVRSEN'}"
>
<h4
th:text=
"${zahtevi[oglasStat.count - 1].datum + ' ' + zahtevi[oglasStat.count - 1].vreme}"
th:if=
"${zahtevi[oglasStat.count - 1].status.toString() == 'POTVRDJEN'}"
></h4>
<form
method=
"GET"
th:if=
"${zahtevi[oglasStat.count - 1].status.toString() != 'POTVRDJEN'}"
<form
method=
"GET"
th:if=
"${zahtevi[oglasStat.count - 1].status.toString() != 'POTVRDJEN'}"
th:action=
"@{/oglas-edit/{oglasId}/obrisi-zahtev/{zahtevId}(oglasId=${oglas.oglasId}, zahtevId=${zahtevi[oglasStat.count - 1].zahtevId})}"
>
<button
type=
"submit"
class=
"btn btn-danger"
th:if=
"${zahtevi[oglasStat.count - 1].status.toString() == 'CEKANJE'}"
>
...
...
@@ -160,14 +161,26 @@
</div>
<div
class=
"col-5 d-flex align-items-center flex-row justify-content-center"
th:if=
"${zahtevi[oglasStat.count - 1].status.toString() == 'ZAVRSEN'}"
>
<div
class=
"col-8 h-100"
>
<div
th:each=
"komentar: ${komentari}"
>
<p
th:text=
"${komentar.toString()}"
></p>
</div>
<form
method=
"post"
th:action=
"@{/profile/moji-zahtevi/sacuvaj-komentar}"
th:object=
"${komentari[oglasStat.count - 1]}"
>
<div
class=
"col-4 h-100"
>
<div
class=
"w-100 h-100 d-flex justify-content-center align-items-center"
>
<textarea
id=
"form7"
class=
"md-textarea form-control h-75"
rows=
"3"
></textarea>
<input
type=
"text"
th:field=
"${komentari[oglasStat.count - 1].komentar}"
/>
</div>
</div>
<div
class=
"col-4"
>
<input
type=
"radio"
name=
"ocenaRadio"
/>
<input
type=
"radio"
name=
"ocenaRadio"
/>
<input
type=
"radio"
name=
"ocenaRadio"
/>
<input
type=
"radio"
name=
"ocenaRadio"
/>
<input
type=
"radio"
name=
"ocenaRadio"
/>
</div>
<div
class=
"col-4"
>
<button
type=
"submit"
class=
"btn btn-secondary"
>
Postavi komentar
</button>
</div>
</form>
</div>
</div>
</div>
...
...
@@ -177,7 +190,6 @@
</div>
</div>
</div>
</div>
<div
class=
"container-fluid pb-0 mb-0 justify-content-center text-light "
>
<footer>
...
...
@@ -249,6 +261,7 @@
<script
src=
"https://kit.fontawesome.com/51d1fadef3.js"
crossorigin=
"anonymous"
></script>
<script
src=
"/js/main.js"
></script>
<script
src=
"https://unpkg.com/aos@next/dist/aos.js"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-star-rating/4.1.2/js/star-rating.min.js"
></script>
<script>
AOS
.
init
();
</script>
...
...
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