Changeset 04153a9 for src


Ignore:
Timestamp:
02/10/23 11:35:17 (23 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
633b371
Parents:
ef84238
Message:

Authorization

Location:
src/main/resources/templates
Files:
2 edited

Legend:

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

    ref84238 r04153a9  
    5252                минути
    5353            </h4>
     54            <th:block sec:authorize="hasAuthority('ROLE_USER')" th:if="${#request.getRemoteUser() != null}">
    5455            <form th:action="@{'/home/addInterestedEvent/{id}' (id=${event.id_event})}"
    5556                  th:method="POST">
    5657                <button class="button" type="submit">Додади Заинтересиран</button>
    5758            </form>
     59            </th:block>
    5860        </div>
    5961        <div class="slika">
  • src/main/resources/templates/projectionsForFilm.html

    ref84238 r04153a9  
    2727</style>
    2828<h1 style="color: white" th:text="${film.name}"></h1>
    29 <div style="border-radius:30px" >
     29<div style="border-radius:30px" xmlns:sec="http://www.w3.org/1999/xhtml">
    3030    <div class="row">
    3131        <div class="col-12 mt-3" style="padding-left:100px;height:75%;">
     
    4747                <div class="card-footer" style="border-bottom-right-radius:30px;border-bottom-left-radius:30px">
    4848                    <small>
     49                        <th:block sec:authorize="hasAuthority('ROLE_USER')" th:if="${#request.getRemoteUser() != null}">
    4950                        <form th:action="@{'/home/getSeats/{id}' (id=${projection.id_projection})}"
    5051                              th:method="GET">
     
    6364                            <button class="button" type="submit">Резервирај</button>
    6465                        </form>
    65 
     66                        </th:block>
    6667                    </small>
    6768                </div>
Note: See TracChangeset for help on using the changeset viewer.