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 @@ + + + + + + e-commerce + + + + + +
+ +
+

Artikel

+

TODO

+
+
+ + + + diff --git a/prototype/src/main/resources/templates/fragments/employee.html b/prototype/src/main/resources/templates/fragments/employee.html new file mode 100644 index 0000000..407bbf4 --- /dev/null +++ b/prototype/src/main/resources/templates/fragments/employee.html @@ -0,0 +1,41 @@ + + + + + + e-commerce + + + + + + + diff --git a/prototype/src/main/resources/templates/listedArticles.html b/prototype/src/main/resources/templates/listedArticles.html new file mode 100644 index 0000000..dc2322e --- /dev/null +++ b/prototype/src/main/resources/templates/listedArticles.html @@ -0,0 +1,119 @@ + + + + + + e-commerce + + + + + + + + +
+ +
+

Gelistete Artikel

+ + +

Artikel Hinzufügen

+

+ Weitere Artikel können über Artikelübersicht gelistet werden. + Jetzt Hinzufügen +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
BildNamePreis(Netto)KategorienAktivArtikelId (bearbeiten)
Kamera100,50 € (84.45 €) Úberwachung, ElektronikA-5051L-890
Earbuds63,95 €(53,73 €)Kopfhörer, ElektronikA-840L-13850
USB-Magic Light11,90 € (10,00 €) Sonstiges, ElektronikA-8401L-5784
3D Magic Stativ15,99 € (13.44 €) Úberwachung, ElektronikA-2135L-4564
Ersatzfernbedinung7,95 € (6.68 €) Úberwachung, ElektronikA-4565L-4566
+

+

+
+ + + +