Fold dispatch results into radar page
This commit is contained in:
parent
e5b6135e44
commit
c439c7c8a8
4 changed files with 312 additions and 490 deletions
|
|
@ -23,7 +23,6 @@ func Router() chi.Router {
|
|||
|
||||
// Mock endpoints
|
||||
r.Get("/mock", renderMockList)
|
||||
addMock(r, "/mock/dispatch-results", "sync/mock/dispatch-results.html")
|
||||
addMock(r, "/mock/report", "sync/mock/report.html")
|
||||
addMock(r, "/mock/report/{code}", "sync/mock/report-detail.html")
|
||||
addMock(r, "/mock/report/{code}/confirm", "sync/mock/report-confirmation.html")
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ import (
|
|||
type ContentURL struct {
|
||||
OAuthRefreshArcGIS string
|
||||
PoolCSVUpload string
|
||||
Root string
|
||||
Route string
|
||||
SamplePoolCSV string
|
||||
Setting string
|
||||
SettingIntegration string
|
||||
|
|
@ -22,6 +24,8 @@ func newContentURL() ContentURL {
|
|||
return ContentURL{
|
||||
OAuthRefreshArcGIS: config.MakeURLNidus("/arcgis/oauth/begin"),
|
||||
PoolCSVUpload: config.MakeURLNidus("/pool/upload"),
|
||||
Root: config.MakeURLNidus("/"),
|
||||
Route: config.MakeURLNidus("/route"),
|
||||
SamplePoolCSV: config.MakeURLNidus("/static/file/sample-pool.csv"),
|
||||
Setting: config.MakeURLNidus("/setting"),
|
||||
SettingIntegration: config.MakeURLNidus("/setting/integration"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue