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 e4caea1..803b513 100644 --- a/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java @@ -49,6 +49,9 @@ public class RequestController { @GetMapping("/employee/listedarticles") public String listedarticles() { return "listedArticles";} + @GetMapping("/employee/listedarticlesedit") + public String listedarticlesedit() { return "listedArticlesEdit";} + @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 index 6f1315c..3f64096 100644 --- a/prototype/src/main/resources/static/css/listedArticles.css +++ b/prototype/src/main/resources/static/css/listedArticles.css @@ -6,6 +6,11 @@ img.s { width: var(--u4); } + +img.m { + width: var(--u8); +} + .full-width { width: 100%; } @@ -17,3 +22,34 @@ span.checked::after { span.unchecked::after { content: "❌"; } + +input.linestyle { + background-color: transparent; + border-bottom: var(--u-4) solid var(--c-primary); + border-radius: 0px; + padding: 0px; +} + +.formgrid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); + grid-template-rows: auto; + grid-column-gap: var(--u0); +} + +.formgrid > .s { + grid-column: span 1; +} + +.formgrid > .m { + grid-column: span 2; +} + +.formgrid > .l { + grid-column: span 3; +} + +.formgrid > .spacer { + grid-column: span 3; + height: 0px; +} diff --git a/prototype/src/main/resources/templates/listedArticles.html b/prototype/src/main/resources/templates/listedArticles.html index dc2322e..98c61f3 100644 --- a/prototype/src/main/resources/templates/listedArticles.html +++ b/prototype/src/main/resources/templates/listedArticles.html @@ -67,7 +67,7 @@ Úberwachung, Elektronik A-5051 - L-890 + L-890 @@ -77,7 +77,7 @@ Kopfhörer, Elektronik A-840 - L-13850 + L-13850 @@ -87,7 +87,7 @@ Sonstiges, Elektronik A-8401 - L-5784 + L-5784 @@ -97,7 +97,7 @@ Úberwachung, Elektronik A-2135 - L-4564 + L-4564 @@ -107,7 +107,7 @@ Úberwachung, Elektronik A-4565 - L-4566 + L-4566

diff --git a/prototype/src/main/resources/templates/listedArticlesEdit.html b/prototype/src/main/resources/templates/listedArticlesEdit.html new file mode 100644 index 0000000..8d3d224 --- /dev/null +++ b/prototype/src/main/resources/templates/listedArticlesEdit.html @@ -0,0 +1,118 @@ + + + + + + e-commerce + + + + + + + +

+
+ +
+

Gelistete Artikel

+ + +

Artikel bearbeiten

+
+

+ + +

+

+ + +

+
+
+

+ + +

+

+ +

+
+
+

+ + EUR + ( 19% Mwst. ) +
+ = 105.98 EUR Brutto +

+

+ + EUR +

+

+

+ + Automatisch nachbestellen + Nicht mehr nachkaufen +
+

+
+ +
+ + +

+ Bitte jede Kategorien in eine eigene Zeile +

+
+ +
+

+ + +

+

+ Der Wert wird nur für zukünftige Lagerbuchungen verwendet. + Bei Problemen kann können Einheiten aus und wieder eingebucht werden. + Lagerbuchung +

+
+ +

+ + +

+ +
+
+
+ + + +