diff --git a/backend/views/layouts/left.php b/backend/views/layouts/left.php index 2cdb3e5..081d4f5 100644 --- a/backend/views/layouts/left.php +++ b/backend/views/layouts/left.php @@ -27,13 +27,13 @@ - ['class' => 'sidebar-menu'], 'items' => [ ['label' => 'Main Menu', 'options' => ['class' => 'header']], - ['label' => 'Home', 'icon' => 'fa fa-home', 'url' => ['/site/index']], - ['label' => 'Change Password', 'icon' => 'fa fa-lock', 'url' => ['/profile/change-password']], + ['label' => 'Home', 'icon' => 'home', 'url' => ['/site/index']], + ['label' => 'Change Password', 'icon' => 'lock', 'url' => ['/profile/change-password']], ], ] ) ?> diff --git a/backend/views/site/login.php b/backend/views/site/login.php index bfb880b..b579aa3 100644 --- a/backend/views/site/login.php +++ b/backend/views/site/login.php @@ -22,7 +22,7 @@
@@ -33,7 +33,7 @@ field($model, 'accountName', $fieldOptions1) ->label(false) - ->textInput(['placeholder' => $model->getAttributeLabel('username')]) ?> + ->textInput(['placeholder' => $model->getAttributeLabel('accountName')]) ?> field($model, 'password', $fieldOptions2) diff --git a/common/config/main.php b/common/config/main.php index f56e74a..9686112 100644 --- a/common/config/main.php +++ b/common/config/main.php @@ -1,5 +1,6 @@ 'YarCode', 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset',