139 lines
4.2 KiB
HTML
139 lines
4.2 KiB
HTML
{{template "base.html" .}}
|
|
|
|
{{define "title"}}Status of report {{.Report.ID|publicReportID}}{{end}}
|
|
{{define "extraheader"}}
|
|
<style>
|
|
.timeline {
|
|
border-left: 3px solid #dee2e6;
|
|
padding-left: 20px;
|
|
margin-left: 10px;
|
|
}
|
|
.timeline-item {
|
|
position: relative;
|
|
margin-bottom: 25px;
|
|
}
|
|
.timeline-item:before {
|
|
content: '';
|
|
position: absolute;
|
|
left: -29px;
|
|
top: 0;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
background-color: #0d6efd;
|
|
}
|
|
.timeline-date {
|
|
font-size: 0.85rem;
|
|
color: #6c757d;
|
|
}
|
|
.map-container {
|
|
height: 300px;
|
|
}
|
|
@media (max-width: 768px) {
|
|
.map-container {
|
|
height: 200px;
|
|
}
|
|
}
|
|
.status-badge {
|
|
font-size: 1rem;
|
|
}
|
|
</style>
|
|
{{end}}
|
|
{{define "content"}}
|
|
<!-- Report ID and Status Section -->
|
|
<div class="card mb-4">
|
|
<div class="card-header bg-primary text-white d-flex justify-content-between align-items-center">
|
|
<h5 class="mb-0">Report {{.Report.ID|publicReportID}}</h5>
|
|
<span class="badge bg-warning text-dark status-badge">Scheduled</span>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-md-4 mb-3">
|
|
<strong><i class="fas fa-calendar-plus me-2"></i>Created:</strong>
|
|
<span>July 15, 2023 - 9:30 AM</span>
|
|
</div>
|
|
<div class="col-md-4 mb-3">
|
|
<strong><i class="fas fa-sync me-2"></i>Last Updated:</strong>
|
|
<span>July 17, 2023 - 2:45 PM</span>
|
|
</div>
|
|
<div class="col-md-4 mb-3">
|
|
<strong><i class="fas fa-hourglass-half me-2"></i>Next Step:</strong>
|
|
<span>July 19, 2023 (Estimated)</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Contact Information -->
|
|
<div class="row mb-4">
|
|
<div class="col-md-6 mb-3 mb-md-0">
|
|
<div class="card h-100">
|
|
<div class="card-header bg-secondary text-white">
|
|
<h5 class="mb-0"><i class="fas fa-user me-2"></i>Reporter Information</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<p><strong>Name:</strong> Jane Doe</p>
|
|
<p><strong>Phone:</strong> (555) 123-4567</p>
|
|
<p><strong>Address:</strong> 123 Main Street, Anytown, USA 12345</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="card h-100">
|
|
<div class="card-header bg-secondary text-white">
|
|
<h5 class="mb-0"><i class="fas fa-home me-2"></i>Nuisance Property Information</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<p><strong>Owner:</strong> John Smith</p>
|
|
<p><strong>Address:</strong> 456 Elm Street, Anytown, USA 12345</p>
|
|
<p><strong>Description:</strong> Standing water in abandoned pool</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Map Section -->
|
|
<div class="card mb-4">
|
|
<div class="card-header bg-info text-white">
|
|
<h5 class="mb-0"><i class="fas fa-map-marked-alt me-2"></i>Location Map</h5>
|
|
</div>
|
|
<div class="card-body p-0">
|
|
<div class="map-container">
|
|
<!-- Replace with actual map embed code -->
|
|
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3000!2d-122.4194!3d37.7749!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x0!2zMzfCsDQ2JzI5LjYiTiAxMjLCsDI1JzEwLjAiVw!5e0!3m2!1sen!2sus!4v1627309456789!5m2!1sen!2sus"
|
|
width="100%" height="100%" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- History Timeline -->
|
|
<div class="card">
|
|
<div class="card-header bg-success text-white">
|
|
<h5 class="mb-0"><i class="fas fa-history me-2"></i>Request History</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="timeline">
|
|
<div class="timeline-item">
|
|
<div class="timeline-date">July 17, 2023 - 2:45 PM</div>
|
|
<h5 class="mb-1">Scheduled for Treatment</h5>
|
|
<p class="mb-0">Site visit scheduled for July 19. Technician: Michael Johnson</p>
|
|
</div>
|
|
<div class="timeline-item">
|
|
<div class="timeline-date">July 16, 2023 - 10:30 AM</div>
|
|
<h5 class="mb-1">Assessment Complete</h5>
|
|
<p class="mb-0">Initial assessment completed. Property requires treatment for mosquito larvae.</p>
|
|
</div>
|
|
<div class="timeline-item">
|
|
<div class="timeline-date">July 15, 2023 - 1:15 PM</div>
|
|
<h5 class="mb-1">In Review</h5>
|
|
<p class="mb-0">Report assigned to field supervisor for initial assessment.</p>
|
|
</div>
|
|
<div class="timeline-item">
|
|
<div class="timeline-date">July 15, 2023 - 9:30 AM</div>
|
|
<h5 class="mb-1">Report Created</h5>
|
|
<p class="mb-0">New mosquito nuisance report submitted by Jane Doe.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|