Add barebones console option

This commit is contained in:
Kristóf Tóth
2018-05-25 13:33:37 +02:00
parent 58cc7d1889
commit 8fb0fc7cfc
7 changed files with 32 additions and 2 deletions

View File

@ -20,6 +20,8 @@ export class DashboardComponent implements OnInit, OnDestroy {
hide_messages: boolean = config.dashboard.hide_messages;
iframeUrl: string = config.dashboard.iframeUrl;
@ViewChild('webiframe') webiframe: ElementRef;
terminalOrConsole = config.dashboard.terminalOrConsole;
command_handlers = {'layout': this.layoutHandler.bind(this),
'reload_frontend': this.reloadFrontendHandlder.bind(this)};