2023-12-30 14:28:54 +00:00
|
|
|
package ui
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
|
|
|
|
"git.jmbit.de/filegate/filegate/utils"
|
|
|
|
"git.jmbit.de/filegate/filegate/web/templates"
|
|
|
|
)
|
|
|
|
|
|
|
|
func getBrowser(c *gin.Context) {
|
2023-12-31 11:46:44 +00:00
|
|
|
id := c.Param("id")
|
2024-01-07 11:23:35 +00:00
|
|
|
c.HTML(
|
|
|
|
http.StatusOK,
|
|
|
|
"",
|
|
|
|
templates.Browser(utils.GenMetaContent(c), "Filegate Browser", id, nil),
|
|
|
|
)
|
2023-12-30 14:28:54 +00:00
|
|
|
}
|