Created
April 11, 2013 22:06
-
-
Save adlerdias/5367585 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @return array action filters | |
*/ | |
public function filters() | |
{ | |
return array( | |
'accessControl', // perform access control for CRUD operations | |
'postOnly + delete', // we only allow deletion via POST request | |
array('ext.bootstrap.filters.BootstrapFilter - delete'), | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'components'=>array( | |
'clientScript' => array( | |
'packages' => array( | |
'jquery' => array( | |
'baseUrl' => 'js/', | |
'js' => array('jquery-1.8.3.min.js','jquery.livequery.min.js'), | |
), | |
'cssMetro'=>array( | |
'baseUrl' => 'css/', | |
'css'=>array('metro/metro.css', 'metro/style.css', 'metro/style_default.css', 'metro/style_responsive.css'), | |
'depends' => array('bootstrap-yii', 'bootstrap', 'jquery-ui-bootstrap', 'bootstrap-notify') | |
), | |
), | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" type="text/css" href="/yii/desk/css/metro/metro.css" /> | |
<link rel="stylesheet" type="text/css" href="/yii/desk/css/metro/style.css" /> | |
<link rel="stylesheet" type="text/css" href="/yii/desk/css/metro/style_default.css" /> | |
<link rel="stylesheet" type="text/css" href="/yii/desk/css/metro/style_responsive.css" /> | |
<link rel="stylesheet" type="text/css" href="/yii/desk/assets/638e7ccd/css/bootstrap.css" /> | |
<link rel="stylesheet" type="text/css" href="/yii/desk/assets/638e7ccd/css/bootstrap-yii.css" /> | |
<link rel="stylesheet" type="text/css" href="/yii/desk/assets/638e7ccd/css/jquery-ui-bootstrap.css" /> | |
<link rel="stylesheet" type="text/css" href="/yii/desk/assets/638e7ccd/css/bootstrap-notify.css" /> | |
<link rel="stylesheet" type="text/css" href="/yii/desk/assets/638e7ccd/css/bootstrap-image-gallery.min.css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php /* @var $this Controller */ ?> | |
<!DOCTYPE html> | |
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]--> | |
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]--> | |
<!--[if !IE]><!--> <html lang="pt-br"> <!--<![endif]--> | |
<!-- BEGIN HEAD --> | |
<head> | |
<meta charset="utf-8"> | |
<meta content="width=device-width, initial-scale=1.0" name="viewport" /> | |
<meta content="" name="description" /> | |
<meta content="" name="author" /> | |
<title><?php echo CHtml::encode($this->pageTitle); ?></title> | |
<?php Yii::app()->clientScript->registerPackage('cssMetro', CClientScript::POS_END); ?> | |
</head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment