@@ -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 |
@@ -121,14 +121,14 @@ |
||
| 121 | 121 | Yii::$app->getSession()->setFlash('success', Yii::t('yuncms', 'Delete success.')); |
| 122 | 122 | return $this->redirect(['index']); |
| 123 | 123 | } |
| 124 | - /** |
|
| 125 | - * Batch Delete existing Task model. |
|
| 126 | - * If deletion is successful, the browser will be redirected to the 'index' page. |
|
| 127 | - * @return mixed |
|
| 128 | - * @throws NotFoundHttpException |
|
| 129 | - * @throws \Throwable |
|
| 130 | - * @throws \yii\db\StaleObjectException |
|
| 131 | - */ |
|
| 124 | + /** |
|
| 125 | + * Batch Delete existing Task model. |
|
| 126 | + * If deletion is successful, the browser will be redirected to the 'index' page. |
|
| 127 | + * @return mixed |
|
| 128 | + * @throws NotFoundHttpException |
|
| 129 | + * @throws \Throwable |
|
| 130 | + * @throws \yii\db\StaleObjectException |
|
| 131 | + */ |
|
| 132 | 132 | public function actionBatchDelete() |
| 133 | 133 | { |
| 134 | 134 | if (($ids = Yii::$app->request->post('ids', null)) != null) { |
@@ -149,13 +149,13 @@ |
||
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | /** |
| 152 | - * Batch Delete existing Volume model. |
|
| 153 | - * If deletion is successful, the browser will be redirected to the 'index' page. |
|
| 154 | - * @return mixed |
|
| 155 | - * @throws NotFoundHttpException |
|
| 156 | - * @throws \Throwable |
|
| 157 | - * @throws \yii\db\StaleObjectException |
|
| 158 | - */ |
|
| 152 | + * Batch Delete existing Volume model. |
|
| 153 | + * If deletion is successful, the browser will be redirected to the 'index' page. |
|
| 154 | + * @return mixed |
|
| 155 | + * @throws NotFoundHttpException |
|
| 156 | + * @throws \Throwable |
|
| 157 | + * @throws \yii\db\StaleObjectException |
|
| 158 | + */ |
|
| 159 | 159 | public function actionBatchDelete() |
| 160 | 160 | { |
| 161 | 161 | if (($ids = Yii::$app->request->post('ids', null)) != null) { |