[8d11f8c] | 1 | <!DOCTYPE html>
|
---|
| 2 | <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
|
---|
| 3 | xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
|
---|
| 4 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css"
|
---|
| 5 | integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
---|
| 6 | <head>
|
---|
| 7 | <meta charset="UTF-8">
|
---|
| 8 | <title>Home</title>
|
---|
| 9 | </head>
|
---|
| 10 | <body>
|
---|
| 11 | <nav class="navbar navbar-expand-lg navbar-dark bg-dark" style="height: 55px">
|
---|
| 12 | <div class="collapse navbar-collapse" id="navbarSupportedContent">
|
---|
| 13 | <ul class="navbar-nav mr-auto" >
|
---|
| 14 | <!--<li class="nav-item"><a th:href="@{/home}"><img src="../images/logo.jpg" height="60px" width="121px"></a></li>-->
|
---|
| 15 | <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none; margin-right: 20px" th:href="@{/home}">FoodDelivery</a></li>
|
---|
| 16 | <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none; margin-right: 20px" th:href="@{/salePlaces}" sec:authorize="hasRole('ROLE_CONSUMER')">Продажни места</a></li>
|
---|
| 17 | <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none; margin-right: 20px" th:href="@{/checkOrderStatus}" sec:authorize="hasRole('ROLE_CONSUMER')">Статус нарачки</a></li>
|
---|
| 18 | <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none; margin-right: 20px" th:href="@{/salePlace/Orders}" sec:authorize="hasRole('ROLE_SALEPLACEEMPLOYEE')">Нарачки</a></li>
|
---|
| 19 | <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none; margin-right: 20px" th:href="@{/deliveryOrders}" sec:authorize="hasRole('ROLE_DELIVER')">Превземете нарачка</a></li>
|
---|
| 20 | <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none; margin-right: 20px" th:href="@{/showOrderDeliverer}" sec:authorize="hasRole('ROLE_DELIVER')">Ваши нарачки</a></li>
|
---|
| 21 |
|
---|
| 22 | <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none; margin-right: 20px" th:href="@{/reports/bestPacketsEachSalePlace}" sec:authorize="hasRole('ROLE_ADMIN')">Најдобри пакети</a></li>
|
---|
| 23 | <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none; margin-right: 20px" th:href="@{/reports/mostLoyalCustomerForEachPlace}" sec:authorize="hasRole('ROLE_ADMIN')">Најверен потрошувач</a></li>
|
---|
| 24 | <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none; margin-right: 20px" th:href="@{/reports/franchizeEarningsBySalePlace}" sec:authorize="hasRole('ROLE_ADMIN')">Промет франшиза</a></li>
|
---|
| 25 | <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none; margin-right: 20px" th:href="@{/reports/DeliverNumberOfOrdersDeliveredBySalePlace}" sec:authorize="hasRole('ROLE_ADMIN')">Доставувач број достави</a></li>
|
---|
| 26 | <li class="nav-item"><a style="color: white; font-weight: bolder; text-decoration: none; margin-right: 20px" th:href="@{/reports/TotalCouponsByCustomer}" sec:authorize="hasRole('ROLE_ADMIN')">Купони</a></li>
|
---|
| 27 | <a href="/logout" style="color: #01ea01;position: absolute;margin-left: 90%;" sec:authorize="isAuthenticated()">Log out</a>
|
---|
| 28 | <a href="/login" style="color: #01ea01;position: absolute;margin-left: 90%;" sec:authorize="!isAuthenticated()">Log in</a>
|
---|
| 29 |
|
---|
| 30 | </ul>
|
---|
| 31 | </div>
|
---|
| 32 |
|
---|
| 33 | </nav>
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 |
|
---|
| 37 | <img style = "height: 915px; width: 2000px;" class ='img-fluid' th:src = "@{/images/homepage.jpg}" />
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | </body>
|
---|
| 41 | </html> |
---|