336 lines
9.9 KiB
HTML
336 lines
9.9 KiB
HTML
<<<<<<< HEAD
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
.logo {
|
|
max-width: 200px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.shipping-info {
|
|
background: #f8f9fa;
|
|
padding: 20px;
|
|
border-radius: 5px;
|
|
margin-bottom: 30px;
|
|
}
|
|
.tracking-box {
|
|
background: #e9ecef;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
margin: 20px 0;
|
|
}
|
|
.tracking-number {
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
color: #0d6efd;
|
|
padding: 10px;
|
|
background: white;
|
|
border-radius: 3px;
|
|
display: inline-block;
|
|
margin: 10px 0;
|
|
}
|
|
.product-list {
|
|
margin-top: 20px;
|
|
}
|
|
.product {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid #dee2e6;
|
|
}
|
|
.product:last-child {
|
|
border-bottom: none;
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
.product-image {
|
|
width: 50px;
|
|
height: 50px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
margin-right: 15px;
|
|
}
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 3px 8px;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
color: white;
|
|
}
|
|
.badge-fursuit {
|
|
background-color: #0d6efd;
|
|
}
|
|
.badge-printed {
|
|
background-color: #198754;
|
|
}
|
|
.button {
|
|
display: inline-block;
|
|
padding: 10px 20px;
|
|
background-color: #0d6efd;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
margin-top: 20px;
|
|
}
|
|
.footer {
|
|
margin-top: 40px;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: #6c757d;
|
|
}
|
|
.shipping-icon {
|
|
font-size: 48px;
|
|
color: #198754;
|
|
margin-bottom: 20px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<img src="{{ logo_url }}" alt="Fursuit Shop" class="logo">
|
|
<div class="shipping-icon">📦</div>
|
|
<h1>{% trans "Your Order Has Been Shipped!" %}</h1>
|
|
<p>{% trans "Great news! Your order has been shipped and is on its way to you." %}</p>
|
|
</div>
|
|
|
|
<div class="shipping-info">
|
|
<h2>{% trans "Order" %} #{{ order.id }}</h2>
|
|
|
|
<div class="tracking-box">
|
|
<h3>{% trans "Tracking Information" %}</h3>
|
|
<div class="tracking-number">
|
|
{{ order.tracking_number }}
|
|
</div>
|
|
<p class="text-muted">
|
|
{% trans "Use this number to track your shipment" %}
|
|
</p>
|
|
</div>
|
|
|
|
<h3>{% trans "Shipping Address" %}</h3>
|
|
<p>
|
|
{{ order.shipping_address.first_name }} {{ order.shipping_address.last_name }}<br>
|
|
{{ order.shipping_address.address }}<br>
|
|
{{ order.shipping_address.zip }} {{ order.shipping_address.city }}<br>
|
|
{{ order.shipping_address.get_country_display }}
|
|
</p>
|
|
|
|
<div class="product-list">
|
|
<h3>{% trans "Shipped Items" %}</h3>
|
|
{% for product in order.products.all %}
|
|
<div class="product">
|
|
{% if product.image %}
|
|
<img src="{{ product.image.url }}" alt="{{ product.name }}" class="product-image">
|
|
{% endif %}
|
|
<div>
|
|
<h4 style="margin: 0;">{{ product.name }}</h4>
|
|
{% if product.product_type == 'fursuit' %}
|
|
<span class="badge badge-fursuit">{% trans "Fursuit" %}</span>
|
|
{% else %}
|
|
<span class="badge badge-printed">{% trans "Printed Item" %}</span>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
|
|
<div style="text-align: center;">
|
|
<a href="{{ order_url }}" class="button">
|
|
{% trans "Track Your Shipment" %}
|
|
</a>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>
|
|
{% trans "If you have any questions about your shipment, please contact our support team." %}<br>
|
|
<a href="mailto:support@fursuitshop.com">support@fursuitshop.com</a>
|
|
</p>
|
|
<p>
|
|
© {% now "Y" %} Fursuit Shop. {% trans "All rights reserved." %}
|
|
</p>
|
|
</div>
|
|
</body>
|
|
=======
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
.logo {
|
|
max-width: 200px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.shipping-info {
|
|
background: #f8f9fa;
|
|
padding: 20px;
|
|
border-radius: 5px;
|
|
margin-bottom: 30px;
|
|
}
|
|
.tracking-box {
|
|
background: #e9ecef;
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
margin: 20px 0;
|
|
}
|
|
.tracking-number {
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
color: #0d6efd;
|
|
padding: 10px;
|
|
background: white;
|
|
border-radius: 3px;
|
|
display: inline-block;
|
|
margin: 10px 0;
|
|
}
|
|
.product-list {
|
|
margin-top: 20px;
|
|
}
|
|
.product {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid #dee2e6;
|
|
}
|
|
.product:last-child {
|
|
border-bottom: none;
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
.product-image {
|
|
width: 50px;
|
|
height: 50px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
margin-right: 15px;
|
|
}
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 3px 8px;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
color: white;
|
|
}
|
|
.badge-fursuit {
|
|
background-color: #0d6efd;
|
|
}
|
|
.badge-printed {
|
|
background-color: #198754;
|
|
}
|
|
.button {
|
|
display: inline-block;
|
|
padding: 10px 20px;
|
|
background-color: #0d6efd;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
margin-top: 20px;
|
|
}
|
|
.footer {
|
|
margin-top: 40px;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: #6c757d;
|
|
}
|
|
.shipping-icon {
|
|
font-size: 48px;
|
|
color: #198754;
|
|
margin-bottom: 20px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<img src="{{ logo_url }}" alt="Fursuit Shop" class="logo">
|
|
<div class="shipping-icon">📦</div>
|
|
<h1>{% trans "Your Order Has Been Shipped!" %}</h1>
|
|
<p>{% trans "Great news! Your order has been shipped and is on its way to you." %}</p>
|
|
</div>
|
|
|
|
<div class="shipping-info">
|
|
<h2>{% trans "Order" %} #{{ order.id }}</h2>
|
|
|
|
<div class="tracking-box">
|
|
<h3>{% trans "Tracking Information" %}</h3>
|
|
<div class="tracking-number">
|
|
{{ order.tracking_number }}
|
|
</div>
|
|
<p class="text-muted">
|
|
{% trans "Use this number to track your shipment" %}
|
|
</p>
|
|
</div>
|
|
|
|
<h3>{% trans "Shipping Address" %}</h3>
|
|
<p>
|
|
{{ order.shipping_address.first_name }} {{ order.shipping_address.last_name }}<br>
|
|
{{ order.shipping_address.address }}<br>
|
|
{{ order.shipping_address.zip }} {{ order.shipping_address.city }}<br>
|
|
{{ order.shipping_address.get_country_display }}
|
|
</p>
|
|
|
|
<div class="product-list">
|
|
<h3>{% trans "Shipped Items" %}</h3>
|
|
{% for product in order.products.all %}
|
|
<div class="product">
|
|
{% if product.image %}
|
|
<img src="{{ product.image.url }}" alt="{{ product.name }}" class="product-image">
|
|
{% endif %}
|
|
<div>
|
|
<h4 style="margin: 0;">{{ product.name }}</h4>
|
|
{% if product.product_type == 'fursuit' %}
|
|
<span class="badge badge-fursuit">{% trans "Fursuit" %}</span>
|
|
{% else %}
|
|
<span class="badge badge-printed">{% trans "Printed Item" %}</span>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
|
|
<div style="text-align: center;">
|
|
<a href="{{ order_url }}" class="button">
|
|
{% trans "Track Your Shipment" %}
|
|
</a>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>
|
|
{% trans "If you have any questions about your shipment, please contact our support team." %}<br>
|
|
<a href="mailto:support@fursuitshop.com">support@fursuitshop.com</a>
|
|
</p>
|
|
<p>
|
|
© {% now "Y" %} Fursuit Shop. {% trans "All rights reserved." %}
|
|
</p>
|
|
</div>
|
|
</body>
|
|
>>>>>>> 5b9b867963eca600ed64b617dc2dc86c30dbd9cb
|
|
</html> |