diff --git a/frontend/views/site/login.php b/frontend/views/site/login.php index a97beaa..226987f 100755 --- a/frontend/views/site/login.php +++ b/frontend/views/site/login.php @@ -11,42 +11,62 @@ $this->title = 'Авторизация'; $this->params[ 'breadcrumbs' ][] = $this->title; ?> -

title); ?>

+
+
+
+
+

title); ?>

+ + getSession() + ->hasFlash('error') + ) { + echo '
' . Yii::$app->getSession() + ->getFlash('error') . '
'; + } + ?> + + + 'site/login' ]); ?> + -getSession() - ->hasFlash('error') - ) { - echo '
' . Yii::$app->getSession() - ->getFlash('error') . '
'; - } -?> + [ + 'class' => 'form-horizontal', + 'id' => 'login-form', + ], + ]); ?> +
+ field($model, 'username') + ->textInput(['class'=>'custom-input-2']); ?> +
- 'site/login' ]); ?> +
+ field($model, 'password') + ->passwordInput(['class'=>'custom-input-2']); ?> +
+ +
+ 'btn btn-primary login-button' ]); ?> +
+
+ +
- [ - 'class' => 'form-horizontal', - 'id' => 'login-form', - ], -]); ?> -field($model, 'username') - ->textInput(); ?> -field($model, 'password') - ->passwordInput(); ?> -field($model, 'rememberMe', [ 'template' => "{input}\n{label}\n{error}" ]) - ->label('Запомнить меня') - ->checkbox([ - 'class' => 'custom-check', - 'checked' => 'checked', - ], false); ?> + +
+
-
- 'btn btn-primary' ]); ?>
- - \ No newline at end of file +
diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index 1b4261f..2c11f4d 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -945,13 +945,13 @@ li.project-home-active span{ margin-left: -120px; margin-top: 22px; } -.form-resume-wr form label { +.form-resume-wr form label, .form_site_logn-wr label { font-size: 13px; font-weight: 700; width: 100%; float: left; } -.form-resume-wr form input { +.form-resume-wr form input, .form_site_logn-wr form input { width: 240px; height: 29px; border: 1px solid #dcdcdc; @@ -2724,12 +2724,14 @@ input[type=file]::-webkit-file-upload-button { .search-worker-blocks:first-child{margin-top: 20px} .search-worker-blocks-foto-wr { width: 318px; - + min-height: 320px; float: left; } .search-worker-blocks-text-wr { width: 382px; float: right; + min-height: 320px; + position: relative; } .search-worker-blocks-ico-wr { width: 48px; @@ -2752,7 +2754,7 @@ input[type=file]::-webkit-file-upload-button { text-align: center; } .search-worker-blocks-title { - font-size: 18px; margin-top: -4px; + font-size: 18px; margin-top: -1px; } .rating-new { float: left; @@ -2877,8 +2879,13 @@ input[type=file]::-webkit-file-upload-button { .search-worker-blocks-buttons { margin-top: 49px; } - - +.search-worker-blocks-buttons { + margin-top: 0; + position: absolute; + bottom: 0; + left: 0; +} +.search-worker-blocks .search-worker-blocks-jobs-portfolio {margin-bottom: 41px} .gallery-box-search { width: 100%; @@ -5286,23 +5293,6 @@ input.disabled.admin-check:checked + label, input.disabled.admin-check:checked + left: -12px; width: 15px; } - -.help-block { - /*width: 320px;*/ - /*margin-left: -10px;*/ - /*text-align: center;*/ - /*position: relative;*/ - /*border: 1px solid #c1c1c1;*/ - /*margin-top: 25px;*/ - /*box-shadow: 3px 3px 7px 0 rgba(200, 200, 200, .5), inset 0 -3px 0 0 #c1c1c1;*/ - /*padding: 15px 0;*/ - /*display: none;*/ -} -.has-error .help-block { - /*display: block;*/ - /*color: inherit;*/ - /*background: #fff;*/ -} .new-portf-add-comm .help-block{ width: 230px; margin-left: 0; @@ -5344,7 +5334,7 @@ top: 272px; margin-top: 6px; margin-bottom: 60px; } -.form-resume-wr .required:before, .site-request-password-reset .required:before{ +.form-resume-wr .required:before, .site-request-password-reset .required:before, .form_site_logn-wr .required:before{ display: block; content: "*"; color: #D40000; @@ -5356,7 +5346,7 @@ top: 272px; .site-request-password-reset .required:before{ left: 125px; } -.form-resume-wr .help-block { +.form-resume-wr .help-block, .form_site_logn-wr .help-block { width: 320px; margin: 0; text-align: center; @@ -5368,12 +5358,12 @@ top: 272px; padding: 15px 0; display: none; } -.form-resume-wr .has-error .help-block { +.form-resume-wr .has-error .help-block, .form_site_logn-wr .has-error .help-block{ display: block; color: inherit; background: #fff; } -.form-resume-wr .help-block:before { +.form-resume-wr .help-block:before, .form_site_logn-wr .help-block:before { width: 20px; height: 20px; background: #fff; @@ -5384,7 +5374,7 @@ top: 272px; left: -2px; margin-top: -10px; } -.form-resume-wr .help-block:after { +.form-resume-wr .help-block:after, .form_site_logn-wr .help-block:after { height: 20px; background: #fff; transform: rotate(45deg); @@ -6659,4 +6649,24 @@ input[disabled], select[disabled] { text-align: center; } .right_search_perform_foto-wr {vertical-align: middle} -.section-box-customer .search-worker-blocks {margin-top: 20px} \ No newline at end of file +.section-box-customer .search-worker-blocks {margin-top: 20px} +.form_site_logn-wr { + width: 240px; + margin: 0 auto; +} +.form_site_logn_ { + width: 100%; + padding: 30px 0; + float: left; + position: relative; +} +.form_site_logn-wr h1 { + font-size: 24px; + width: 100%; + text-align: center; +} + +.form_site_logn-wr .login-check-remember { + margin-bottom: 19px; +} +.form_site_logn-wr input.custom-check + label span {margin-top: 1px; margin-right: 6px} -- libgit2 0.21.4