<?php

class monitoring extends Cf_Controller
{
    public function __construct()
    {
        parent::__construct();
        $this->load->model('host_model');
        setCurrentApplication('monitoring');
    }

    public function index()
    {
        $requiredjs = [
            ['dist/widgets.bundle.js', 'dist/widgets.bundle.js', false, false],
            ['widgets/astrolabe.js'],
            ['widgets/astrolabeLocation.js'],
        ];

        $data = [
            'title' => $this->lang->line('mission_portal_title') . ' - Measurements',
        ];

        $this->carabiner->js($requiredjs);
        $this->template->load('template', 'index', $data);
    }
}
