Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Button ¶
type Button struct { Section string Theme string Template string Class string Content string Link template.URL T *template.Template }
Button is a beubo component that can be rendered using HTML templates
func (Button) GetSection ¶
GetSection is a getter for the Section property
func (Button) GetTemplate ¶
GetTemplate is a getter for the T Property
func (Button) GetTemplateName ¶
GetTemplateName is a getter for the Template Property
type CheckBoxField ¶
type CheckBoxField struct { Theme string Template string Content string Class string Name string Identifier string Value string Checked bool T *template.Template }
CheckBoxField is a beubo component that can be rendered using HTML templates
func (CheckBoxField) GetSection ¶
func (cb CheckBoxField) GetSection() string
GetSection is a getter for the Section property
func (CheckBoxField) GetTemplate ¶
func (cb CheckBoxField) GetTemplate() *template.Template
GetTemplate is a getter for the T Property
func (CheckBoxField) GetTemplateName ¶
func (cb CheckBoxField) GetTemplateName() string
GetTemplateName is a getter for the Template Property
func (CheckBoxField) GetTheme ¶
func (cb CheckBoxField) GetTheme() string
GetTheme is a getter for the Theme Property
func (CheckBoxField) Render ¶
func (cb CheckBoxField) Render() string
Render calls RenderComponent to turn a Component into a html string for browser output
type Form ¶
type Form struct { Section string Fields []page.Component Theme string Template string T *template.Template Method string Action string }
Form is a beubo component that can be rendered using HTML templates
func (Form) GetSection ¶
GetSection is a getter for the Section property
func (Form) GetTemplate ¶
GetTemplate is a getter for the T Property
func (Form) GetTemplateName ¶
GetTemplateName is a getter for the Template Property
type HiddenField ¶
type HiddenField struct { Theme string Template string Identifier string Name string Value string T *template.Template }
HiddenField is a beubo component that can be rendered using HTML templates
func (HiddenField) GetSection ¶
func (hf HiddenField) GetSection() string
GetSection is a getter for the Section property
func (HiddenField) GetTemplate ¶
func (hf HiddenField) GetTemplate() *template.Template
GetTemplate is a getter for the T Property
func (HiddenField) GetTemplateName ¶
func (hf HiddenField) GetTemplateName() string
GetTemplateName is a getter for the Template Property
func (HiddenField) GetTheme ¶
func (hf HiddenField) GetTheme() string
GetTheme is a getter for the Theme Property
func (HiddenField) Render ¶
func (hf HiddenField) Render() string
Render calls RenderComponent to turn a Component into a html string for browser output
type RadioField ¶
type RadioField struct { Theme string Template string Class string Identifier string Name string Value string Content string Checked bool T *template.Template }
RadioField is a beubo component that can be rendered using HTML templates
func (RadioField) GetSection ¶
func (rf RadioField) GetSection() string
GetSection is a getter for the Section property
func (RadioField) GetTemplate ¶
func (rf RadioField) GetTemplate() *template.Template
GetTemplate is a getter for the T Property
func (RadioField) GetTemplateName ¶
func (rf RadioField) GetTemplateName() string
GetTemplateName is a getter for the Template Property
func (RadioField) GetTheme ¶
func (rf RadioField) GetTheme() string
GetTheme is a getter for the Theme Property
func (RadioField) Render ¶
func (rf RadioField) Render() string
Render calls RenderComponent to turn a Component into a html string for browser output
type Row ¶
type Row struct {
Columns []Column
}
Row represents a html table row which can have columns
type SelectField ¶
type SelectField struct { Theme string Template string Identifier string Class string Name string Options []SelectFieldOption T *template.Template }
SelectField is a beubo component that can be rendered using HTML templates
func (SelectField) GetSection ¶
func (sf SelectField) GetSection() string
GetSection is a getter for the Section property
func (SelectField) GetTemplate ¶
func (sf SelectField) GetTemplate() *template.Template
GetTemplate is a getter for the T Property
func (SelectField) GetTemplateName ¶
func (sf SelectField) GetTemplateName() string
GetTemplateName is a getter for the Template Property
func (SelectField) GetTheme ¶
func (sf SelectField) GetTheme() string
GetTheme is a getter for the Theme Property
func (SelectField) Render ¶
func (sf SelectField) Render() string
Render calls RenderComponent to turn a Component into a html string for browser output
type SelectFieldOption ¶
SelectFieldOption is part of the SelectField values, there should be one or more of these
type Table ¶
type Table struct { Section string Header []Column Rows []Row Theme string Template string PageNumber int // Current page PageDisplayCount int // How many rows per page T *template.Template }
Table is a beubo component that can be rendered using HTML templates
func (Table) GetSection ¶
GetSection is a getter for the Section property
func (Table) GetTemplate ¶
GetTemplate is a getter for the T Property
func (Table) GetTemplateName ¶
GetTemplateName is a getter for the Template Property
func (Table) Render ¶
Render calls RenderComponent to turn a Component into a html string for browser output
func (Table) RenderColumn ¶
RenderColumn calls RenderComponent to turn a Column into a html string which is added to the Table Render
type Text ¶
type Text struct { Section string Content template.HTML Theme string Template string Class string T *template.Template }
Text is a beubo component that can be rendered using HTML templates
func (Text) GetSection ¶
GetSection is a getter for the Section property
func (Text) GetTemplate ¶
GetTemplate is a getter for the T Property
func (Text) GetTemplateName ¶
GetTemplateName is a getter for the Template property
type TextAreaField ¶
type TextAreaField struct { Content string Theme string Template string Class string Identifier string Label string Name string Rows int Cols int T *template.Template }
TextAreaField is a beubo component that can be rendered using HTML templates
func (TextAreaField) GetSection ¶
func (t TextAreaField) GetSection() string
GetSection is a getter for the Section property
func (TextAreaField) GetTemplate ¶
func (t TextAreaField) GetTemplate() *template.Template
GetTemplate is a getter for the T Property
func (TextAreaField) GetTemplateName ¶
func (t TextAreaField) GetTemplateName() string
GetTemplateName is a getter for the Template property
func (TextAreaField) GetTheme ¶
func (t TextAreaField) GetTheme() string
GetTheme is a getter for the Theme property
func (TextAreaField) Render ¶
func (t TextAreaField) Render() string
Render calls RenderComponent to turn a Component into a html string for browser output
type TextField ¶
type TextField struct { Theme string Template string Class string Identifier string Label string Name string Value string Placeholder string T *template.Template }
TextField is a beubo component that can be rendered using HTML templates
func (TextField) GetSection ¶
GetSection is a getter for the Section property
func (TextField) GetTemplate ¶
GetTemplate is a getter for the T Property
func (TextField) GetTemplateName ¶
GetTemplateName is a getter for the Template property