diff --git a/html.go b/html.go index 35db1201..a3b9219b 100644 --- a/html.go +++ b/html.go @@ -62,6 +62,12 @@ var ( serviceRequestQuick = newBuiltTemplate("service-request-quick", "base") serviceRequestQuickConfirmation = newBuiltTemplate("service-request-quick-confirmation", "base") serviceRequestUpdates = newBuiltTemplate("service-request-updates", "base") + settingRoot = newBuiltTemplate("setting-mock", "base") + settingIntegration = newBuiltTemplate("setting-integration", "base") + settingPesticide = newBuiltTemplate("setting-pesticide", "base") + settingPesticideAdd = newBuiltTemplate("setting-pesticide-add", "base") + settingUsers = newBuiltTemplate("setting-user", "base") + settingUsersAdd = newBuiltTemplate("setting-user-add", "base") signin = newBuiltTemplate("signin", "base") signup = newBuiltTemplate("signup", "base") ) @@ -103,15 +109,21 @@ type ContentCell struct { User User } type ContentMockURLs struct { - Dispatch string - DispatchResults string - ReportConfirmation string - ReportDetail string - ReportContribute string - ReportEvidence string - ReportSchedule string - ReportUpdate string - Root string + Dispatch string + DispatchResults string + ReportConfirmation string + ReportDetail string + ReportContribute string + ReportEvidence string + ReportSchedule string + ReportUpdate string + Root string + Setting string + SettingIntegration string + SettingPesticide string + SettingPesticideAdd string + SettingUser string + SettingUserAdd string } type ContentMock struct { DistrictName string @@ -358,15 +370,21 @@ func htmlMock(t string, w http.ResponseWriter, code string) { data := ContentMock{ DistrictName: "Delta MVCD", URLs: ContentMockURLs{ - Dispatch: "/mock/dispatch", - DispatchResults: "/mock/dispatch-results", - ReportConfirmation: fmt.Sprintf("/mock/report/%s/confirm", code), - ReportDetail: fmt.Sprintf("/mock/report/%s", code), - ReportContribute: fmt.Sprintf("/mock/report/%s/contribute", code), - ReportEvidence: fmt.Sprintf("/mock/report/%s/evidence", code), - ReportSchedule: fmt.Sprintf("/mock/report/%s/schedule", code), - ReportUpdate: fmt.Sprintf("/mock/report/%s/update", code), - Root: "/mock", + Dispatch: "/mock/dispatch", + DispatchResults: "/mock/dispatch-results", + ReportConfirmation: fmt.Sprintf("/mock/report/%s/confirm", code), + ReportDetail: fmt.Sprintf("/mock/report/%s", code), + ReportContribute: fmt.Sprintf("/mock/report/%s/contribute", code), + ReportEvidence: fmt.Sprintf("/mock/report/%s/evidence", code), + ReportSchedule: fmt.Sprintf("/mock/report/%s/schedule", code), + ReportUpdate: fmt.Sprintf("/mock/report/%s/update", code), + Root: "/mock", + Setting: "/mock/setting", + SettingIntegration: "/mock/setting/integration", + SettingPesticide: "/mock/setting/pesticide", + SettingPesticideAdd: "/mock/setting/pesticide/add", + SettingUser: "/mock/setting/user", + SettingUserAdd: "/mock/setting/user/add", }, } template, ok := templatesByFilename[t] diff --git a/main.go b/main.go index 42a7a923..81efd47e 100644 --- a/main.go +++ b/main.go @@ -117,6 +117,12 @@ func main() { r.Get("/mock/service-request-quick", renderMock("service-request-quick")) r.Get("/mock/service-request-quick-confirmation", renderMock("service-request-quick-confirmation")) r.Get("/mock/service-request-updates", renderMock("service-request-updates")) + r.Get("/mock/setting", renderMock("setting-mock")) + r.Get("/mock/setting/integration", renderMock("setting-integration")) + r.Get("/mock/setting/pesticide", renderMock("setting-pesticide")) + r.Get("/mock/setting/pesticide/add", renderMock("setting-pesticide-add")) + r.Get("/mock/setting/user", renderMock("setting-user")) + r.Get("/mock/setting/user/add", renderMock("setting-user-add")) r.Get("/oauth/refresh", getOAuthRefresh) diff --git a/templates/mock-root.html b/templates/mock-root.html index 47d50d2a..fcda80dd 100644 --- a/templates/mock-root.html +++ b/templates/mock-root.html @@ -45,6 +45,11 @@
| OAuth Token Status | ++ + Active + + | +
| Token Expiration | +26 days remaining (Expires on Dec 31, 2025) | +
| Integration Method | +Web Hooks | +
| Permission Level | +Read & Write | +
| API Token | ++ vs_9f72b5e3******************************c11d + | +
| Last Synchronization | +December 5, 2025 at 08:34 AM (2 days ago) | +
| Synchronization Status | ++ + Active (Scheduled daily at 2:00 AM) + + | +
| Username | +mosquito_district21 | +
| Password | +•••••••••••• | +
| Last Synchronization | +December 6, 2025 at 11:15 PM (Yesterday) | +
| Synchronization Status | ++ + Inactive (Manual sync only) + + | +
Configure your organization's preferences and integrations
+Manage staff accounts, roles, and permissions for your organization.
+Configure products, application rates, and field recommendations.
+Configure connections with FieldSeeker, VectorSurv, and other services.
+Manage your field equipment inventory, calibration, and maintenance.
+Configure email alerts, SMS notifications, and reporting preferences.
+Configure organization details, branding, and system preferences.
++ + All changes made in settings are logged for audit purposes +
+Biological larvicide granules combining Bacillus thuringiensis subspecies israelensis and Bacillus sphaericus for extended residual control of mosquito larvae.
+Apply evenly across water surface. Use higher rate when L4 present or when organic load is high. Avoid application in ponds with fish unless approved by a supervisor.
+| Product | +Formulation | +Targets | +Residual (days) | +Low Rate | +Max Rate | +Pools | +Info | +Actions | +
|---|---|---|---|---|---|---|---|---|
| BVA Oil | +Liquid | ++ + + + + + | +1 | +0.5 gal/acre | +5 gal/acre | +Recommended | ++ + + + | ++ + + | +
| VectoMax FG | +Granule | ++ + + + + + | +30 | +5 lbs/acre | +20 lbs/acre | +Recommended | ++ + + + | ++ + + | +
| Censor | +Liquid | ++ + + + + + | +21 | +0.75 gal/acre | +2.5 gal/acre | +Allowed | ++ + + + | ++ + + | +
| AquaBac XT | +Liquid | ++ + + + + + | +14 | +0.25 gal/acre | +2 gal/acre | +Prohibited | ++ + + + | ++ + + | +
| Natular G30 | +Granule | ++ + + + + + | +30 | +5 lbs/acre | +12 lbs/acre | +Discouraged | ++ + + + | ++ + + | +
| Full Name | +Email Address | +Username | +Role | +Serve Warrants | +Status | +Last Login | +Actions | +
|---|---|---|---|---|---|---|---|
| John Doe | +john.doe@example.com | +johndoe | ++ + | +
+
+
+
+ |
+ Active | +2023-06-15 09:45 AM | ++ + | +
| Jane Smith | +jane.smith@example.com | +janesmith | ++ + | +
+
+
+
+ |
+ Active | +2023-06-17 14:20 PM | ++ + | +
| Robert Johnson | +robert.j@example.com | +robertj | ++ + | +
+
+
+
+ |
+ Deactivated | +2023-06-10 11:30 AM | ++ + | +
| Emily Wilson | +emily.w@example.com | +emilyw | ++ + | +
+
+
+
+ |
+ Invited | +Never | ++ + | +