Spaces:
Sleeping
Sleeping
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Order Summary</title> | |
<!-- Bootstrap CSS --> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | |
<style> | |
body { | |
font-family: 'Arial', sans-serif; | |
background-color: #f0f2f5; /* Light background */ | |
} | |
.order-container { | |
max-width: 768px; | |
margin: 40px auto; | |
padding: 20px; | |
background-color: #ffffff; /* Card background */ | |
border-radius: 15px; | |
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */ | |
} | |
.order-title { | |
font-size: 1.8rem; | |
font-weight: bold; | |
color: #007bff; /* Blue heading color */ | |
text-align: center; | |
margin-bottom: 20px; | |
} | |
.section-title { | |
font-size: 1.2rem; | |
font-weight: bold; | |
color: #333333; /* Dark text for titles */ | |
margin-bottom: 10px; | |
} | |
.order-item, .addon-item { | |
background-color: #f8f9fa; /* Light gray background for rows */ | |
padding: 10px 15px; | |
border-radius: 8px; | |
margin-bottom: 8px; | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
} | |
.order-summary { | |
margin-top: 20px; | |
font-size: 1.2rem; | |
font-weight: bold; | |
text-align: right; | |
color: #333333; /* Dark text */ | |
} | |
.total-price { | |
font-size: 1.5rem; | |
color: #28a745; /* Green for total price */ | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="order-container"> | |
<h2 class="order-title">Your Order Summary</h2> | |
<!-- Items Section --> | |
<div class="section"> | |
<h3 class="section-title">Items:</h3> | |
{% for item in order.Order_Items__c.split('\n') %} | |
<div class="order-item"> | |
<span>{{ item }}</span> | |
</div> | |
{% endfor %} | |
</div> | |
<!-- Add-Ons Section --> | |
<div class="section mt-4"> | |
<h3 class="section-title">Add-Ons:</h3> | |
{% for addon in order.Add_Ons__c.split('\n') %} | |
<div class="addon-item"> | |
<span>{{ addon }}</span> | |
</div> | |
{% endfor %} | |
</div> | |
<!-- Total Section --> | |
<div class="order-summary mt-4"> | |
<span>Total: </span> | |
<span class="total-price">${{ order.Total_Amount__c }}</span> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> | |