reports: Fix id of custom date selector
[ninja.git] / application / controllers / rotation.php
blob39b0fe18f539e327ac8ac4ef31205aeb793f385d
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
2 /**
3 * NOC controller
4 * Requires authentication
6 * op5, and the op5 logo are trademarks, servicemarks, registered servicemarks
7 * or registered trademarks of op5 AB.
8 * All other trademarks, servicemarks, registered trademarks, and registered
9 * servicemarks mentioned herein may be the property of their respective owner(s).
10 * The information contained herein is provided AS IS with NO WARRANTY OF ANY
11 * KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY, AND FITNESS FOR A
12 * PARTICULAR PURPOSE.
14 class Rotation_Controller extends Authenticated_Controller {
16 public function index()
19 $this->template->content = $this->add_view('/rotation/view');
20 $this->template->title = _('Monitoring ยป Rotation');
21 $this->xtra_js[] = $this->add_path('/rotation/js/rotation.js');
22 $this->xtra_js[] = $this->add_path('/js/iframe-adjust.js');
23 $this->xtra_css[] = $this->add_path('rotation/css/rotation.css');
24 $this->template->disable_refresh = true;
26 $this->template->js_header = $this->add_view('js_header');
27 $this->template->js_header->js = $this->xtra_js;
29 $this->template->css_header = $this->add_view('css_header');
30 $this->template->css_header->css = $this->xtra_css;
32 $this->template->js_header->js = $this->xtra_js;
33 $this->template->css_header->css = $this->xtra_css;