Ignore:
Timestamp:
01/07/23 01:51:16 (18 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
ed7ef92
Parents:
89865ae
Message:

Final touches

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

Legend:

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

    r89865ae r4d67d70  
    1111    <tbody>
    1212    <tr th:each="d : ${data}">
    13       <td th:text="${d.getCname}"></td>
     13      <td th:text="${d.getCname()}"></td>
    1414      <td th:text="${d.getCmname()}"></td>
    1515      <td th:text="${d.getPartsordered()}"></td>
  • src/main/resources/templates/fragments/header.html

    r89865ae r4d67d70  
    4040            </li>
    4141          </th:block>
     42          <th:block sec:authorize="hasAuthority('ROLE_WAREHOUSEMAN')">
     43            <li class="nav-item m-auto">
     44              <a class="nav-link active" href="/myWarehouseReport">Информации за потреби</a>
     45            </li>
     46          </th:block>
    4247          <th:block sec:authorize="hasAuthority('ROLE_DELIVERYMAN')">
    4348            <li class="nav-item m-auto">
     
    4853            <li class="nav-item m-auto">
    4954              <a class="nav-link active" href="/viewUsers">Корисници</a>
     55            </li>
     56          </th:block>
     57          <th:block sec:authorize="hasAuthority('ROLE_ADMIN')">
     58            <li class="nav-item m-auto">
     59              <a class="nav-link active" href="/addPart">Додај дел во системот</a>
    5060            </li>
    5161          </th:block>
  • src/main/resources/templates/myDeliveries.html

    r89865ae r4d67d70  
    22    <h1 class="mt-3 mb-3">Мои достави</h1>
    33    <form class="form-signin mt-xl-5" method="get" action="/myNextDeliveries">
    4     <button id="submit" class="btn btn-lg btn-primary btn-block w-50" type="submit">Мои следни нарачки</button>
     4    <button id="submit" class="btn btn-lg btn-primary btn-block w-50" type="submit">Мои следни достави</button>
    55    </form>
    66    <table class="table table-bordered mt-3">
  • src/main/resources/templates/myNextDeliveries.html

    r89865ae r4d67d70  
    11<div>
    2   <h1 class="mb-3 mt-3">Мои следни нарачки</h1>
     2  <h1 class="mb-3 mt-3">Мои следни достави</h1>
    33  <h1 th:if="${hasError}" th:text="${error}"></h1>
    44  <div th:if="${!hasError}">
Note: See TracChangeset for help on using the changeset viewer.