Last change
on this file since 8d11f8c was 8d11f8c, checked in by jovanmanchev <jovanmanchev3003@…>, 21 months ago |
code added, trial 2
|
-
Property mode
set to
100644
|
File size:
1.8 KB
|
Line | |
---|
1 | <!DOCTYPE html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <meta charset="UTF-8">
|
---|
5 | <title>Title</title>
|
---|
6 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css"
|
---|
7 | integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
---|
8 | </head>
|
---|
9 | <body>
|
---|
10 |
|
---|
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 style="color: white; font-weight: bolder; text-decoration: none;"
|
---|
15 | th:href="@{/home}">Врати се назад</a></li>
|
---|
16 | </ul>
|
---|
17 | </div>
|
---|
18 | </nav>
|
---|
19 | <h1 class="display-4" style="margin-left: 5%; font-size: 33px;">Ваши достави</h1>
|
---|
20 | <div th:each="order : ${orders}" style="width: 90%; margin-left: auto; margin-right: auto; margin-top:10px;" class="border">
|
---|
21 | <table class="table" >
|
---|
22 | <tr><th scope="col">Адреса</th><th scope="col">Број</th><th scope="col">Цена</th><th scope="col">Продажно место</th><th scope="col">Начин на плаќање</th><th scope="col"></th></tr>
|
---|
23 |
|
---|
24 | <tr>
|
---|
25 | <td th:text="${order.getConsumer().getLocation().getAddress()}"></td>
|
---|
26 | <td th:text="${order.getConsumer().getLocation().getNumber()}"></td>
|
---|
27 | <td th:text="${costs.get(orderStat.index)}"></td>
|
---|
28 | <td th:text="${order.getSalePlace().getSalePlaceName()}"></td>
|
---|
29 | <td th:text="${order.getTypeOfPayment()}"></td>
|
---|
30 | <td><a class="btn btn-success text-white " th:href="@{'/orderPayment/{id}' (id = ${order.getOrderId()})}">Потврдете дека е платена</a></td>
|
---|
31 | </tr>
|
---|
32 | </table>
|
---|
33 | </div>
|
---|
34 |
|
---|
35 |
|
---|
36 | </body>
|
---|
37 | </html> |
---|
Note:
See
TracBrowser
for help on using the repository browser.