mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-11-18 13:29:41 +00:00
4
frontend.dashboard
therealkrispet edited this page 2019-11-18 10:54:15 +01:00
- Description: Configures the dashboard component on the frontend.
- Subscribers: FrontendProxyHandler, DashboardConfigService
{
"key": "frontend.dashboard"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
| layout | string |
Default layout on challenge startup. See enabledLayouts for available options. | |
| hideMessages | boolean |
Hides bot messages when true. |
|
| iframeUrl | string |
The URL of the web service, make it empty when there is none. | |
| showUrlBar | boolean |
Displays an additional URL bar to manipulate the web service. | |
| terminalMenuItem | string |
Selected tab on the terminal component: "terminal" or "console". |
|
| enabledLayouts | array |
List of layouts on the right side of the page: terminal-ide-web, terminal-ide-vertical, terminal-web, ide-web-vertical, terminal-ide-horizontal, terminal-only, ide-only, web-only. |
Example:
{
"key": "frontend.dashboard",
"layout": "terminal-web",
"terminalMenuItem": "console"
}