avances en plantillas
This commit is contained in:
parent
0f84beacf1
commit
da0530d79b
2062 changed files with 598814 additions and 22 deletions
45
controllers/tablerdata.go
Normal file
45
controllers/tablerdata.go
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
package controllers
|
||||
|
||||
// SampleNavbarMenu returns the sample menu data for the navbar
|
||||
// Migrated from liquid/data/menu.json (layout, dashboards, help sections)
|
||||
func SampleNavbarMenu() TablerMenu {
|
||||
return TablerMenu{
|
||||
"dashboards": {
|
||||
Title: "Dashboards",
|
||||
Icon: "home",
|
||||
Children: []*TablerMenuItem{
|
||||
{Title: "Default", URL: "index.html"},
|
||||
{Title: "Crypto", URL: "dashboard-crypto.html"},
|
||||
},
|
||||
},
|
||||
"layout": {
|
||||
Title: "Layout",
|
||||
Icon: "layout-2",
|
||||
Columns: 2,
|
||||
Children: []*TablerMenuItem{
|
||||
{Title: "Boxed", URL: "layout-boxed.html"},
|
||||
{Title: "Combined", URL: "layout-combo.html"},
|
||||
{Title: "Condensed", URL: "layout-condensed.html"},
|
||||
{Title: "Fluid", URL: "layout-fluid.html"},
|
||||
{Title: "Fluid vertical", URL: "layout-fluid-vertical.html"},
|
||||
{Title: "Horizontal", URL: "layout-horizontal.html"},
|
||||
{Title: "Navbar dark", URL: "layout-navbar-dark.html"},
|
||||
{Title: "Navbar overlap", URL: "layout-navbar-overlap.html"},
|
||||
{Title: "Navbar sticky", URL: "layout-navbar-sticky.html"},
|
||||
{Title: "Right vertical", URL: "layout-vertical-right.html"},
|
||||
{Title: "Vertical", URL: "layout-vertical.html"},
|
||||
{Title: "Vertical transparent", URL: "layout-vertical-transparent.html"},
|
||||
},
|
||||
},
|
||||
"help": {
|
||||
Title: "Help",
|
||||
Icon: "lifebuoy",
|
||||
Children: []*TablerMenuItem{
|
||||
{Title: "Documentation", URL: "https://tabler.io/docs"},
|
||||
{Title: "Changelog", URL: "changelog.html"},
|
||||
{Title: "Source code", URL: "https://github.com/tabler/tabler"},
|
||||
{Title: "Sponsor project!", URL: "https://github.com/sponsors/codecalm", Color: "pink", Icon: "heart"},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue