Artikel
+TODO
+diff --git a/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java index 7db8985..e4caea1 100644 --- a/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java @@ -43,6 +43,12 @@ public class RequestController { @GetMapping("/searchresults") public String searchresults() { return "searchResults";} + @GetMapping("/employee/articles") + public String articles() { return "articles";} + + @GetMapping("/employee/listedarticles") + public String listedarticles() { return "listedArticles";} + @GetMapping("/login") public String login(@CookieValue(value = "loginToken", defaultValue = "") String loginToken, Model model) { model.addAttribute(new Customer()); diff --git a/prototype/src/main/resources/static/css/listedArticles.css b/prototype/src/main/resources/static/css/listedArticles.css new file mode 100644 index 0000000..6f1315c --- /dev/null +++ b/prototype/src/main/resources/static/css/listedArticles.css @@ -0,0 +1,19 @@ +img.xs { + width: var(--u2); +} + +img.s { + width: var(--u4); +} + +.full-width { + width: 100%; +} + +span.checked::after { + content: "✔️"; +} + +span.unchecked::after { + content: "❌"; +} diff --git a/prototype/src/main/resources/templates/articles.html b/prototype/src/main/resources/templates/articles.html new file mode 100644 index 0000000..8bc8c98 --- /dev/null +++ b/prototype/src/main/resources/templates/articles.html @@ -0,0 +1,22 @@ + + + +
+ +TODO
++ Weitere Artikel können über Artikelübersicht gelistet werden. + Jetzt Hinzufügen +
+ ++
+ + | +|||||||
---|---|---|---|---|---|---|---|
Bild | +Name | +Preis | +(Netto) | +Kategorien | +Aktiv | +Artikel | +Id (bearbeiten) | +
Kamera | +100,50 € | +(84.45 €) | +Úberwachung, Elektronik | ++ | A-5051 | +L-890 | +|
Earbuds | +63,95 € | +(53,73 €) | +Kopfhörer, Elektronik | ++ | A-840 | +L-13850 | +|
USB-Magic Light | +11,90 € | +(10,00 €) | +Sonstiges, Elektronik | ++ | A-8401 | +L-5784 | +|
3D Magic Stativ | +15,99 € | +(13.44 €) | +Úberwachung, Elektronik | ++ | A-2135 | +L-4564 | +|
Ersatzfernbedinung | +7,95 € | +(6.68 €) | +Úberwachung, Elektronik | ++ | A-4565 | +L-4566 | +
+