protected function getResources() { // jQuery $this->section_footer->addScript('https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js'); // Bootstrap $this->section_head->addStyle('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'); // $this->section_head->addStyle( 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css' ); // Optional theme $this->section_footer->addScript('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js'); // FA Icons $this->section_head->addStyle('https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css'); // Diff $this->section_footer->addScript('https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js'); $this->section_footer->addScript('https://oss.maxcdn.com/respond/1.4.2/respond.min.js'); // My $this->section_head->addStyle($this->path_prefix_css . 's.css'); // $this->section_footer->addScript( $this->path_prefix_js . 'j.js' ); $this->section_footer->addScript($this->path_prefix_js . 'my_events.js'); }
protected function getResources() { // jQuery $this->section_footer->addScript('/libs/datetimepicker/jquery.js'); // $this->section_footer->addScript( '//code.jquery.com/jquery-1.11.3.min.js' ); // $this->section_footer->addScript( '//code.jquery.com/jquery-migrate-1.2.1.min.js' ); // Bootstrap $this->section_head->addStyle('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'); $this->section_head->addStyle('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css'); $this->section_footer->addScript('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js'); // Menu styles $this->section_head->addStyle($this->path_prefix_css . 'admin/mainmenu.css'); // jQuery UI $this->section_footer->addScript($this->path_prefix_plugins . 'jquery-ui/js/jquery-ui-1.10.4.min.js'); $this->section_head->addStyle($this->path_prefix_plugins . 'jquery-ui/css/jquery-ui-1.10.4.min.css'); // DatetimePicker $this->section_head->addStyle($this->path_prefix_plugins . 'datetimepicker/jquery.datetimepicker.css'); $this->section_footer->addScript($this->path_prefix_plugins . 'datetimepicker/jquery.datetimepicker.js'); $this->section_footer->addScript($this->path_prefix_js . 'admin.js'); }