| @@ -23,8 +23,8 @@ | ||
| 23 | 23 | /** | 
| 24 | 24 | * Handles adding <?= $columns ?> to table `<?= $table ?>`. | 
| 25 | 25 |  <?= $this->render('_foreignTables', [ | 
| 26 | - 'foreignKeys' => $foreignKeys, | |
| 27 | - ]) ?> | |
| 26 | + 'foreignKeys' => $foreignKeys, | |
| 27 | + ]) ?> | |
| 28 | 28 | */ | 
| 29 | 29 | class <?= $className ?> extends Migration | 
| 30 | 30 |  { | 
| @@ -54,7 +54,7 @@ | ||
| 54 | 54 | [ | 
| 55 | 55 | 'attribute' => 'icon', | 
| 56 | 56 |                          'value' => function($model) { | 
| 57 | - return Html::icon($model->icon); | |
| 57 | + return Html::icon($model->icon); | |
| 58 | 58 | }, | 
| 59 | 59 | 'format' => 'raw' | 
| 60 | 60 | ], | 
| @@ -56,7 +56,7 @@ | ||
| 56 | 56 | 'autocomplete' => 'off', | 
| 57 | 57 |                  'placeholder' => Yii::t('yuncms', 'Password') | 
| 58 | 58 | ], | 
| 59 | - 'errorOptions' => ['class' => 'help-block help-block-error full-width','style'=>'text-align:left'], | |
| 59 | + 'errorOptions' => ['class' => 'help-block help-block-error full-width','style'=>'text-align:left'], | |
| 60 | 60 | ])->passwordInput()->label(false) ?> | 
| 61 | 61 | |
| 62 | 62 | <?= $form->field($model, 'verifyCode', [ | 
| @@ -4,25 +4,25 @@ | ||
| 4 | 4 | * @copyright Copyright (c) 2012 TintSoft Technology Co. Ltd. | 
| 5 | 5 | * @license http://www.tintsoft.com/license/ | 
| 6 | 6 | */ | 
| 7 | - namespace xutl\inspinia; | |
| 7 | + namespace xutl\inspinia; | |
| 8 | 8 | |
| 9 | - use yii\web\View; | |
| 10 | - use yii\web\AssetBundle; | |
| 9 | + use yii\web\View; | |
| 10 | + use yii\web\AssetBundle; | |
| 11 | 11 | |
| 12 | - class PaceAsset extends AssetBundle{ | |
| 13 | - public $sourcePath = '@yuncms/admin/resources/assets'; | |
| 12 | +    class PaceAsset extends AssetBundle{ | |
| 13 | + public $sourcePath = '@yuncms/admin/resources/assets'; | |
| 14 | 14 | |
| 15 | - /** | |
| 16 | - * 发布参数 | |
| 17 | - * | |
| 18 | - * @var array | |
| 19 | - */ | |
| 20 | - public $jsOptions = [ | |
| 21 | - 'position' => View::POS_HEAD, | |
| 22 | - 'data-pace-options' => ['restartOnRequestAfter' => true] | |
| 23 | - ]; | |
| 15 | + /** | |
| 16 | + * 发布参数 | |
| 17 | + * | |
| 18 | + * @var array | |
| 19 | + */ | |
| 20 | + public $jsOptions = [ | |
| 21 | + 'position' => View::POS_HEAD, | |
| 22 | + 'data-pace-options' => ['restartOnRequestAfter' => true] | |
| 23 | + ]; | |
| 24 | 24 | |
| 25 | - public $js = [ | |
| 26 | - 'js/plugins/pace/pace.min.js' | |
| 27 | - ]; | |
| 28 | - } | |
| 29 | 25 | \ No newline at end of file | 
| 26 | + public $js = [ | |
| 27 | + 'js/plugins/pace/pace.min.js' | |
| 28 | + ]; | |
| 29 | + } | |
| 30 | 30 | \ No newline at end of file | 
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | use yii\helpers\Url; | 
| 3 | 3 | use yuncms\helpers\Html; | 
| 4 | - ?> | |
| 4 | + ?> | |
| 5 | 5 | <li class="nav-header"> | 
| 6 | 6 | <div class="logo-element-main"> | 
| 7 | 7 | YUNCMS |