Documentation ¶
Index ¶
- Variables
- type SmallBox
- func (s SmallBox) GetContent() template.HTML
- func (s SmallBox) SetColor(value template.HTML) SmallBox
- func (s SmallBox) SetIcon(value template.HTML) SmallBox
- func (s SmallBox) SetTitle(value template.HTML) SmallBox
- func (s SmallBox) SetUrl(value string) SmallBox
- func (s SmallBox) SetValue(value template.HTML) SmallBox
Constants ¶
This section is empty.
Variables ¶
View Source
var List = map[string]string{
"smallbox": `{{define "smallbox"}}
<div class="small-box bg-{{.Color}}">
<div class="inner">
<h3>{{langHtml .Value}}</h3>
<p>{{langHtml .Title}}</p>
</div>
<div class="icon">
<i class="fa {{.Icon}}"></i>
</div>
<a href="{{.Url}}" class="small-box-footer">
{{lang "more"}}
<i class="fa fa-arrow-circle-right"></i>
</a>
</div>
{{end}}`,
}
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.