2020-02-01 23:43:44 +01:00
<!DOCTYPE html>
< html lang = "de" dir = "ltr" xmlns:th = "http://www.thymeleaf.org" >
2020-05-16 22:48:20 +02:00
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=0.75, user-scalable=no" >
< title > Gelistete Artikel< / title >
< script th:src = "@{/js/filterTable.js}" > < / script >
< link rel = "stylesheet" th:href = "@{/css/ecom.css}" / >
< / head >
< body >
< nav th:replace = "fragments/header :: header" > Header< / nav >
< div class = "sidebar-layout content-width" >
< nav > < / nav >
< div >
< h1 > Gelistete Artikel< / h1 >
< script th:src = "@{/js/back.js}" > < / script >
< div class = "back" data-group = "intern" data-name = "Zurück zu den gelisteten Artikeln." data-insert = "false" > < / div >
< / div >
< / div >
< main class = "sidebar-layout content-width" >
< nav th:replace = "fragments/intern :: sidebar" > < / nav >
< div class = "content-width" >
< p >
Weitere Artikel können über Artikelübersicht der Lieferanten hinzugefügt werden.
< a class = "button smaller" th:href = "@{/intern/supplierOffers}" > Jetzt Hinzufügen < / a >
< / p >
< p >
< table id = "main-table" >
< tr >
< th colspan = "9" >
< input type = "text" placeholder = "Filtern" class = "smaller jsFilterTable full-width"
2020-05-28 13:22:28 +02:00
data-target-id="main-table"/>
2020-05-16 22:48:20 +02:00
< / th >
< / tr >
< thead >
< tr >
< th > Bild< / th >
< th > Name< / th >
< th > Preis< / th >
< th > (Netto)< / th >
< th > Kategorien< / th >
< th > Lagerbestand< / th >
< th > Angebots ID< / th >
< th > Artikel ID< / th >
< th > Aktion< / th >
< / tr >
< / thead >
< tbody >
< tr th:each = "article : ${ListedArticles}" >
< td > < img th:src = "@{/shop/articles/{id}/image.jpg(id=${article.id})}" class = "s" / > < / td >
< td > < span th:text = "${article.title}" > < / span > < / td >
< td > < span th:text = "${article.price}" > < / span > €< / td >
2020-06-05 18:05:10 +02:00
< td > < span th:text = "${article.priceNet}" > < / span > €< / td >
2020-05-16 22:48:20 +02:00
< td > < span th:text = "${article.categorie}" > < / span > < / td >
< td > < span th:text = "${article.stock}" > < / span > < / td >
2020-06-05 18:05:10 +02:00
< td > < a th:href = "${'/intern/supplierOffers/#q=' + article.title}" th:text = "${article.offerID}" > < / a > < / td >
2020-05-16 22:48:20 +02:00
< td > < a th:href = "@{/intern/articles/{id}(id = ${article.id})}" th:text = "${article.id}" > < / a > < / td >
< td >
2020-05-27 21:53:58 +02:00
< form th:action = "@{/intern/articles/{id}(id = ${article.id})}" > < input class = "button smaller" type = "submit" value = "Bearbeiten" / > < / form >
2020-05-16 22:48:20 +02:00
< / td >
< / tr >
< / tbody >
< / table >
< p >
< / div >
< / main >
< footer th:replace = "fragments/footer :: footer" > < / footer >
< / body >
< / html >