Improve page style

This commit is contained in:
Ettore Di Giacinto
2025-03-03 23:32:06 +01:00
parent d714c4f80b
commit 5dd4b9cb65
4 changed files with 598 additions and 249 deletions

View File

@@ -29,7 +29,9 @@ func (app *App) registerRoutes(pool *state.AgentPool, webapp *fiber.App) {
webapp.Get("/", func(c *fiber.Ctx) error {
return c.Render("views/index", fiber.Map{
"Agents": pool.List(),
"Agents": pool.List(),
"AgentCount": len(pool.List()),
"Actions": len(services.AvailableActions),
})
})