initial implementation of the dialog manager, with just enough smarts to render the login dialog

This commit is contained in:
2025-09-24 23:30:17 -06:00
parent ac3888f832
commit 201e549630
6 changed files with 224 additions and 3 deletions
+6 -2
View File
@@ -35,10 +35,14 @@ func setupEcho() *echo.Echo {
e.Use(LogrusMiddleware)
e.Use(session.Middleware(ui.SessionStore))
e.GET("/TODO/*", ui.AmWrap(NotImplPage))
fn := ui.AmWrap(NotImplPage)
e.GET("/TODO/*", fn)
e.POST("/TODO/*", fn)
e.GET("/img/*", ui.AmWrap(ui.AmServeImage))
e.GET("/about", ui.AmWrap(AboutPage))
e.GET("/", ui.AmWrap(TopPage))
e.GET("/about", ui.AmWrap(AboutPage))
e.GET("/login", ui.AmWrap(LoginForm))
return e
}