Commit 822dedd5fd6c0db5dcf44eac8d9a4b2b131001b4
Merge remote-tracking branch 'origin/master'
Showing
9 changed files
with
135 additions
and
50 deletions
Show diff stats
common/messages/ru/app.php
@@ -169,7 +169,7 @@ return [ | @@ -169,7 +169,7 @@ return [ | ||
169 | 'index_ses_for' => 'Солнечные станции для', | 169 | 'index_ses_for' => 'Солнечные станции для', |
170 | 'index_ses_fiz' => 'физических лиц', | 170 | 'index_ses_fiz' => 'физических лиц', |
171 | 'index_ses_leg' => 'юридических лиц', | 171 | 'index_ses_leg' => 'юридических лиц', |
172 | - 'index_why_us' => 'Почему мы', | 172 | + 'index_why_us' => 'Проектирование солнечных электростанций', |
173 | 173 | ||
174 | 'index_title1' => 'Мы первые подключили СЭС', | 174 | 'index_title1' => 'Мы первые подключили СЭС', |
175 | 'index_subtitle1' => 'по Зеленому тарифу в Киевской области', | 175 | 'index_subtitle1' => 'по Зеленому тарифу в Киевской области', |
common/messages/ua/app.php
@@ -171,7 +171,7 @@ return [ | @@ -171,7 +171,7 @@ return [ | ||
171 | 'index_ses_for' => 'Сонячні станції для', | 171 | 'index_ses_for' => 'Сонячні станції для', |
172 | 'index_ses_fiz' => 'фізичних осіб', | 172 | 'index_ses_fiz' => 'фізичних осіб', |
173 | 'index_ses_leg' => 'юридичних осіб', | 173 | 'index_ses_leg' => 'юридичних осіб', |
174 | - 'index_why_us' => 'ЧОМУ САМЕ МИ?', | 174 | + 'index_why_us' => 'Проектування сонячних електростанцій', |
175 | 175 | ||
176 | 'index_title1' => 'МИ ПЕРШІ ПІДКЛЮЧИЛИ СЕС', | 176 | 'index_title1' => 'МИ ПЕРШІ ПІДКЛЮЧИЛИ СЕС', |
177 | 'index_subtitle1' => 'по зеленому тарифу в Київській області', | 177 | 'index_subtitle1' => 'по зеленому тарифу в Київській області', |
frontend/views/layouts/main.php
@@ -76,27 +76,30 @@ | @@ -76,27 +76,30 @@ | ||
76 | <?= HreflangWidget::widget()?> | 76 | <?= HreflangWidget::widget()?> |
77 | 77 | ||
78 | <title><?= Html::encode($seo->title) ?></title> | 78 | <title><?= Html::encode($seo->title) ?></title> |
79 | + <link rel="icon" type="image/vnd.microsoft.icon" href="/img/favicon.ico"> | ||
80 | + <!-- Google Tag Manager --> | ||
81 | + <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | ||
82 | + new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | ||
83 | + j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | ||
84 | + 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | ||
85 | + })(window,document,'script','dataLayer','GTM-TSCLJL');</script> | ||
86 | + <!-- End Google Tag Manager --> | ||
79 | <?php $this->head() ?> | 87 | <?php $this->head() ?> |
80 | </head> | 88 | </head> |
81 | <body> | 89 | <body> |
90 | + <!-- Google Tag Manager (noscript) --> | ||
91 | + <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TSCLJL" | ||
92 | + height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
93 | + <!-- End Google Tag Manager (noscript) --> | ||
82 | <?php $this->beginBody() ?> | 94 | <?php $this->beginBody() ?> |
83 | - <!-- Google Analytics --> | ||
84 | - <script> | ||
85 | - (function(i, s, o, g, r, a, m) { | ||
86 | - i[ 'GoogleAnalyticsObject' ] = r; | ||
87 | - i[ r ] = i[ r ] || function() { | ||
88 | - (i[ r ].q = i[ r ].q || []).push(arguments) | ||
89 | - }, i[ r ].l = 1 * new Date(); | ||
90 | - a = s.createElement(o), m = s.getElementsByTagName(o)[ 0 ]; | ||
91 | - a.async = 1; | ||
92 | - a.src = g; | ||
93 | - m.parentNode.insertBefore(a, m) | ||
94 | - })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); | ||
95 | - | ||
96 | - ga('create', '<?=$settings->ga_code?>', 'auto'); | ||
97 | - ga('send', 'pageview'); | ||
98 | - | ||
99 | - </script> | 95 | + <script async src="https://www.googletagmanager.com/gtag/js?id=UA-83015473-1"></script> |
96 | + <script> | ||
97 | + window.dataLayer = window.dataLayer || []; | ||
98 | + function gtag(){dataLayer.push(arguments);} | ||
99 | + gtag('js', new Date()); | ||
100 | + | ||
101 | + gtag('config', 'UA-83015473-1'); | ||
102 | + </script> | ||
100 | <div id="all"> | 103 | <div id="all"> |
101 | <div id="top" class="hidden-xs"> | 104 | <div id="top" class="hidden-xs"> |
102 | <div class="container"> | 105 | <div class="container"> |
@@ -145,14 +148,15 @@ | @@ -145,14 +148,15 @@ | ||
145 | <div class="container"> | 148 | <div class="container"> |
146 | <div class="navbar-header"> | 149 | <div class="navbar-header"> |
147 | 150 | ||
148 | - <a class="navbar-brand home" href="<?= rtrim(Url::to(['site/index']), "/") ?>"> | 151 | +<!-- <a class="navbar-brand home" href="--><?//= rtrim(Url::to(['site/index']), "/") ?><!--">--> |
152 | + <a class="navbar-brand home" href="/<?=$this_lang?>"> | ||
149 | <img | 153 | <img |
150 | src="/img/logo_kb.png" | 154 | src="/img/logo_kb.png" |
151 | alt="<?= $settings->name; ?>" | 155 | alt="<?= $settings->name; ?>" |
152 | class="static_logo_img" | 156 | class="static_logo_img" |
153 | > | 157 | > |
154 | </a> | 158 | </a> |
155 | - <a href="/" class="static-about-link"><div class="static_logo_about"><?= \Yii::t('app', $settings->about); ?></div></a> | 159 | + <a href="/<?=$this_lang?>" class="static-about-link"><div class="static_logo_about"><?= \Yii::t('app', $settings->about); ?></div></a> |
156 | <div class="navbar-buttons"> | 160 | <div class="navbar-buttons"> |
157 | <button type="button" class="navbar-toggle btn-template-main" data-toggle="collapse" data-target="#navigation"> | 161 | <button type="button" class="navbar-toggle btn-template-main" data-toggle="collapse" data-target="#navigation"> |
158 | <span class="sr-only">Toggle navigation</span> | 162 | <span class="sr-only">Toggle navigation</span> |
@@ -667,7 +671,7 @@ | @@ -667,7 +671,7 @@ | ||
667 | <?php | 671 | <?php |
668 | } | 672 | } |
669 | ?> | 673 | ?> |
670 | - <a href="#" class="btn btn-template-transparent-primary" data-toggle="modal" data-target="#feedback-modal"><?php echo \Yii::t( | 674 | + <a href="#" class="btn btn-template-transparent-primary press-callback" data-toggle="modal" data-target="#feedback-modal"><?php echo \Yii::t( |
671 | 'app', | 675 | 'app', |
672 | 'Contact us' | 676 | 'Contact us' |
673 | ); ?></a> | 677 | ); ?></a> |
frontend/views/site/contact.php
@@ -39,7 +39,7 @@ JS; | @@ -39,7 +39,7 @@ JS; | ||
39 | <h2><?= \Yii::t('app', 'contact_title') ?></h2> | 39 | <h2><?= \Yii::t('app', 'contact_title') ?></h2> |
40 | </div> | 40 | </div> |
41 | 41 | ||
42 | - <p class="lead"><?= \Yii::t('app', 'contact_text1') ?></p> | 42 | +<!-- <p class="lead">--><?//= \Yii::t('app', 'contact_text1') ?><!--</p>--> |
43 | <!-- <div class="contacts_photo"><img src="/img/contacts_photo.jpg" alt=""></div>--> | 43 | <!-- <div class="contacts_photo"><img src="/img/contacts_photo.jpg" alt=""></div>--> |
44 | </section> | 44 | </section> |
45 | </div> | 45 | </div> |
frontend/views/site/index.php
@@ -46,7 +46,7 @@ JS; | @@ -46,7 +46,7 @@ JS; | ||
46 | <div class="box-simple"> | 46 | <div class="box-simple"> |
47 | <a | 47 | <a |
48 | href="#" | 48 | href="#" |
49 | - class="btn button1 icon_phone modaled init-button-consultation" | 49 | + class="btn button1 icon_phone modaled init-button-consultation press-consultation" |
50 | data-title="<?= \Yii::t('app', 'green_get') ?> <?= \Yii::t('app', 'green_get2') ?>" | 50 | data-title="<?= \Yii::t('app', 'green_get') ?> <?= \Yii::t('app', 'green_get2') ?>" |
51 | data-toggle="modal" | 51 | data-toggle="modal" |
52 | data-target="#feedback-modal" | 52 | data-target="#feedback-modal" |
@@ -64,7 +64,7 @@ JS; | @@ -64,7 +64,7 @@ JS; | ||
64 | <p><?=\Yii::t('app', 'index_ses_for')?> <a href="<?=Url::toRoute("site/legal")?>"><?=\Yii::t('app', 'index_ses_leg')?></a></p> | 64 | <p><?=\Yii::t('app', 'index_ses_for')?> <a href="<?=Url::toRoute("site/legal")?>"><?=\Yii::t('app', 'index_ses_leg')?></a></p> |
65 | </div> | 65 | </div> |
66 | <div class="col-xs-12 col-sm-12 col-md-6 lsf-right"> | 66 | <div class="col-xs-12 col-sm-12 col-md-6 lsf-right"> |
67 | - <p><?=\Yii::t('app', 'index_ses_for')?> <a href="<?=Url::toRoute("site/individual")?>">"><?=\Yii::t('app', 'index_ses_fiz')?></a></p> | 67 | + <p><?=\Yii::t('app', 'index_ses_for')?> <a href="<?=Url::toRoute("site/individual")?>"><?=\Yii::t('app', 'index_ses_fiz')?></a></p> |
68 | </div> | 68 | </div> |
69 | </div> | 69 | </div> |
70 | </div> | 70 | </div> |
@@ -128,8 +128,8 @@ JS; | @@ -128,8 +128,8 @@ JS; | ||
128 | <div class="col-md-12 col-xs-12"> | 128 | <div class="col-md-12 col-xs-12"> |
129 | <div class="row"> | 129 | <div class="row"> |
130 | <div class="box-simple"> | 130 | <div class="box-simple"> |
131 | - <a href="#" class="btn button1 icon_car modaled init-button-consultation" data-title="<?=\Yii::t('app', 'index_data1')?>" data-toggle="modal" data-target="#feedback-modal"><?=\Yii::t('app', 'index_modal1')?> <span><?=\Yii::t('app', 'index_modal2')?></span></a> | ||
132 | - <a href="#" class="btn button1 icon_calc modaled init-button-consultation" data-toggle="modal" data-target="#calculate-modal"><?=\Yii::t('app', 'index_modal3')?> <span><?=\Yii::t('app', 'index_modal4')?></span></a> | 131 | + <a href="#" class="btn button1 icon_car modaled init-button-consultation press-specialist" data-title="<?=\Yii::t('app', 'index_data1')?>" data-toggle="modal" data-target="#feedback-modal"><?=\Yii::t('app', 'index_modal1')?> <span><?=\Yii::t('app', 'index_modal2')?></span></a> |
132 | + <a href="#" class="btn button1 icon_calc modaled init-button-consultation press-calculate" data-toggle="modal" data-target="#calculate-modal"><?=\Yii::t('app', 'index_modal3')?> <span><?=\Yii::t('app', 'index_modal4')?></span></a> | ||
133 | </div> | 133 | </div> |
134 | </div> | 134 | </div> |
135 | </div> | 135 | </div> |
@@ -288,7 +288,7 @@ JS; | @@ -288,7 +288,7 @@ JS; | ||
288 | 'alias' => $object->lang->alias, | 288 | 'alias' => $object->lang->alias, |
289 | ] | 289 | ] |
290 | ) ?>" class="sqre_btn blue_arrow" alt="<?=$object->lang->object_name?>"></a> | 290 | ) ?>" class="sqre_btn blue_arrow" alt="<?=$object->lang->object_name?>"></a> |
291 | - <a href="#" class="btn sqre_btn yellow_calc modaled init-button-сalculate" data-title="<?= \Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"> | 291 | + <a href="#" class="btn sqre_btn yellow_calc modaled init-button-сalculate press-consultation" data-title="<?= \Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"> |
292 | <div class="phone_hint"><?= \Yii::t('app', 'get_consult') ?></div> | 292 | <div class="phone_hint"><?= \Yii::t('app', 'get_consult') ?></div> |
293 | </a> | 293 | </a> |
294 | </td> | 294 | </td> |
@@ -385,7 +385,7 @@ JS; | @@ -385,7 +385,7 @@ JS; | ||
385 | </div> | 385 | </div> |
386 | </div> | 386 | </div> |
387 | <div class="col-md-12 col-xs-12" style="text-align:center;margin-bottom:40px;"> | 387 | <div class="col-md-12 col-xs-12" style="text-align:center;margin-bottom:40px;"> |
388 | - <a href="#" class="btn button1 icon_stat modaled init-button-order" data-title="<?= \Yii::t('app', 'modalstation') ?>" data-toggle="modal" data-target="#feedback-modal"><?=\Yii::t('app', 'index_economy15')?> <span><?=\Yii::t('app', 'index_economy16')?></span></a> | 388 | + <a href="#" class="btn button1 icon_stat modaled init-button-order press-order" data-title="<?= \Yii::t('app', 'modalstation') ?>" data-toggle="modal" data-target="#feedback-modal"><?=\Yii::t('app', 'index_economy15')?> <span><?=\Yii::t('app', 'index_economy16')?></span></a> |
389 | </div> | 389 | </div> |
390 | </div> | 390 | </div> |
391 | </div> | 391 | </div> |
frontend/views/site/individual.php
@@ -61,14 +61,14 @@ | @@ -61,14 +61,14 @@ | ||
61 | </div> | 61 | </div> |
62 | </div> | 62 | </div> |
63 | <div class="row"> | 63 | <div class="row"> |
64 | - <div style="text-align: center;margin-bottom: 35px;"><a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal" style="margin: 0 auto;"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a></div> | 64 | + <div style="text-align: center;margin-bottom: 35px;"><a href="#" class="btn button1 icon_phone modaled init-button-consultation press-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal" style="margin: 0 auto;"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a></div> |
65 | </div> | 65 | </div> |
66 | </div> | 66 | </div> |
67 | </section> | 67 | </section> |
68 | <section class="bar background-gray steps-pre"> | 68 | <section class="bar background-gray steps-pre"> |
69 | <div class="container"> | 69 | <div class="container"> |
70 | <div class="row text-center"> | 70 | <div class="row text-center"> |
71 | - <div><?= \Yii::t('app', 'nashiuslugi') ?></div> | 71 | + <div class="h2"><?= \Yii::t('app', 'nashiuslugi') ?></div> |
72 | </div> | 72 | </div> |
73 | </div> | 73 | </div> |
74 | </section> | 74 | </section> |
@@ -117,7 +117,7 @@ | @@ -117,7 +117,7 @@ | ||
117 | </div> | 117 | </div> |
118 | </div> | 118 | </div> |
119 | <div class="col-md-12 col-xs-12 get_station_center"> | 119 | <div class="col-md-12 col-xs-12 get_station_center"> |
120 | - <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | 120 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> |
121 | </div> | 121 | </div> |
122 | </div> | 122 | </div> |
123 | </div> | 123 | </div> |
@@ -167,7 +167,7 @@ | @@ -167,7 +167,7 @@ | ||
167 | </div> | 167 | </div> |
168 | </div> | 168 | </div> |
169 | <div class="col-md-12 col-xs-12 get_station_center"> | 169 | <div class="col-md-12 col-xs-12 get_station_center"> |
170 | - <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | 170 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> |
171 | </div> | 171 | </div> |
172 | </div> | 172 | </div> |
173 | </div> | 173 | </div> |
@@ -179,28 +179,28 @@ | @@ -179,28 +179,28 @@ | ||
179 | <div class="row showcase"> | 179 | <div class="row showcase"> |
180 | <div class="col-md-3 col-sm-6"> | 180 | <div class="col-md-3 col-sm-6"> |
181 | <div class="item"> | 181 | <div class="item"> |
182 | - <div class="h3"><span class="counter">58</span><br> | 182 | + <div class="h4"><span class="counter">58</span><br> |
183 | 183 | ||
184 | <?= Yii::t('app', 'sect22_1') ?></div> | 184 | <?= Yii::t('app', 'sect22_1') ?></div> |
185 | </div> | 185 | </div> |
186 | </div> | 186 | </div> |
187 | <div class="col-md-3 col-sm-6"> | 187 | <div class="col-md-3 col-sm-6"> |
188 | <div class="item"> | 188 | <div class="item"> |
189 | - <div class="h3"><span class="counter">117</span><br> | 189 | + <div class="h4"><span class="counter">117</span><br> |
190 | 190 | ||
191 | <?= Yii::t('app', 'sect22_2') ?></div> | 191 | <?= Yii::t('app', 'sect22_2') ?></div> |
192 | </div> | 192 | </div> |
193 | </div> | 193 | </div> |
194 | <div class="col-md-3 col-sm-6"> | 194 | <div class="col-md-3 col-sm-6"> |
195 | <div class="item"> | 195 | <div class="item"> |
196 | - <div class="h3"><span class="counter">193</span><br> | 196 | + <div class="h4"><span class="counter">193</span><br> |
197 | 197 | ||
198 | <?= Yii::t('app', 'sect22_3') ?></div> | 198 | <?= Yii::t('app', 'sect22_3') ?></div> |
199 | </div> | 199 | </div> |
200 | </div> | 200 | </div> |
201 | <div class="col-md-3 col-sm-6"> | 201 | <div class="col-md-3 col-sm-6"> |
202 | <div class="item"> | 202 | <div class="item"> |
203 | - <div class="h3"><span class="counter">303</span><br> | 203 | + <div class="h4"><span class="counter">303</span><br> |
204 | 204 | ||
205 | <?= Yii::t('app', 'sect22_4') ?></div> | 205 | <?= Yii::t('app', 'sect22_4') ?></div> |
206 | </div> | 206 | </div> |
frontend/views/site/legal.php
@@ -62,7 +62,7 @@ $this->registerJs($js, View::POS_END); | @@ -62,7 +62,7 @@ $this->registerJs($js, View::POS_END); | ||
62 | </div> | 62 | </div> |
63 | </div> | 63 | </div> |
64 | <div class="row"> | 64 | <div class="row"> |
65 | - <div style="text-align: center;margin-bottom: 35px;"><a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal" style="margin: 0 auto;"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a></div> | 65 | + <div style="text-align: center;margin-bottom: 35px;"><a href="#" class="btn button1 icon_phone modaled init-button-consultation press-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal" style="margin: 0 auto;"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a></div> |
66 | </div> | 66 | </div> |
67 | </div> | 67 | </div> |
68 | </section> | 68 | </section> |
@@ -119,7 +119,7 @@ $this->registerJs($js, View::POS_END); | @@ -119,7 +119,7 @@ $this->registerJs($js, View::POS_END); | ||
119 | </div> | 119 | </div> |
120 | </div> | 120 | </div> |
121 | <div class="col-md-12 col-xs-12 get_station_center"> | 121 | <div class="col-md-12 col-xs-12 get_station_center"> |
122 | - <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | 122 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> |
123 | </div> | 123 | </div> |
124 | </div> | 124 | </div> |
125 | </div> | 125 | </div> |
@@ -171,7 +171,7 @@ $this->registerJs($js, View::POS_END); | @@ -171,7 +171,7 @@ $this->registerJs($js, View::POS_END); | ||
171 | </div> | 171 | </div> |
172 | </div> | 172 | </div> |
173 | <div class="col-md-12 col-xs-12 get_station_center"> | 173 | <div class="col-md-12 col-xs-12 get_station_center"> |
174 | - <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | 174 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> |
175 | </div> | 175 | </div> |
176 | </div> | 176 | </div> |
177 | </div> | 177 | </div> |
@@ -197,7 +197,7 @@ $this->registerJs($js, View::POS_END); | @@ -197,7 +197,7 @@ $this->registerJs($js, View::POS_END); | ||
197 | </div> | 197 | </div> |
198 | </div> | 198 | </div> |
199 | <div class="col-md-12 col-xs-12 get_station_center"> | 199 | <div class="col-md-12 col-xs-12 get_station_center"> |
200 | - <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | 200 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> |
201 | </div> | 201 | </div> |
202 | </div> | 202 | </div> |
203 | </div> | 203 | </div> |
@@ -249,7 +249,7 @@ $this->registerJs($js, View::POS_END); | @@ -249,7 +249,7 @@ $this->registerJs($js, View::POS_END); | ||
249 | </div> | 249 | </div> |
250 | </div> | 250 | </div> |
251 | <div class="col-md-12 col-xs-12 get_station_center"> | 251 | <div class="col-md-12 col-xs-12 get_station_center"> |
252 | - <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | 252 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> |
253 | </div> | 253 | </div> |
254 | </div> | 254 | </div> |
255 | </div> | 255 | </div> |
@@ -275,7 +275,7 @@ $this->registerJs($js, View::POS_END); | @@ -275,7 +275,7 @@ $this->registerJs($js, View::POS_END); | ||
275 | </div> | 275 | </div> |
276 | </div> | 276 | </div> |
277 | <div class="col-md-12 col-xs-12 get_station_center"> | 277 | <div class="col-md-12 col-xs-12 get_station_center"> |
278 | - <a href="#" class="btn button1 icon_phone modaled init-button-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> | 278 | + <a href="#" class="btn button1 icon_phone modaled init-button-consultation press-consultation" data-title="<?= Yii::t('app', 'modal1') ?>" data-toggle="modal" data-target="#feedback-modal"><?= Yii::t('app', 'modal1_1') ?> <span><?= Yii::t('app', 'modal1_2') ?></span></a> |
279 | </div> | 279 | </div> |
280 | </div> | 280 | </div> |
281 | </div> | 281 | </div> |
frontend/web/css/main.css
@@ -103,7 +103,9 @@ body{position:relative;} | @@ -103,7 +103,9 @@ body{position:relative;} | ||
103 | .blue-fon .box-simple p, .background-kben .box-simple p {color: #fff;} | 103 | .blue-fon .box-simple p, .background-kben .box-simple p {color: #fff;} |
104 | .why-us .line_why {position: absolute;top: 50px;right: -83px;opacity: 0.3;} | 104 | .why-us .line_why {position: absolute;top: 50px;right: -83px;opacity: 0.3;} |
105 | .blue-fon .heading h1, .blue-fon .heading h2, .blue-fon .heading h3, .blue-fon .heading h4, .blue-fon .heading h5, | 105 | .blue-fon .heading h1, .blue-fon .heading h2, .blue-fon .heading h3, .blue-fon .heading h4, .blue-fon .heading h5, |
106 | -.background-kben .heading h1, .background-kben .heading h2, .background-kben .heading h3, .background-kben .heading h4, .background-kben .heading h5{color:#fff;border-color: #ffd800!important;} | 106 | +.blue-fon .heading .h1, .blue-fon .heading .h2, .blue-fon .heading .h3, .blue-fon .heading .h4, .blue-fon .heading .h5, |
107 | +.background-kben .heading h1, .background-kben .heading h2, .background-kben .heading h3, .background-kben .heading h4, .background-kben .heading h5, | ||
108 | +.background-kben .heading .h1, .background-kben .heading .h2, .background-kben .heading .h3, .background-kben .heading .h4, .background-kben .heading .h5{color:#fff;border-color: #ffd800!important;} | ||
107 | a.sqre_btn { | 109 | a.sqre_btn { |
108 | padding: 0; | 110 | padding: 0; |
109 | margin: 0; | 111 | margin: 0; |
@@ -173,7 +175,8 @@ section.blue-fon {padding-top: 25px;} | @@ -173,7 +175,8 @@ section.blue-fon {padding-top: 25px;} | ||
173 | } | 175 | } |
174 | .get_station_center {text-align: center;margin-top: 30px;margin-bottom: -15px;} | 176 | .get_station_center {text-align: center;margin-top: 30px;margin-bottom: -15px;} |
175 | .border5 {border-radius: 5px;} | 177 | .border5 {border-radius: 5px;} |
176 | -.card1 .heading.text-left h2 {margin-top: 0px;} | 178 | +.card1 .heading.text-left h2, |
179 | +.card1 .heading.text-left .h2 {margin-top: 0px;} | ||
177 | .bigtext {display: table-caption;} | 180 | .bigtext {display: table-caption;} |
178 | .smi_left .video {height: 422px;} | 181 | .smi_left .video {height: 422px;} |
179 | .blue_arrow { | 182 | .blue_arrow { |
@@ -366,11 +369,13 @@ section.bar.background-gray.steps-pre:before { | @@ -366,11 +369,13 @@ section.bar.background-gray.steps-pre:before { | ||
366 | background: #eeeeee; | 369 | background: #eeeeee; |
367 | z-index: 1; | 370 | z-index: 1; |
368 | } | 371 | } |
369 | -.steps-pre h2,.steps-pre div{margin: 4px 0;} | 372 | +.steps-pre h2,.steps-pre div, |
373 | +.steps-pre .h2{margin: 4px 0;} | ||
370 | .steps-pre div{margin:4px auto;font-weight:bold;} | 374 | .steps-pre div{margin:4px auto;font-weight:bold;} |
371 | .individ_main{font-size: 30px;} | 375 | .individ_main{font-size: 30px;} |
372 | #get-it {padding: 30px 0 10px;background-color:#0080ca;} | 376 | #get-it {padding: 30px 0 10px;background-color:#0080ca;} |
373 | -#main-page .blue-fon .heading h2{border:none;} | 377 | +#main-page .blue-fon .heading h2, |
378 | +#main-page .blue-fon .heading .h2{border:none;} | ||
374 | #main-page .row.portfolio{display: flex;flex-wrap: wrap;} | 379 | #main-page .row.portfolio{display: flex;flex-wrap: wrap;} |
375 | .main-slider .carousel-inner, .main-slider .carousel-inner > .item {height:100%;width:100%;position:relative;} | 380 | .main-slider .carousel-inner, .main-slider .carousel-inner > .item {height:100%;width:100%;position:relative;} |
376 | .main-slider .img-responsive, .thumbnail > img, .main-slider .thumbnail a > img, .carousel-inner > .item > img, .main-slider .carousel-inner > .item > a > img { | 381 | .main-slider .img-responsive, .thumbnail > img, .main-slider .thumbnail a > img, .carousel-inner > .item > img, .main-slider .carousel-inner > .item > a > img { |
@@ -494,7 +499,8 @@ section.bar.background-gray.steps-pre:before { | @@ -494,7 +499,8 @@ section.bar.background-gray.steps-pre:before { | ||
494 | 499 | ||
495 | /*heading breadcrumbs blue fon*/ | 500 | /*heading breadcrumbs blue fon*/ |
496 | #heading-breadcrumbs{background-color: #0080ca;background-image: url(/img/slide_two_fon.png);} | 501 | #heading-breadcrumbs{background-color: #0080ca;background-image: url(/img/slide_two_fon.png);} |
497 | -#heading-breadcrumbs h1{color: #fdfdfd;} | 502 | +#heading-breadcrumbs h1, |
503 | +#heading-breadcrumbs .h1{color: #fdfdfd;} | ||
498 | #heading-breadcrumbs .breadcrumb > .active {color: #d0d0d0;font-weight: bold;} | 504 | #heading-breadcrumbs .breadcrumb > .active {color: #d0d0d0;font-weight: bold;} |
499 | #heading-breadcrumbs .breadcrumb > li + li:before {color: #ececec;} | 505 | #heading-breadcrumbs .breadcrumb > li + li:before {color: #ececec;} |
500 | #heading-breadcrumbs .breadcrumb li a {color: #efefef;} | 506 | #heading-breadcrumbs .breadcrumb li a {color: #efefef;} |
@@ -1016,11 +1022,13 @@ p.error-text{ | @@ -1016,11 +1022,13 @@ p.error-text{ | ||
1016 | .nav.navbar-nav.navbar-right{margin: 0;float: none!important;} | 1022 | .nav.navbar-nav.navbar-right{margin: 0;float: none!important;} |
1017 | } | 1023 | } |
1018 | @media(max-width:520px){ | 1024 | @media(max-width:520px){ |
1019 | - #heading-breadcrumbs h1 {font-size: 5.78vw;} | 1025 | + #heading-breadcrumbs h1, |
1026 | + #heading-breadcrumbs .h1 {font-size: 5.78vw;} | ||
1020 | #video-bg .arrow_bottom a{font-size:60px;} | 1027 | #video-bg .arrow_bottom a{font-size:60px;} |
1021 | } | 1028 | } |
1022 | @media(min-width:501px){ | 1029 | @media(min-width:501px){ |
1023 | - .bigtext#header3 h2{width: 161%;} | 1030 | + .bigtext#header3 h2, |
1031 | + .bigtext#header3 .h2{width: 161%;} | ||
1024 | } | 1032 | } |
1025 | @media(max-width:500px){ | 1033 | @media(max-width:500px){ |
1026 | .form-comm-wr .form-group{width:100%;} | 1034 | .form-comm-wr .form-group{width:100%;} |
frontend/web/js/script.js
@@ -111,5 +111,78 @@ $( | @@ -111,5 +111,78 @@ $( | ||
111 | return false; | 111 | return false; |
112 | } | 112 | } |
113 | ); | 113 | ); |
114 | + | ||
115 | + $(".close").on('click', function(){ | ||
116 | + $(".send-form").removeClass("specialist"); | ||
117 | + $(".send-form").removeClass("calculate"); | ||
118 | + $(".send-form").removeClass("order"); | ||
119 | + $(".send-form").removeClass("call"); | ||
120 | + $(".send-form").removeClass("callback"); | ||
121 | + $(".send-form").removeClass("consultation"); | ||
122 | + $("#feedback-form")['0'].reset(); | ||
123 | + }); | ||
124 | + $(".modal.fade.in").on('click',function(){ | ||
125 | + $("#feedback-form")['0'].reset(); | ||
126 | + $(".send-form").removeClass("specialist"); | ||
127 | + $(".send-form").removeClass("calculate"); | ||
128 | + $(".send-form").removeClass("order"); | ||
129 | + $(".send-form").removeClass("call"); | ||
130 | + $(".send-form").removeClass("callback"); | ||
131 | + $(".send-form").removeClass("consultation"); | ||
132 | + }); | ||
133 | + $(".press-consultation").on('click',function(){ | ||
134 | + $("#feedback-form")['0'].reset(); | ||
135 | + $(".send-form").removeClass("specialist"); | ||
136 | + $(".send-form").removeClass("calculate"); | ||
137 | + $(".send-form").removeClass("order"); | ||
138 | + $(".send-form").removeClass("call"); | ||
139 | + $(".send-form").removeClass("callback"); | ||
140 | + $(".send-form").addClass("consultation"); | ||
141 | + }); | ||
142 | + $(".press-specialist").on('click',function(){ | ||
143 | + $("#feedback-form")['0'].reset(); | ||
144 | + $(".send-form").addClass("specialist"); | ||
145 | + $(".send-form").removeClass("calculate"); | ||
146 | + $(".send-form").removeClass("order"); | ||
147 | + $(".send-form").removeClass("call"); | ||
148 | + $(".send-form").removeClass("callback"); | ||
149 | + $(".send-form").removeClass("consultation"); | ||
150 | + }); | ||
151 | + $(".press-calculate").on('click',function(){ | ||
152 | + $("#feedback-form")['0'].reset(); | ||
153 | + $(".send-form").removeClass("specialist"); | ||
154 | + $(".send-form").addClass("calculate"); | ||
155 | + $(".send-form").removeClass("order"); | ||
156 | + $(".send-form").removeClass("call"); | ||
157 | + $(".send-form").removeClass("callback"); | ||
158 | + $(".send-form").removeClass("consultation"); | ||
159 | + }); | ||
160 | + $(".press-order").on('click',function(){ | ||
161 | + $("#feedback-form")['0'].reset(); | ||
162 | + $(".send-form").removeClass("specialist"); | ||
163 | + $(".send-form").removeClass("calculate"); | ||
164 | + $(".send-form").addClass("order"); | ||
165 | + $(".send-form").removeClass("call"); | ||
166 | + $(".send-form").removeClass("callback"); | ||
167 | + $(".send-form").removeClass("consultation"); | ||
168 | + }); | ||
169 | + $(".press-call").on('click',function(){ | ||
170 | + $("#feedback-form")['0'].reset(); | ||
171 | + $(".send-form").removeClass("specialist"); | ||
172 | + $(".send-form").removeClass("calculate"); | ||
173 | + $(".send-form").removeClass("order"); | ||
174 | + $(".send-form").addClass("call"); | ||
175 | + $(".send-form").removeClass("callback"); | ||
176 | + $(".send-form").removeClass("consultation"); | ||
177 | + }); | ||
178 | + $(".press-callback").on('click',function(){ | ||
179 | + $("#feedback-form")['0'].reset(); | ||
180 | + $(".send-form").removeClass("specialist"); | ||
181 | + $(".send-form").removeClass("calculate"); | ||
182 | + $(".send-form").removeClass("order"); | ||
183 | + $(".send-form").removeClass("call"); | ||
184 | + $(".send-form").addClass("callback"); | ||
185 | + $(".send-form").removeClass("consultation"); | ||
186 | + }); | ||
114 | } | 187 | } |
115 | ); | 188 | ); |
116 | \ No newline at end of file | 189 | \ No newline at end of file |