source: FullyStocked/src/main/resources/templates/selectInvArticle.html@ c76db45

main
Last change on this file since c76db45 was c76db45, checked in by Bojan <bojantrpeski123@…>, 22 months ago

Navbar links added

  • Property mode set to 100644
File size: 3.4 KB
Line 
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>FullyStocked</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="/worker">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="/worker/articles">Преглед на магацинот</a>
22 </li>
23 <li class="nav-item m-auto">
24 <a class="nav-link active" href="/orders/worker/list">Нарачки во тек</a>
25 </li>
26 <li class="nav-item m-auto">
27 <a class="nav-link active" href="/questions/worker/create">Постави прашање</a>
28 </li>
29 <li class="nav-item m-auto">
30 <a class="nav-link active" href="/questions/worker/list">Погледни одговори</a>
31 </li>
32 <li class="nav-item m-auto">
33 <a class="nav-link active" href="/invoices/create">Креирај фактура</a>
34 </li>
35 </ul>
36
37 <ul class="nav navbar-nav navbar-right">
38
39 <li class="nav-item">
40 <a class="btn btn-light btn-sm ml-3" href="/logout">
41 <i class="fa fa-shopping-cart"></i> Logout
42 </a>
43 </li>
44 </ul>
45 </div>
46 </div>
47</nav>
48<div class="d-flex justify-content-center">
49 <h2 class="m-2">Избери артикл</h2>
50</div>
51<table class="table">
52 <thead>
53 <tr>
54 <th>
55 Слика
56 </th>
57 <th>
58 Име
59 </th>
60 <th>
61 Достапна количина
62 </th>
63 <th>
64
65 </th>
66 </tr>
67 </thead>
68 <tbody>
69 <tr th:each="article : ${articles}">
70
71 <td>
72 <img style="width:300px; max-height:200px " th:src="${article.getImageurl()}">
73 </td>
74 <td th:text="${article.getArticlename()}" class="link">
75 </td>
76 <td th:text="${article.getQuantity()}" class="link1">
77 </td>
78
79 <td>
80 <form action="/invoices/articles/select" method="POST">
81 <input type="hidden" name="invoiceId" th:value="${invId}">
82 <input type="hidden" name="articleId" th:value="${article.getSarticleid()}">
83 <input type="submit" class="btn btn-primary" value="Додади во фактура">
84 </form>
85
86 </td>
87
88 </tr>
89 </tbody>
90
91</table>
92<style>
93 .link {
94 font-size: 20px;
95 }
96
97 .link1 {
98 font-size: 18px;
99 }
100
101 th {
102 font-size: 16px;
103 }
104
105</style>
106</body>
107</html>
Note: See TracBrowser for help on using the repository browser.