Add header to status search page

This commit is contained in:
Eli Ribble 2026-02-03 23:12:59 +00:00
parent fa0ac035ac
commit 765e437d6c
No known key found for this signature in database
2 changed files with 6 additions and 0 deletions

View file

@ -31,6 +31,7 @@ type Contact struct {
Phone string
}
type ContentStatus struct {
District *ContentDistrict
Error string
MapboxToken string
ReportID string

View file

@ -16,6 +16,11 @@ document.addEventListener('DOMContentLoaded', function() {
</script>
{{end}}
{{define "content"}}
{{if (eq .District nil)}}
{{template "header-rmo" .}}
{{else}}
{{template "header-district" .District}}
{{end}}
<div class="container my-4">
<!-- Search Box -->
<div class="card search-box mb-4">