Ignore:
Timestamp:
02/08/22 22:07:07 (3 years ago)
Author:
GitHub <noreply@…>
Branches:
main
Children:
967b414
Parents:
ad4243e (diff), c02189f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Mato-77 <56981531+Mato-77@…> (02/08/22 22:07:07)
git-committer:
GitHub <noreply@…> (02/08/22 22:07:07)
Message:

Merge pull request #3 from partaloski/master

Added new core functionalities, fixed bugs and improved visual clarity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/personsList.html

    rad4243e r0226942  
    55    </div>
    66    <div class="container mb-4">
    7         <div class="row">
    87            <div class="col-12" th:if="${persons.size() > 0}">
    98                <div class="table-responsive">
     
    4746                            <th:block sec:authorize="isAuthenticated()">
    4847                                <td>
    49                                     <a class="btn btn-primary button-add-grade-person" th:person-id="${person.getPersonId()}">Остави оценка</a>
     48                                    <a class="btn btn-secondary button-add-grade-person" th:person-id="${person.getPersonId()}">Остави оценка</a>
    5049
    5150                                </td>
    5251                            <td>
    53                                 <a class="btn btn-primary" th:href="@{'persons/edit/{personId}' (personId = ${person.getPersonId()})}">Промени</a>
     52                                <a class="btn btn-warning" th:href="@{'persons/edit/{personId}' (personId = ${person.getPersonId()})}">Промени</a>
    5453                            </td>
    5554                            <td>
    56                                 <a class="btn btn-primary button-delete-actor" th:person-id="${person.getPersonId()}">Избриши</a>
     55                                <a class="btn btn-danger button-delete-actor" th:person-id="${person.getPersonId()}">Избриши</a>
    5756
    5857                            </td>
    59 
    60                             <a class="bottom-heart btn btn-success button-add-favourite-list"
    61                                th:movie-id="${person.getMovieId()}"
    62                                th:user-id="${user.getUserId()}"
    63                                th:if="${!likedPersons.contains(movie)}">❤</a>
    64 
    65                             <a class="bottom-heart btn btn-danger button-remove-favourite-list"
    66                                th:movie-id="${person.getMovieId()}" th:user-id="${user.getUserId()}"
    67                                th:if="${likedPersons.contains(movie)}">💔</a>
    6858
    6959
     
    7565                </div>
    7666            </div>
    77         </div>
    7867    </div>
    7968
Note: See TracChangeset for help on using the changeset viewer.