Ignore:
Timestamp:
01/06/23 21:08:03 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
89865ae
Parents:
9dcbf44
Message:

Added all advanced reports, added bootstrap for every template

Location:
src/main/resources/templates/fragments
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/fragments/header.html

    r9dcbf44 rcab5859  
    1010      <div class="collapse navbar-collapse justify-content-end" id="navbarsExampleDefault">
    1111        <ul class="navbar-nav m-auto">
    12           <li class="nav-item m-auto">
    13             <a class="nav-link active" href="/products">Продукти</a>
    14           </li>
    15           <li class="nav-item m-auto">
    16             <a class="nav-link active" href="/services">Сервиси</a>
    17           </li>
    1812          <th:block sec:authorize="hasAuthority('ROLE_CLIENT')">
    1913          <li class="nav-item m-auto">
    2014            <a class="nav-link active" href="/currentOrder">Моја нарачка</a>
    2115          </li>
     16          </th:block>
     17          <th:block sec:authorize="hasAuthority('ROLE_CLIENT')">
     18            <li class="nav-item m-auto">
     19              <a class="nav-link active" href="/orders">Мои нарачки</a>
     20            </li>
     21          </th:block>
     22          <th:block sec:authorize="hasAuthority('ROLE_CLIENT')">
     23            <li class="nav-item m-auto">
     24              <a class="nav-link active" href="/repairs">Мои поправки</a>
     25            </li>
     26          </th:block>
     27          <th:block sec:authorize="hasAuthority('ROLE_CLIENT')">
     28            <li class="nav-item m-auto">
     29              <a class="nav-link active" href="/reviews">Мои критики</a>
     30            </li>
    2231          </th:block>
    2332          <th:block sec:authorize="hasAuthority('ROLE_CLIENT')">
     
    4655          <th:block th:if="${#request.getRemoteUser() != null}">
    4756          <li class="nav-item">
    48             <a class="btn btn-success btn-sm ml-3" href="/register">
     57            <a class="btn btn-success btn-sm ml-3" href="/">
    4958              <th:block th:text="${#request.getRemoteUser()}"></th:block>
    5059            </a>
Note: See TracChangeset for help on using the changeset viewer.