diff --git a/backend/models/LoginForm.php b/backend/models/LoginForm.php index 30506c2..2e18535 100755 --- a/backend/models/LoginForm.php +++ b/backend/models/LoginForm.php @@ -76,4 +76,18 @@ class LoginForm extends Model return $this->_user; } + + /** + * @inheritdoc + */ + public function attributeLabels() + { + return [ + + 'username' => 'Имя пользователя', + 'password' => 'Пароль', + 'rememberMe' => 'Запомнить пароль', + + ]; + } } diff --git a/backend/views/site/login.php b/backend/views/site/login.php index a84d102..7d7d499 100755 --- a/backend/views/site/login.php +++ b/backend/views/site/login.php @@ -12,13 +12,15 @@ $this->params['breadcrumbs'][] = $this->title; ?>
-

title) ?>

-

Please fill out the following fields to login:

-
+
+
+
управление интернет магазином
+title) ?> + 'login-form']); ?> field($model, 'username')->textInput(['autofocus' => true]) ?> @@ -28,7 +30,7 @@ $this->params['breadcrumbs'][] = $this->title; field($model, 'rememberMe')->checkbox() ?>
- 'btn btn-primary', 'name' => 'login-button']) ?> + 'btn btn-primary', 'name' => 'login-button']) ?>
diff --git a/backend/web/css/site.css b/backend/web/css/site.css index 034d162..a454526 100755 --- a/backend/web/css/site.css +++ b/backend/web/css/site.css @@ -103,3 +103,107 @@ a.desc:after { .nav > li > form > button:hover { text-decoration: none; } +.new_admin_form input { + border: 1px solid #95ba2f !important; +} +.new_admin_form h1, .new_admin_form p, .new_admin_form label {color: #bdbdbd !important; font-weight: 400 !important;} +.new_admin_form .btn { + background: #95ba2f !important; + border-radius: 4px !important; + height: 29px !important; + text-transform: uppercase !important; + color: #ffffff !important; + text-decoration: none !important; + font-weight: 600 !important; + text-align: center !important; + border-bottom: 3px solid #799920 !important; + font-size: 12px !important; + outline: none !important; + border-top: none; + border-left: none; + border-right: none; +} +.new_admin_form .btn:focus { + box-shadow: none !important; +} +.new_admin_form .btn:hover { + border-bottom: 3px solid #95ba2f !important; +} +.new_admin_form .btn:active { + border-bottom: 3px solid #799920 !important; + background: #799920 !important; +} +.artbox_logo-wr { + perspective: 250px; +} +.artbox_logo { + text-align: center; + font-size: 42px; + color: #fff; + text-transform: uppercase; + margin-top: 9px; + -webkit-animation-name:anim_artbox; + -moz-animation-name:anim_artbox; + animation-name:anim_artbox; + -webkit-animation-duration:4.7s; + -moz-animation-duration:4.7s; + animation-duration:4.7s; + -webkit-animation-timing-function:linear; + -moz-animation-timing-function:linear; + animation-timing-function:linear; + -webkit-animation-iteration-count:infinite; + -moz-animation-iteration-count:infinite; + animation-iteration-count:infinite; + /*-webkit-animation-play-state:running;*/ + /*-moz-animation-play-state:running;*/ + /*animation-play-state:running*/ + -webkit-animation-play-state:paused; + -moz-animation-play-state:paused; + animation-play-state:paused; +} +@-webkit-keyframes anim_artbox { + 0% + { + -webkit-transform:rotateY(0deg) + } + + 100% + { + -webkit-transform:rotateY(360deg) + } +} + +@-moz-keyframes anim_artbox { + 0% + { + -moz-transform:rotateY(0deg) + } + + 100% + { + -moz-transform:rotateY(360deg) + } +} + +@keyframes anim_artbox { + 0% + { + transform:rotateY(0deg) + } + + 100% + { + transform:rotateY(360deg) + } +} +.artbox_logo_txt { + text-align: center; + font-size: 15px; + color: #fff; + margin-bottom: 11px; +} +.new_admin_form .help-block { + color: #d80400 !important; + text-align: center; + font-size: 13px !important; +} -- libgit2 0.21.4