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.9 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: 1%; font-size: 33px;">Подготвени нарачки за достава</h1>
|
---|
20 | <div style="width: 1500px; height: 1000px; margin-top: 20px; margin-left: 20px">
|
---|
21 | <div th:each="order : ${orders}"
|
---|
22 | style="width: 350px; padding-top: 10px; background-color: #f6f5f5; margin-bottom: 10px ; margin-right: 15px; height: 210px; display: inline-block; border: 1px solid black">
|
---|
23 | <p style="margin-left: 20px;" th:text="'Улица: ' + ${order.getConsumer().getLocation().getAddress()}"></p>
|
---|
24 | <p style="margin-left: 20px;" th:text="'Број: ' + ${order.getConsumer().getLocation().getNumber()}"></p>
|
---|
25 | <p style="margin-left: 20px;" th:if="${orderStat.index < costs.size()}"
|
---|
26 | th:text="'Цена: ' + ${costs.get(orderStat.index)}"></p>
|
---|
27 | <p style="margin-left: 20px;" th:text="'Продажно место: ' + ${order.getSalePlace().getSalePlaceName()}"></p>
|
---|
28 | <a style="margin-left: 15px; margin-top: -4px;" class="btn btn-success text-white "
|
---|
29 | th:href="@{'/takeOrder/{id}' (id = ${order.getOrderId()})}">Превземи нарачка</a>
|
---|
30 | </div>
|
---|
31 | </div>
|
---|
32 | </body>
|
---|
33 | </html> |
---|
Note:
See
TracBrowser
for help on using the repository browser.