115 lines
3.0 KiB
HTML
115 lines
3.0 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>New Quote Request Submission</h1>
|
|
</div>
|
|
<div class="content">
|
|
<p>HUZZAHH! A new quote request has been submitted!</p>
|
|
|
|
<div class="info-box">
|
|
<strong>Submitted by:</strong> {{ submission.email }}<br>
|
|
<strong>Submitted at:</strong> {{ submission.submitted_at|date:"F d, Y g:i A" }}<br>
|
|
<strong>Submission ID:</strong> #{{ submission.id }}
|
|
</div>
|
|
|
|
{% if submission.description %}
|
|
<div class="info-box">
|
|
<strong>Description/Notes:</strong><br>
|
|
{{ submission.description|linebreaks }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if files %}
|
|
<div class="info-box">
|
|
<strong>Uploaded Files ({{ 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><strong>Note:</strong> This submission will expire on {{ submission.expiration_time|date:"F d, Y g:i A" }}.
|
|
(But who knows when joe will actually delete it)</p>
|
|
</div>
|
|
<div class="footer">
|
|
<p>Sedutto Machineworks - Joe is tottally awesome</p>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |