diff --git a/frontend/views/blog/_article.php b/frontend/views/blog/_article.php index e368564..d7713f8 100644 --- a/frontend/views/blog/_article.php +++ b/frontend/views/blog/_article.php @@ -29,15 +29,19 @@ tags)) { + ?> +
+ tags as $tag) { ?> -

lang->label ?>

@@ -83,12 +87,12 @@ ) ?>
-

lang->body_preview ?>

+

lang->body_preview, 350) ?>

Continue reading + ) ?>" class="btn btn-template-main">Читать далее

diff --git a/frontend/views/blog/article.php b/frontend/views/blog/article.php index 75588e3..90f6cbb 100644 --- a/frontend/views/blog/article.php +++ b/frontend/views/blog/article.php @@ -13,7 +13,7 @@ $this->params[ 'breadcrumbs' ][] = [ 'url' => [ 'blog/index' ], - 'label' => \Yii::t('app', 'Блог'), + 'label' => \Yii::t('app', 'Статьи'), ]; $this->params[ 'breadcrumbs' ][] = $model->lang->title; @@ -53,6 +53,8 @@ _________________________________________________________ --> + +
+

Оставить комментарий

@@ -52,14 +53,14 @@ echo $form->field($comment_model, 'username', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) ->textInput(); echo $form->field($comment_model, 'email', [ 'options' => [ 'class' => 'form-group input_bl' ] ]) - ->textInput(); + ->textInput([ 'options' => [ 'class' => 'form-control' ] ]); } echo $form->field($comment_model, 'text', [ 'options' => [ 'class' => 'form-group input_bl area_bl' ] ]) ->textarea(); echo Html::tag( 'div', Html::submitButton( - Yii::t('app', 'Submit comment') + Yii::t('app', ' Отправить') ), [ 'class' => 'input_bl submit_btn' ] ); diff --git a/frontend/views/comment/artbox_comment_item.php b/frontend/views/comment/artbox_comment_item.php index 2c7d1c6..219f73f 100755 --- a/frontend/views/comment/artbox_comment_item.php +++ b/frontend/views/comment/artbox_comment_item.php @@ -111,7 +111,7 @@ if (!empty($child->customer)) { echo $child->customer->$nameField; } else { - echo $child->username . ' (' . Yii::t('artbox-comment', 'Guest') . ')'; + echo $child->username . ' (' . Yii::t('artbox-comment', 'Гость') . ')'; } ?>
diff --git a/frontend/views/comment/artbox_comment_list.php b/frontend/views/comment/artbox_comment_list.php index 612d929..5b5d1f8 100755 --- a/frontend/views/comment/artbox_comment_list.php +++ b/frontend/views/comment/artbox_comment_list.php @@ -23,6 +23,8 @@ if(( $success = \Yii::$app->session->getFlash('artbox_comment_success') ) != NULL) { echo Html::tag('p', $success); } + echo '
'; + echo '

Комментарии

'; echo ListView::widget([ 'dataProvider' => $comments, 'itemOptions' => $item_options, diff --git a/frontend/views/site/contact.php b/frontend/views/site/contact.php index 01bf7da..517c458 100755 --- a/frontend/views/site/contact.php +++ b/frontend/views/site/contact.php @@ -15,7 +15,7 @@ MapAsset::register($this); $settings = Settings::getInstance(); - $this->title = \Yii::t('app', 'Contact'); + $this->title = \Yii::t('app', 'Контакты'); $this->params[ 'breadcrumbs' ][] = $this->title; $js = <<< JS diff --git a/frontend/web/css/custom.css b/frontend/web/css/custom.css index 55b1243..2ca810a 100755 --- a/frontend/web/css/custom.css +++ b/frontend/web/css/custom.css @@ -199,6 +199,100 @@ ul.list-style-none { padding: 0; } +.read-more{ + margin-top: 20px; +} +.post-tags{ + margin-top: 15px; + margin-bottom: 15px; +} +.post-tags:after{ + content:''; + display:block; + clear:both; +} +.post-tag { + float: left; +} +.post-tag a{ + border: 1px solid #eeeeee; + padding: 4px 12px; + margin-right: 5px; + position: relative; + text-decoration: none; +} +.post-tag a:hover{ + border: 1px solid #4fbfa8; +} +.artbox_form_container:after, .list-view:after,.input_bl.submit_btn:after, .form-comm-wr .input_bl:after{ + content:''; + display:block; + clear:both; +} +.input_bl.stars-wr_{ + float:none; +} +.artbox_list_container .list-view{ + margin-bottom:40px; +} +.form-comm-wr .input_bl.submit_btn button[type='submit']{ + background: none; + border: 1px solid #d2d2d2; + color: #7d7d7d; + border-radius: 0px; + text-transform: uppercase; +} +.form-comm-wr .input_bl.submit_btn button[type='submit']:hover{ + background: #4fbfa8; + border: 1px solid #4fbfa8; + color: #fff; +} +.input_bl.submit_btn{ + float: right; + margin-top: 27px; + width: 100%; + text-align: center; +} +.form-comm-wr{ + background:none; + padding:0; + width:100%; +} +.artbox_form_container{ + padding: 0; + margin-top: -10px; +} +.form-comm-wr .form-group { + margin-bottom: 10px; + position: relative; + float: none; +} +.form-comm-wr .form-group label.control-label{ + width: inherit; + float: none; + text-transform: none; + font-size: 14px; + color: black; + margin: 5px 0px; +} +input[type="text"].form-control{ + border-radius: 0; + padding: 17px 13px; +} +.input_bl input{ + width: 100%; + max-width: 400px; +} +.area_bl textarea, .answer-form textarea{ + border-radius: 0; + width: 100%; + height: 160px; +} +.tag-cloud li.active a { + color: #fff!important; + background-color: #4fbfa8; + border-color: #4fbfa8!important; +} @media (max-width: 1199px){ .header-kristal .container .img-responsive{ margin-bottom: -68px; -- libgit2 0.21.4