Commit aa6e61704644d0eaaf6c40f0f15a00f12ba6fea6

Authored by alex
1 parent 1a059019

Доделал мелкие правки 2

common/messages/ru/app.php
@@ -15,6 +15,8 @@ return [ @@ -15,6 +15,8 @@ return [
15 'Purchase' => 'Заказать', 15 'Purchase' => 'Заказать',
16 'dev1' => 'заводы', 16 'dev1' => 'заводы',
17 17
  18 +
  19 + 'Name' => 'Имя',
18 'Preferred' => 'Избранное', 20 'Preferred' => 'Избранное',
19 'do time' => 'изготовления', 21 'do time' => 'изготовления',
20 'and size' => 'и размера', 22 'and size' => 'и размера',
@@ -78,7 +80,10 @@ return [ @@ -78,7 +80,10 @@ return [
78 'Thanks for request' => 'Спасибо за Ваш запрос!', 80 'Thanks for request' => 'Спасибо за Ваш запрос!',
79 'from 2004' => 'с 2004 года', 81 'from 2004' => 'с 2004 года',
80 'build/montage' => 'строительно-монтажные', 82 'build/montage' => 'строительно-монтажные',
  83 + 'build' => 'строительные',
  84 +
81 85
  86 + 'Phone' => 'Телефон',
82 'typographers' => 'типографии', 87 'typographers' => 'типографии',
83 'textyle' => 'текстильные', 88 'textyle' => 'текстильные',
84 'transport' => 'транспортные', 89 'transport' => 'транспортные',
@@ -90,7 +95,7 @@ return [ @@ -90,7 +95,7 @@ return [
90 95
91 96
92 'Company Title' => 'ArtPlast', 97 'Company Title' => 'ArtPlast',
93 - 98 + 'Email' => 'Email',
94 'Description 1' => 'Завод-производитель «Артпласт» предлагает отличный профессиональный скотч. 99 'Description 1' => 'Завод-производитель «Артпласт» предлагает отличный профессиональный скотч.
95 Наш продукт выдерживает растяжение, высокие нагрузки, 100 Наш продукт выдерживает растяжение, высокие нагрузки,
96 не теряет своих качеств при низких и высоких температурах.', 101 не теряет своих качеств при низких и высоких температурах.',
common/messages/ua/app.php
@@ -28,8 +28,9 @@ return [ @@ -28,8 +28,9 @@ return [
28 'do time' => 'виготовлення', 28 'do time' => 'виготовлення',
29 'and size' => 'та розміру', 29 'and size' => 'та розміру',
30 'and logos' => 'та логотипи', 30 'and logos' => 'та логотипи',
31 - 'and many other dev' => 'і багато інших підприємств', 31 + 'and many other dev' => 'та багато інших підприємств',
32 32
  33 + 'build' => 'будiвельнi',
33 34
34 35
35 'Companies' => 'компанії', 36 'Companies' => 'компанії',
@@ -60,8 +61,8 @@ return [ @@ -60,8 +61,8 @@ return [
60 61
61 62
62 'Support' => 'Допомога', 63 'Support' => 'Допомога',
63 - 'Call me!' => 'перетелефонувати мені',  
64 - 'Call me' => 'Перетелефонувати мені', 64 + 'Call me!' => 'передзвонити мені',
  65 + 'Call me' => 'Передзвонити мені',
65 66
66 'Advantages!' => 'Переваги', 67 'Advantages!' => 'Переваги',
67 'of production' => 'продукції', 68 'of production' => 'продукції',
@@ -87,11 +88,12 @@ return [ @@ -87,11 +88,12 @@ return [
87 'Thanks for request' => 'Дякуємо за Ваш запит!', 88 'Thanks for request' => 'Дякуємо за Ваш запит!',
88 'from 2004' => 'з 2004 року', 89 'from 2004' => 'з 2004 року',
89 'build/montage' => 'будівельно-монтажні', 90 'build/montage' => 'будівельно-монтажні',
90 - 91 + 'Name' => 'Iм`я',
91 'typographers' => 'типографії', 92 'typographers' => 'типографії',
92 'textyle' => 'текстильні', 93 'textyle' => 'текстильні',
93 'transport' => 'транспортні', 94 'transport' => 'транспортні',
94 - 95 + 'Phone' => 'Телефон',
  96 + 'Email' => 'Email',
95 97
96 'Ukr' => 'укр', 98 'Ukr' => 'укр',
97 'Packing tape' => 'Пакувальний скотч', 99 'Packing tape' => 'Пакувальний скотч',
frontend/assets/AppAsset.php
@@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
13 public $baseUrl = '@web'; 13 public $baseUrl = '@web';
14 public $css = [ 14 public $css = [
15 "css/style.css", 15 "css/style.css",
  16 + 'css/change.css'
16 17
17 ]; 18 ];
18 public $js = [ 19 public $js = [
frontend/config/main.php
@@ -8,6 +8,13 @@ @@ -8,6 +8,13 @@
8 require( __DIR__ . '/params.php' ), 8 require( __DIR__ . '/params.php' ),
9 require( __DIR__ . '/params-local.php' ) 9 require( __DIR__ . '/params-local.php' )
10 ); 10 );
  11 +
  12 + $send="Отправить";
  13 + if(strpos($_SERVER['REQUEST_URI'],"/ua")!==false) {
  14 + $send = "Вiдправити";
  15 + }
  16 +
  17 +
11 18
12 return [ 19 return [
13 'id' => 'app-frontend', 20 'id' => 'app-frontend',
@@ -117,7 +124,7 @@ @@ -117,7 +124,7 @@
117 ], 124 ],
118 'buttonTemplate' => '<div class="button-wr">{button}</div>', 125 'buttonTemplate' => '<div class="button-wr">{button}</div>',
119 126
120 - 'buttonContent' => '<i class="fa fa-envelope-o"></i> Отправить', 127 + 'buttonContent' => '<i class="fa fa-envelope-o"></i>'.$send,
121 'sendEmail' => true, 128 'sendEmail' => true,
122 'email' => 'alkhonko@gmail.com', 129 'email' => 'alkhonko@gmail.com',
123 'subject' => 'test tt22', 130 'subject' => 'test tt22',
frontend/views/layouts/main.php
@@ -27,7 +27,7 @@ $seo=\Yii::$app-&gt;get(&#39;seo&#39;); @@ -27,7 +27,7 @@ $seo=\Yii::$app-&gt;get(&#39;seo&#39;);
27 <head> 27 <head>
28 <meta charset="<?= \Yii::$app->charset ?>"> 28 <meta charset="<?= \Yii::$app->charset ?>">
29 <link href="https://fonts.googleapis.com/css?family=Ubuntu:400,500,700&amp;subset=cyrillic,cyrillic-ext,latin-ext" rel="stylesheet"> 29 <link href="https://fonts.googleapis.com/css?family=Ubuntu:400,500,700&amp;subset=cyrillic,cyrillic-ext,latin-ext" rel="stylesheet">
30 - <link type="image/x-icon" href="favicon.ico" rel="icon"> 30 + <link type="image/x-icon" href="/images/favicon.ico" rel="icon">
31 <meta name="viewport" content="width=device-width, initial-scale=1"> 31 <meta name="viewport" content="width=device-width, initial-scale=1">
32 <?= Html::csrfMetaTags() ?> 32 <?= Html::csrfMetaTags() ?>
33 <title><?= Html::encode($seo->title) ?></title> 33 <title><?= Html::encode($seo->title) ?></title>
frontend/views/site/index.php
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 use common\models\Settings; 3 use common\models\Settings;
4 use frontend\widgets\LanguageWidget; 4 use frontend\widgets\LanguageWidget;
5 use yii\helpers\Html; 5 use yii\helpers\Html;
6 -use yii\widgets\ActiveForm; 6 +use artbox\core\models\Language;
7 7
8 8
9 9
@@ -88,7 +88,7 @@ $module=\Yii::$app-&gt;getModule(&#39;contact&#39;); @@ -88,7 +88,7 @@ $module=\Yii::$app-&gt;getModule(&#39;contact&#39;);
88 </td> 88 </td>
89 </tr> 89 </tr>
90 </table> 90 </table>
91 - <span class="modal-link" data-form="callback"><?=\Yii::t('app','Call me!');?></span> 91 + <span class="modal-link" data-form="callback" ><?=\Yii::t('app','Call me!');?></span>
92 </div> 92 </div>
93 </div> 93 </div>
94 </div> 94 </div>
@@ -196,7 +196,7 @@ $module=\Yii::$app-&gt;getModule(&#39;contact&#39;); @@ -196,7 +196,7 @@ $module=\Yii::$app-&gt;getModule(&#39;contact&#39;);
196 <div class="container"> 196 <div class="container">
197 <div class="row"> 197 <div class="row">
198 <div class="col-xs-12"> 198 <div class="col-xs-12">
199 - <div class="title"> <?=\Yii::t('app','About product!');?></div> 199 + <div class="title"> <?=\Yii::t('app','About Product!');?></div>
200 </div> 200 </div>
201 </div> 201 </div>
202 <div class="row"> 202 <div class="row">
@@ -300,7 +300,7 @@ $module=\Yii::$app-&gt;getModule(&#39;contact&#39;); @@ -300,7 +300,7 @@ $module=\Yii::$app-&gt;getModule(&#39;contact&#39;);
300 300
301 <div class="row"> 301 <div class="row">
302 <div class="trust-col"> 302 <div class="trust-col">
303 - <div style="background-image: url('itelemages/trusted/trust-4.jpg')"> 303 + <div style="background-image: url('/images/trusted/trust-4.jpg')">
304 <span> <?=\Yii::t('app','build');?><br /> <?=\Yii::t('app','firms');?></span> 304 <span> <?=\Yii::t('app','build');?><br /> <?=\Yii::t('app','firms');?></span>
305 </div> 305 </div>
306 </div> 306 </div>
frontend/web/css/change.css 0 → 100644
  1 +.phone-header .modal-link {
  2 + bottom:0;
  3 +}
  4 +.fixed-header .phone-header .modal-link {
  5 + bottom:-15px;
  6 +}
  7 +.mail-header table tr td a.sep-lang-a{
  8 + color:#333;
  9 + text-decoration: none;
  10 +}
frontend/web/css/style.css
@@ -661,7 +661,9 @@ section, header, nav, article, aside, footer, address { @@ -661,7 +661,9 @@ section, header, nav, article, aside, footer, address {
661 height: 51px; } 661 height: 51px; }
662 .fixed-header .phone-header .modal-link { 662 .fixed-header .phone-header .modal-link {
663 font-size: 14px; 663 font-size: 14px;
664 - bottom: -12px; } 664 + bottom: -12px;
  665 + bottom:0;
  666 +}
665 667
666 .section-header { 668 .section-header {
667 padding-top: 15px; } 669 padding-top: 15px; }
frontend/web/images/favicon.ico 0 → 100644
No preview for this file type
plast/css/style.css
@@ -765,7 +765,7 @@ section, header, nav, article, aside, footer, address { @@ -765,7 +765,7 @@ section, header, nav, article, aside, footer, address {
765 text-decoration: underline; 765 text-decoration: underline;
766 position: absolute; 766 position: absolute;
767 left: 23px; 767 left: 23px;
768 - bottom: 5px; } 768 + bottom: 10px; }
769 .phone-header .modal-link:hover { 769 .phone-header .modal-link:hover {
770 text-decoration: none; } 770 text-decoration: none; }
771 771