/*
* Copyright (C) 2023 Jonni Liljamo <jonni@liljamo.com>
*
* This file is licensed under AGPL-3.0-or-later, see NOTICE and LICENSE for
* more information.
*/
package handlers
import (
"net/http"
"git.src.quest/~skye/felu-ddns/components"
"github.com/gin-gonic/gin"
)
func ManageAdmin() gin.HandlerFunc {
return func(c *gin.Context) {
c.HTML(http.StatusOK, "", components.ManageAdmin())
}
}
func ManageAdminUsers() gin.HandlerFunc {
return func(c *gin.Context) {
c.HTML(http.StatusOK, "", components.ManageAdminUsers())
}
}
func ManageAdminDomains() gin.HandlerFunc {
return func(c *gin.Context) {
c.HTML(http.StatusOK, "", components.ManageAdminDomains())
}
}