Rename htmlpage to html
Because it's going to get more tools.
This commit is contained in:
parent
2bd848fa97
commit
9b1d75d47f
44 changed files with 83 additions and 77 deletions
|
|
@ -9,7 +9,7 @@ import (
|
|||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/db/models"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/htmlpage"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/html"
|
||||
"github.com/aarondl/opt/omit"
|
||||
"github.com/aarondl/opt/omitnull"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
|
@ -26,7 +26,7 @@ var (
|
|||
)
|
||||
|
||||
func getNuisance(w http.ResponseWriter, r *http.Request) {
|
||||
htmlpage.RenderOrError(
|
||||
html.RenderOrError(
|
||||
w,
|
||||
Nuisance,
|
||||
ContextNuisance{},
|
||||
|
|
@ -34,7 +34,7 @@ func getNuisance(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
func getNuisanceSubmitComplete(w http.ResponseWriter, r *http.Request) {
|
||||
report := r.URL.Query().Get("report")
|
||||
htmlpage.RenderOrError(
|
||||
html.RenderOrError(
|
||||
w,
|
||||
NuisanceSubmitComplete,
|
||||
ContextNuisanceSubmitComplete{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue