gui: add support for external dashboard

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2018-04-15 18:42:34 +02:00
parent c3f4f2148c
commit 4a7ec5d41d
3 changed files with 13 additions and 2 deletions

View File

@ -7,7 +7,12 @@ class ControllerHealthHealth extends Controller {
$this->id = "content";
$this->template = "health/health.tpl";
$this->layout = "common/layout";
if(EXTERNAL_DASHBOARD_URL) {
$this->layout = "common/layout-empty";
}
else {
$this->layout = "common/layout";
}
$this->load->model('health/health');