| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
S3Dashboard
Class to build and manage dashboards
def my_controller():
config = {
# The default layout for the dashboard
"layout": "...",
# Available widgets
"widgets": {...},
# Default Widget Configurations
"default": [...],
# Allow the user to configure this dashboard
"configurable": True,
}
dashboard = S3Dashboard(config)
return dashboard()
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Static Methods | |||
|
|||
| Class Variables | |
layouts = {"boxes":("Boxes", S3DashboardBoxesLayout), "columns
|
|
| Properties | |
|
Inherited from |
| Method Details |
Initializes the dashboard
|
Lazy property to load the current configuration from the database
|
Lazy property to instantiate the dashboard agents
|
Dispatch requests - this method is called by the controller.
|
Build the dashboard and all its contents
|
Execute a dashboard global command
To Do: implement global commands |
Get the active layout
|
Inject the JS to instantiate the client-side widget controller
|
| Class Variable Details |
layouts
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Mar 15 08:51:49 2019 | http://epydoc.sourceforge.net |