117 lines
3.1 KiB
HTML
117 lines
3.1 KiB
HTML
<!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 {
|
|
background-color: #0066cc;
|
|
color: white;
|
|
padding: 20px;
|
|
text-align: center;
|
|
border-radius: 5px 5px 0 0;
|
|
}
|
|
|
|
.content {
|
|
background-color: #f9f9f9;
|
|
padding: 20px;
|
|
border: 1px solid #ddd;
|
|
border-top: none;
|
|
}
|
|
|
|
.info-box {
|
|
background-color: white;
|
|
padding: 15px;
|
|
margin: 15px 0;
|
|
border-left: 4px solid #0066cc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.file-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.file-list li {
|
|
padding: 8px;
|
|
background-color: #f0f0f0;
|
|
margin: 5px 0;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.file-list li a {
|
|
color: #0066cc;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.file-list li a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
color: #666;
|
|
font-size: 12px;
|
|
margin-top: 20px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #ddd;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="header">
|
|
<h1>Quote Request Received</h1>
|
|
</div>
|
|
<div class="content">
|
|
<p>Thank you for your quote request! We have received your submission and will review it shortly.</p>
|
|
|
|
<div class="info-box">
|
|
<strong>Submission Details:</strong><br>
|
|
<strong>Submission ID:</strong> #{{ submission.id }}<br>
|
|
<strong>Submitted at:</strong> {{ submission.submitted_at|date:"F d, Y g:i A" }}
|
|
</div>
|
|
|
|
{% if submission.description %}
|
|
<div class="info-box">
|
|
<strong>Your Notes:</strong><br>
|
|
{{ submission.description|linebreaks }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if files %}
|
|
<div class="info-box">
|
|
<strong>Files You Uploaded ({{ files|length }}):</strong>
|
|
<ul class="file-list">
|
|
{% for file_url_data in file_urls %}
|
|
<li>
|
|
<a href="{{ file_url_data.url }}" target="_blank">{{ file_url_data.file.original_filename }}</a>
|
|
({{ file_url_data.file.file_size|filesizeformat }})
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<p>We will contact you at <strong>{{ submission.email }}</strong> regarding your quote request.</p>
|
|
|
|
<p><em>This submission will be kept on file until {{ submission.expiration_time|date:"F d, Y" }}.</em></p>
|
|
</div>
|
|
<div class="footer">
|
|
<p>Sedutto Machineworks</p>
|
|
<p>Thank you for your interest in our services!</p>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |