diff --git a/html/template/rmo/search.html b/html/template/rmo/search.html deleted file mode 100644 index 2122c076..00000000 --- a/html/template/rmo/search.html +++ /dev/null @@ -1,265 +0,0 @@ -{{ template "rmo/layout/base.html" . }} - -{{ define "title" }}Status{{ end }} -{{ define "extraheader" }} - - - - - - - - -{{ end }} -{{ define "content" }} -
- - - - -
-
-
Reports Map
-
-
- -
-
- - -
-
-
Reports Near You
- 15 Reports Found -
-
-
- -
-
-
- - -
- -
- - -
- -
-
-{{ end }} diff --git a/rmo/routes.go b/rmo/routes.go index c4ff2200..beaf1281 100644 --- a/rmo/routes.go +++ b/rmo/routes.go @@ -41,7 +41,6 @@ func Router() chi.Router { r.Post("/register-notifications", postRegisterNotifications) r.Get("/register-notifications-complete", getRegisterNotificationsComplete) r.Get("/report/suggest", getReportSuggestion) - r.Get("/search", getSearch) r.Get("/scss/*", getScssDebug) r.Get("/status", getStatus) r.Get("/status/{report_id}", getStatusByID) diff --git a/rmo/search.go b/rmo/search.go deleted file mode 100644 index c9c708d8..00000000 --- a/rmo/search.go +++ /dev/null @@ -1,24 +0,0 @@ -package rmo - -import ( - "net/http" - - "github.com/Gleipnir-Technology/nidus-sync/config" - "github.com/Gleipnir-Technology/nidus-sync/html" -) - -type ContentSearch struct { - MapboxToken string - URLTegola string -} - -func getSearch(w http.ResponseWriter, r *http.Request) { - html.RenderOrError( - w, - "rmo/search.html", - ContentSearch{ - MapboxToken: config.MapboxToken, - URLTegola: config.MakeURLTegola("/"), - }, - ) -}