mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-22 15:53:45 +00:00
16 lines
341 B
Go
16 lines
341 B
Go
|
package handlers
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
|
||
|
"code.tjo.space/mentos1386/zdravko/web/templates/components"
|
||
|
"github.com/labstack/echo/v4"
|
||
|
)
|
||
|
|
||
|
func (h *BaseHandler) Incidents(c echo.Context) error {
|
||
|
return c.Render(http.StatusOK, "incidents.tmpl", &components.Base{
|
||
|
NavbarActive: GetPageByTitle(Pages, "Incidents"),
|
||
|
Navbar: Pages,
|
||
|
})
|
||
|
}
|