105 lines
3.1 KiB
HTML
105 lines
3.1 KiB
HTML
{{ template "rmo/base.html" . }}
|
|
|
|
{{ define "title" }}Main{{ end }}
|
|
{{ define "extraheader" }}
|
|
{{ end }}
|
|
{{ define "content" }}
|
|
<!-- Main Content -->
|
|
<main>
|
|
{{ if eq .District nil }}
|
|
<!-- Introduction Section -->
|
|
<section class="py-2 bg-primary text-white">
|
|
<div class="banner-container d-flex justify-content-center">
|
|
<img class="banner" src="/static/img/rmo/banner.jpg" />
|
|
</div>
|
|
</section>
|
|
{{ else }}
|
|
<!-- Introduction Section -->
|
|
<section class="py-5 bg-primary text-white">
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-10">
|
|
<h2 class="text-center mb-4">Report a Mosquito Problem</h2>
|
|
<p class="lead text-center">
|
|
Submit a report to help reduce mosquito activity in your
|
|
neighborhood.
|
|
</p>
|
|
<p class="lead text-center">
|
|
Report Mosquitoes Online works with local mosquito control
|
|
agencies to receive public reports.
|
|
</p>
|
|
{{ if not (eq .District nil) }}
|
|
<p class="lead text-center">
|
|
For this area, mosquito control services are provided by
|
|
</p>
|
|
<h3 class="text-center">{{ .District.Name }}</h3>
|
|
<img class="district-logo" src="{{ .District.URLLogo }}" />
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{ end }}
|
|
|
|
|
|
<!-- Services Section -->
|
|
<section class="py-5">
|
|
<div class="container">
|
|
<h3 class="text-center mb-4">How Can We Help You Today?</h3>
|
|
<div class="row g-4">
|
|
<div class="col-md-4">
|
|
<div class="card service-card h-100">
|
|
<div class="card-body text-center">
|
|
<div class="mb-3">
|
|
{{ template "mosquito-color.svg" }}
|
|
</div>
|
|
<h4 class="card-title">Report Mosquito Nuisance</h4>
|
|
<p class="card-text">
|
|
Report areas with high adult mosquito activity causing
|
|
discomfort or concern.
|
|
</p>
|
|
<a href="{{ .URL.Nuisance }}" class="btn btn-primary mt-3"
|
|
>Report Problem</a
|
|
>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="card service-card h-100">
|
|
<div class="card-body text-center">
|
|
<div class="mb-3">
|
|
{{ template "pond-color.svg" }}
|
|
</div>
|
|
<h4 class="card-title">Report Standing Water</h4>
|
|
<p class="card-text">
|
|
Report any water that has been sitting for several days, where
|
|
mosquitoes can live.
|
|
</p>
|
|
<a href="{{ .URL.Water }}" class="btn btn-primary mt-3"
|
|
>Report Source</a
|
|
>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="card service-card h-100">
|
|
<div class="card-body text-center">
|
|
<div class="mb-3">
|
|
{{ template "check-report-color.svg" }}
|
|
</div>
|
|
<h4 class="card-title">Follow-up or Check Status</h4>
|
|
<p class="card-text">
|
|
Check on a previous request or view current mosquito activity
|
|
in your area.
|
|
</p>
|
|
<a href="{{ .URL.Status }}" class="btn btn-primary mt-3"
|
|
>Get Status</a
|
|
>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
{{ end }}
|