Theming support
This commit is contained in:
parent
e86c96d78f
commit
58e0b2f081
99 changed files with 1839 additions and 1094 deletions
3
page.go
3
page.go
|
|
@ -15,6 +15,7 @@ type Page struct {
|
|||
LAYOUT string
|
||||
PAGE string
|
||||
MENU string
|
||||
CONFIG map[string]string
|
||||
Label string
|
||||
Icon string
|
||||
|
||||
|
|
@ -47,6 +48,8 @@ func (p *Page) Render(w http.ResponseWriter) {
|
|||
"LAYOUT": p.LAYOUT,
|
||||
"PAGE": p.PAGE,
|
||||
"MENU": p.MENU,
|
||||
"CONFIG": smonConfig.Settings,
|
||||
|
||||
"Label": p.Label,
|
||||
"Icon": p.Icon,
|
||||
"Data": p.Data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue