Add inspections to cell page
This commit is contained in:
parent
7b13b4b1ad
commit
aab9bd0c44
2 changed files with 57 additions and 16 deletions
|
|
@ -118,31 +118,28 @@
|
|||
<table class="table table-striped table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Approximate Address</th>
|
||||
<th>Inspection Date</th>
|
||||
<th>Technician Comments</th>
|
||||
<th>LocationID</th>
|
||||
<th>Location</th>
|
||||
<th>Date</th>
|
||||
<th>Action</th>
|
||||
<th>Notes</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ range .Inspections }}
|
||||
<tr>
|
||||
<td>123 Main St</td>
|
||||
<td>04/15/2023</td>
|
||||
<td>Found larvae in standing water near gutter downspout.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>125 Main St</td>
|
||||
<td>04/15/2023</td>
|
||||
<td>Catch basin had moderate larvae activity.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>130 Main St</td>
|
||||
<td>04/14/2023</td>
|
||||
<td>Drainage ditch showing signs of mosquito breeding.</td>
|
||||
<td>{{.LocationID|uuidShort}}</td>
|
||||
<td>{{.Location}}</td>
|
||||
<td>{{.Date|timeSince}}</td>
|
||||
<td>{{.Action}}</td>
|
||||
<td>{{.Notes}}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<nav aria-label="Inspections pagination">
|
||||
<ul class="pagination justify-content-center">
|
||||
<li class="page-item disabled">
|
||||
|
|
@ -156,6 +153,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue