adminlte

package
v0.9.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Path string

Path to adminlte app

Functions

func Register

func Register()

Register register the adminlte in io apps

Types

type App

type App struct{}

App adminlte app struct

func (App) Menus

func (App) Menus() []menu.Menu

Menus setup menus

func (App) Pack

func (App) Pack()

func (App) Permissions

func (App) Permissions() []evo.Permission

Permissions setup permissions of app

func (App) Register

func (App) Register()

Register the adminlte

func (App) Router

func (App) Router()

Router setup routers

func (App) WhenReady

func (App) WhenReady()

WhenReady called after setup all apps

type Settings

type Settings struct {
	NavbarColor      string `` /* 269-byte string literal not displayed */
	NavbarVariation  string `type:"select" col:"6" label:"Navbar Variation" hint:"Navbar could be dark or light" options:"dark:Dark,light:Light"`
	SidebarColor     string `` /* 267-byte string literal not displayed */
	SidebarVariation string `type:"select" col:"6" label:"Sidebar Variation" hint:"Sidebar could be dark or light" options:"dark:Dark,light:Light"`
	AccentColor      string `` /* 271-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (Settings) Get

func (settings Settings) Get(key string) interface{}

func (*Settings) OnUpdate

func (s *Settings) OnUpdate(r *evo.Request) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL