Remove pool submit complete
This commit is contained in:
parent
f3221ec315
commit
07e8de57de
3 changed files with 1 additions and 131 deletions
16
rmo/water.go
16
rmo/water.go
|
|
@ -24,13 +24,9 @@ type ContentPool struct {
|
|||
MapboxToken string
|
||||
URL ContentURL
|
||||
}
|
||||
type ContentPoolSubmitComplete struct {
|
||||
ReportID string
|
||||
}
|
||||
|
||||
var (
|
||||
PoolSubmitComplete = buildTemplate("pool-submit-complete", "base")
|
||||
WaterT = buildTemplate("water", "base")
|
||||
WaterT = buildTemplate("water", "base")
|
||||
)
|
||||
|
||||
func getWater(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
@ -60,16 +56,6 @@ func getWaterDistrict(w http.ResponseWriter, r *http.Request) {
|
|||
},
|
||||
)
|
||||
}
|
||||
func getPoolSubmitComplete(w http.ResponseWriter, r *http.Request) {
|
||||
report := r.URL.Query().Get("report")
|
||||
html.RenderOrError(
|
||||
w,
|
||||
PoolSubmitComplete,
|
||||
ContentPoolSubmitComplete{
|
||||
ReportID: report,
|
||||
},
|
||||
)
|
||||
}
|
||||
func postWater(w http.ResponseWriter, r *http.Request) {
|
||||
err := r.ParseMultipartForm(32 << 10) // 32 MB buffer
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue