Documentation
¶
Index ¶
- func BuildHtmlFormButton(b *ButtonForm) string
- type ButtonForm
- type TemplateModuleConfig
- type Theme
- func (Theme) FolderPath() string
- func (Theme) FunctionMessageName() string
- func (t Theme) MenuButtonTemplate(module_name, index, icon_id, title string) string
- func (Theme) MenuClassName() string
- func (Theme) MenuClassSelected() string
- func (Theme) MenuItemClass() string
- func (Theme) ModuleClassName() string
- func (t Theme) ModuleTemplate(c *TemplateModuleConfig) string
- func (t Theme) QuerySelectorMenuModule(module_name string) string
- func (Theme) QuerySelectorModule(module_name string) string
- func (Theme) QuerySelectorObject(module_name, object_name string) string
- func (Theme) QuerySelectorUserArea() string
- func (Theme) QuerySelectorUserName() string
- func (Theme) RouterJSFuncName() string
- func (Theme) SpriteIconTemplate(id, view_box string, paths ...string) string
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildHtmlFormButton ¶ added in v0.0.46
func BuildHtmlFormButton(b *ButtonForm) string
Types ¶
type ButtonForm ¶ added in v0.0.46
type TemplateModuleConfig ¶ added in v0.0.81
type TemplateModuleConfig struct {
RenderAllSpaceCentered bool // ej para login
Module module
// ej: `<div class="target-module">
// <select name="select">
// <option value="value1">Value 1</option>
// <option value="value2" selected>Value 2</option>
// </select>
// </div>`
HeaderInputTarget string
Form object
FormButtons []*ButtonForm
AsideList containerViewAdapter
}
type Theme ¶
type Theme struct{}
func (Theme) FolderPath ¶
func (Theme) FunctionMessageName ¶ added in v0.0.8
func (Theme) MenuButtonTemplate ¶
func (Theme) MenuClassName ¶ added in v0.0.4
func (Theme) MenuClassSelected ¶ added in v0.0.68
func (Theme) MenuItemClass ¶ added in v0.0.4
func (Theme) ModuleClassName ¶ added in v0.0.4
func (Theme) ModuleTemplate ¶ added in v0.0.4
func (t Theme) ModuleTemplate(c *TemplateModuleConfig) string
func (Theme) QuerySelectorMenuModule ¶ added in v0.0.42
func (Theme) QuerySelectorModule ¶ added in v0.0.42
func (Theme) QuerySelectorObject ¶ added in v0.0.31
func (Theme) QuerySelectorUserArea ¶ added in v0.0.50
func (Theme) QuerySelectorUserName ¶ added in v0.0.50
func (Theme) RouterJSFuncName ¶ added in v0.0.66
type User ¶ added in v0.0.81
type User struct {
Token string // token de sesión solicitante
Id string // id usuario
Ip string
Name string
Area string // valor de carácter ej: a,s,p... key "" sin area
AreaName string // nombre del area
AccessLevel string // aquí valor numérico 0 a 255
LastConnection string //time.Time
R any //r *http.Request.
W any //w http.ResponseWriter
}
Click to show internal directories.
Click to hide internal directories.