<?php

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


    function index()
    {
          $requiredjs = array(
            array('node_modules/jquery.flot/jquery.flot.js'),
            array('node_modules/jquery.flot/jquery.flot.stack.js'),
            array('node_modules/jquery.flot/jquery.flot.resize.js'),
            array('node_modules/jquery.flot/jquery.flot.fillbetween.js'),
            array('widgets/astrolabe.js'),
            array('widgets/astrolabeLocation.js'),
            array('widgets/combobox.js'),

            array('widgets/classfinder.js'),

            array('widgets/vitalsigns.js'),
            array('node_modules/jquery-appear-original/index.js'),

            array('node_modules/bootstrap-multiselect/dist/js/bootstrap-multiselect.min.js'),
            array('node_modules/clipboard/dist/clipboard.min.js')
        );

        $data = array(
            'title' => $this->lang->line('mission_portal_title') . " - Measurements"
        );


        $jsIE = array('node_modules/jquery.flot/excanvas.min.js');
        $this->carabiner->group('iefix', array('js' => $jsIE));
        $this->carabiner->js($requiredjs);
        $this->template->load('template', 'index', $data);
    }

}
