ExTeal.Application.Configuration behaviour (ExTeal v0.21.0) View Source
Defines a behavior for configuring the main teal application.
It relies on (and uses):
Link to this section Summary
Callbacks
Returns the name of the teal application that is used in the html titles of all pages.
Returns an array of dashboards
Returns the json configuration required for the vue app.
Returns the path to the logo that is used in the admin panel.
Define the order in which groups are shown in the sidebar. By default only the
general 'Resources' group is used, but by overriding the nav_groups/1
function in the manifest,
you can define the order of the groups.
Returns the base path that the teal app is located.
Link to this section Callbacks
Specs
application_name() :: String.t()
Returns the name of the teal application that is used in the html titles of all pages.
Specs
dashboards() :: [module()]
Returns an array of dashboards
Specs
json_configuration(Plug.Conn.t()) :: map()
Returns the json configuration required for the vue app.
Specs
logo_image_path() :: String.t()
Returns the path to the logo that is used in the admin panel.
Specs
path() :: String.t()
Returns the base path that the teal app is located.
Link to this section Functions
Specs
parse_json(Plug.Conn.t()) :: map()