Versions in this module Expand all Collapse all v1 v1.0.1 Jul 22, 2017 Changes in this version + const ErrorsDir + const ModeratorDir + const SiteDir + const TemplateDir + var View = jet.NewHTMLSet("./templates") + func Commonvariables(c *gin.Context) jet.VarMap + func DatabaseDump(c *gin.Context, listDumps []models.DatabaseDumpJSON, GPGLink string) + func Form(c *gin.Context, templateName string, form interface{}) + func HttpError(c *gin.Context, errorCode int) + func ModelList(c *gin.Context, templateName string, models interface{}, nav Navigation, ...) + func NewPanelCommonvariables(c *gin.Context) jet.VarMap + func PanelAdmin(c *gin.Context, torrent []models.Torrent, reports []models.TorrentReportJSON, ...) + func Render(c *gin.Context, templateName string, variables jet.VarMap) + func Static(c *gin.Context, templateName string) + func Torrent(c *gin.Context, torrent models.TorrentJSON, ...) + func UserProfile(c *gin.Context, userProfile *models.User) + func UserProfileEdit(c *gin.Context, userProfile *models.User, userForm userValidator.UserForm, ...) + func UserProfileNotifications(c *gin.Context, userProfile *models.User) + type LanguagesJSONResponse struct + Current string + Languages publicSettings.Languages + type Navigation struct + CurrentPage int + MaxItemPerPage int + Route string + TotalItem int + func NewNavigation() Navigation + type SearchForm struct + Category string + DateType string + FromDate string + MaxSize string + MinSize string + ShowItemsPerPage bool + ShowRefine bool + SizeType string + ToDate string + func NewPanelSearchForm(c *gin.Context) SearchForm + func NewSearchForm(c *gin.Context) SearchForm