From 28d2118df8367fdbe3125e02866cc05133e03c6b Mon Sep 17 00:00:00 2001 From: CodeSteak Date: Sat, 25 Jan 2020 16:12:53 +0100 Subject: [PATCH] implement checkout --- .../src/main/resources/static/css/ecom.css | 33 ++-- .../main/resources/templates/register.html | 2 +- .../resources/templates/shop/checkout.html | 171 ++++++++++++++++++ 3 files changed, 194 insertions(+), 12 deletions(-) diff --git a/prototype/src/main/resources/static/css/ecom.css b/prototype/src/main/resources/static/css/ecom.css index 5aa4831..0de46a3 100644 --- a/prototype/src/main/resources/static/css/ecom.css +++ b/prototype/src/main/resources/static/css/ecom.css @@ -195,7 +195,6 @@ a.section { p { padding-top: var(--u0); padding-bottom: var(--u0); - color: var(--c-black); } h1 { @@ -742,6 +741,24 @@ fieldset label { * CONTENT */ +.card { + padding: var(--u0); + background-color: var(--c-primary); + color: var(--c-base); +} + +.card.s { + width: 10rem; +} + +.card.m { + width: 20rem; +} + +.card.l { + width: 40rem; +} + .price { opacity: 75%; font-size: var(--u1); @@ -752,15 +769,9 @@ fieldset label { text-align: center; } -.leftspace { - padding-left: 1em; +.no-padding { + padding: 0px; } -.noPadding { - padding: 0rem; -} -.noMargin { - margin: 0rem; -} -.Margin-left.s { - margin-left: 2rem; +.no-margin { + margin: 0px; } diff --git a/prototype/src/main/resources/templates/register.html b/prototype/src/main/resources/templates/register.html index dce2736..2125d5c 100644 --- a/prototype/src/main/resources/templates/register.html +++ b/prototype/src/main/resources/templates/register.html @@ -59,7 +59,7 @@
- +
diff --git a/prototype/src/main/resources/templates/shop/checkout.html b/prototype/src/main/resources/templates/shop/checkout.html index e69de29..4896277 100644 --- a/prototype/src/main/resources/templates/shop/checkout.html +++ b/prototype/src/main/resources/templates/shop/checkout.html @@ -0,0 +1,171 @@ + + + + + + e-commerce + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BildNamePreis (Brutto)Menge
Kamera100,50 € + + + +
Earbuds63,95 € + + + +
USB-Magic Light11,90 € + + + +
3D Magic Stativ15,99 € + + + +
Ersatzfernbedinung7,95 € + + + +
+
+
+
+
+

Checkout

+
+
+

Lieferadresse:

+ +
+
+

Zahlung:

+
+ +
+ +
+
+
+

Bestellübersicht

+ + + + + + + + + + + + + + + + + + + + + +
Artikel (Netto)200,29 €
Umsatzsteuer (19%)35,00 €
Umsatzsteuer (7%)2,50 €
Gesamt:240,79 €
+
+
+
+
+ + + +