landed "manage communities" list on sidebox

This commit is contained in:
2026-02-15 23:08:22 -07:00
parent 95103d68a2
commit 08b0fa6185
8 changed files with 123 additions and 25 deletions
+3 -1
View File
@@ -75,6 +75,7 @@ func setupEcho() *echo.Echo {
e.GET("/sysadmin", ui.AmWrap(SysAdminMenu))
e.GET("/create_comm", ui.AmWrap(CreateCommunityForm))
e.POST("/create_comm", ui.AmWrap(CreateCommunity))
e.GET("/manage_comm", ui.AmWrap(ManageCommunities))
e.POST("/attachment_upload", ui.AmWrap(AttachmentUpload))
e.GET("/attachment/:post", ui.AmWrap(AttachmentSend))
e.POST("/__invite_send", ui.AmWrap(InviteSend))
@@ -86,7 +87,8 @@ func setupEcho() *echo.Echo {
commGroup.GET("/profile", fn)
commGroup.GET("/join", ui.AmWrap(JoinCommunity))
commGroup.POST("/join", ui.AmWrap(JoinCommunityWithKey))
commGroup.GET("/unjoin", ui.AmWrap(UnjoinCommunity))
commGroup.GET("/unjoin", ui.AmWrap(UnjoinCommunity("prof")))
commGroup.GET("/unj", ui.AmWrap(UnjoinCommunity("manage")))
commGroup.POST("/unjoin", ui.AmWrap(UnjoinCommunityConfirm))
commGroup.GET("/members", ui.AmWrap(MemberList))
commGroup.POST("/members", ui.AmWrap(MemberSearch))