refactor: Remove log generator functionality and update UI components

- Eliminated the log generator feature from the admin logs template and related handlers.
- Updated icons in the log viewer for consistency and improved visual clarity.
- Adjusted mobile dropdown functionality in the layout template for better user experience.
- Cleaned up debug logging statements in the WebSocket handler for recent logs.
This commit is contained in:
StarFleetCPTN
2025-04-10 20:57:07 -07:00
parent 2221e6a29c
commit ca54b450de
5 changed files with 35 additions and 71 deletions
+3 -2
View File
@@ -132,9 +132,11 @@ func (h *Handlers) RegisterRoutes(router *gin.Engine) {
{
adminRoles.GET("", h.HandleRoles)
adminRoles.GET("/new", h.HandleNewRole)
adminRoles.GET("/:id", h.HandleEditRole)
adminRoles.GET("/:id/edit", h.HandleRoles)
adminRoles.POST("", h.HandleCreateRole)
adminRoles.PUT("/:id", h.HandleEditRole)
adminRoles.POST("/:id", h.HandleUpdateRole)
adminRoles.PUT("/:id", h.HandleUpdateRole)
adminRoles.DELETE("/:id", h.HandleDeleteRole)
}
@@ -152,7 +154,6 @@ func (h *Handlers) RegisterRoutes(router *gin.Engine) {
{
logsGroup.GET("", h.HandleLogViewer)
logsGroup.GET("/ws", h.HandleLogStream)
logsGroup.POST("/start-generator", h.HandleStartLogGenerator)
}
// System settings routes