[497d129] | 1 | <!DOCTYPE html>
|
---|
| 2 | <html lang="en" xmlns:sec="http://www.w3.org/1999/xhtml">
|
---|
| 3 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
---|
| 4 |
|
---|
| 5 | <head>
|
---|
| 6 | <meta charset="UTF-8">
|
---|
| 7 | <title>Title</title>
|
---|
| 8 | </head>
|
---|
| 9 | <body>
|
---|
| 10 | <nav class="navbar navbar-expand-md navbar-dark bg-dark">
|
---|
| 11 | <div class="container">
|
---|
| 12 | <a class="navbar-brand" href="/homeWorker">FULLYSTOCKED</a>
|
---|
| 13 | <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault"
|
---|
| 14 | aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
|
---|
| 15 | <span class="navbar-toggler-icon"></span>
|
---|
| 16 | </button>
|
---|
| 17 |
|
---|
| 18 | <div class="collapse navbar-collapse justify-content-end" id="navbarsExampleDefault">
|
---|
| 19 | <ul class="navbar-nav m-auto">
|
---|
| 20 | <li class="nav-item m-auto">
|
---|
| 21 | <a class="nav-link active" href="#">Преглед на магацинот</a>
|
---|
| 22 | </li>
|
---|
| 23 | <li class="nav-item m-auto">
|
---|
| 24 | <a class="nav-link active" href="#">Постави прашање</a>
|
---|
| 25 | </li>
|
---|
| 26 | <li class="nav-item m-auto">
|
---|
| 27 | <a class="nav-link active" href="#">Погледни одговори</a>
|
---|
| 28 | </li>
|
---|
| 29 | <li class="nav-item m-auto">
|
---|
| 30 | <a class="nav-link active" href="#">Креирај фактура</a>
|
---|
| 31 | </li>
|
---|
| 32 | </ul>
|
---|
| 33 |
|
---|
| 34 | <ul class="nav navbar-nav navbar-right">
|
---|
| 35 |
|
---|
| 36 | <li class="nav-item">
|
---|
| 37 | <a class="btn btn-light btn-sm ml-3" href="/logout">
|
---|
| 38 | <i class="fa fa-shopping-cart"></i> Logout
|
---|
| 39 | </a>
|
---|
| 40 | </li>
|
---|
| 41 | </ul>
|
---|
| 42 | </div>
|
---|
| 43 | </div>
|
---|
| 44 | </nav>
|
---|
| 45 | <div class="d-flex justify-content-center">
|
---|
| 46 | <h2 class="m-2">Избери артикл</h2>
|
---|
| 47 | </div>
|
---|
| 48 | <table class="table">
|
---|
| 49 | <thead>
|
---|
| 50 | <tr>
|
---|
| 51 | <th>
|
---|
| 52 | Слика
|
---|
| 53 | </th>
|
---|
| 54 | <th>
|
---|
| 55 | Име
|
---|
| 56 | </th>
|
---|
| 57 | <th>
|
---|
| 58 | Достапна количина
|
---|
| 59 | </th>
|
---|
| 60 | <th>
|
---|
| 61 |
|
---|
| 62 | </th>
|
---|
| 63 | </tr>
|
---|
| 64 | </thead>
|
---|
| 65 | <tbody>
|
---|
| 66 | <tr th:each="article : ${articles}">
|
---|
| 67 |
|
---|
| 68 | <td>
|
---|
| 69 | <img style="width:300px; max-height:200px " th:src="${article.getImageurl()}">
|
---|
| 70 | </td>
|
---|
| 71 | <td th:text="${article.getArticlename()}" class="link">
|
---|
| 72 | </td>
|
---|
| 73 | <td th:text="${article.getQuantity()}" class="link1">
|
---|
| 74 | </td>
|
---|
| 75 |
|
---|
| 76 | <td>
|
---|
| 77 | <form action="/invoices/articles/select" method="POST">
|
---|
| 78 | <input type="hidden" name="invoiceId" th:value="${invId}">
|
---|
| 79 | <input type="hidden" name="articleId" th:value="${article.getSarticleid()}">
|
---|
| 80 | <input type="submit" class="btn btn-primary" value="Додади во фактура">
|
---|
| 81 | </form>
|
---|
| 82 |
|
---|
| 83 | </td>
|
---|
| 84 |
|
---|
| 85 | </tr>
|
---|
| 86 | </tbody>
|
---|
| 87 |
|
---|
| 88 | </table>
|
---|
| 89 | <style>
|
---|
| 90 | .link {
|
---|
| 91 | font-size: 20px;
|
---|
| 92 | }
|
---|
| 93 |
|
---|
| 94 | .link1 {
|
---|
| 95 | font-size: 18px;
|
---|
| 96 | }
|
---|
| 97 |
|
---|
| 98 | th {
|
---|
| 99 | font-size: 16px;
|
---|
| 100 | }
|
---|
| 101 |
|
---|
| 102 | </style>
|
---|
| 103 | </body>
|
---|
| 104 | </html> |
---|