Add mock of report search page

This commit is contained in:
Eli Ribble 2026-01-09 21:31:45 +00:00
parent 4303534396
commit 75454834f4
No known key found for this signature in database
5 changed files with 296 additions and 82 deletions

View file

@ -40,98 +40,100 @@
</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 class="container my-4">
<!-- 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>
</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>
<!-- 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 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 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>
<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>
<!-- 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>
</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>
<!-- 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>