diff --git a/src/framework_driver/ui/static/css/style.css b/src/framework_driver/ui/static/css/style.css
index ed01269..3498937 100644
--- a/src/framework_driver/ui/static/css/style.css
+++ b/src/framework_driver/ui/static/css/style.css
@@ -12,8 +12,54 @@ main {
padding: 1rem;
}
-button {
- padding: 0.5rem 1rem;
- margin-top: 1rem;
+.btn-primary {
+ display: inline-block;
+ padding: 10px 20px;
+ font-size: 16px;
+ color: #fff;
+ background-color: #007bff;
+ border: none;
+ border-radius: 4px;
+ text-align: center;
+ text-decoration: none;
cursor: pointer;
+}
+
+.btn-primary:hover {
+ background-color: #0056b3;
+}
+
+
+.product-list {
+ list-style-type: none;
+ padding: 0;
+ margin: 0;
+}
+
+.product-item {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 10px;
+ border-bottom: 1px solid #ddd;
+}
+
+/* Styling der Produktnamen, -mengen und -preise */
+.product-name {
+ font-weight: bold;
+}
+
+.product-quantity {
+ color: #555;
+}
+
+.product-price {
+ color: #555;
+}
+
+/* Styling für den Gesamtpreis */
+.total-price {
+ font-size: 18px;
+ font-weight: bold;
+ margin-top: 20px;
}
\ No newline at end of file
diff --git a/src/framework_driver/ui/templates/base.html b/src/framework_driver/ui/templates/base.html
index 310dab3..4d3d569 100644
--- a/src/framework_driver/ui/templates/base.html
+++ b/src/framework_driver/ui/templates/base.html
@@ -8,7 +8,7 @@
{% block content %}{% endblock %}
diff --git a/src/framework_driver/ui/templates/cart.html b/src/framework_driver/ui/templates/cart.html
index 87e1d0b..92d7c97 100644
--- a/src/framework_driver/ui/templates/cart.html
+++ b/src/framework_driver/ui/templates/cart.html
@@ -4,12 +4,18 @@
{% block content %}
Cart Items
-
+
+
{% for item in cart_items['items'] %}
- - Product ID: {{ item.product_id }} - Quantity: {{ item.quantity }} - Price: ${{ item.price }}
+ -
+
Product ID: {{ item.product_id }}
+ Quantity: {{ item.quantity }}
+ Price: {{ item.price }} €
+
{% endfor %}
-Total Price: ${{ cart_items.total_price }}
+
+Total Price: {{ cart_items.total_price }} €
Back to the prodcuts
diff --git a/src/framework_driver/ui/templates/products.html b/src/framework_driver/ui/templates/products.html
index 3f07482..f23f82a 100644
--- a/src/framework_driver/ui/templates/products.html
+++ b/src/framework_driver/ui/templates/products.html
@@ -4,9 +4,12 @@
{% block content %}
Product Items
-
+
{% for product in products %}
- - {{ product.name }} - ${{ product.price }}
+ -
+
{{ product.name }}
+ ${{ product.price }}
+
{% endfor %}