Commit f553f82a3d0dd9d0bb331db5eafd63caf45b63a6
1 parent
b8e51c58
правки
Showing
4 changed files
with
27 additions
and
9 deletions
Show diff stats
common/messages/ru/app.php
@@ -314,4 +314,5 @@ return [ | @@ -314,4 +314,5 @@ return [ | ||
314 | 'ind_text10' => 'Наши специалисты следят за работой установленной СЭС. Мы делаем это с помощью специального инвертора Fronius Symo, со встроенным WI-FI мониторингом. Каждую неделю вы получаете отчет о работе вашей СЭС. Также вы можете заказать мониторинг в виде мобильного приложения.', | 314 | 'ind_text10' => 'Наши специалисты следят за работой установленной СЭС. Мы делаем это с помощью специального инвертора Fronius Symo, со встроенным WI-FI мониторингом. Каждую неделю вы получаете отчет о работе вашей СЭС. Также вы можете заказать мониторинг в виде мобильного приложения.', |
315 | 'individ_header_cover' => 'sl_kbindiv_01_ru.jpg', | 315 | 'individ_header_cover' => 'sl_kbindiv_01_ru.jpg', |
316 | 'NewsFollow' => 'Следите за новостями', | 316 | 'NewsFollow' => 'Следите за новостями', |
317 | + 'city_short' => 'г', | ||
317 | ]; | 318 | ]; |
318 | \ No newline at end of file | 319 | \ No newline at end of file |
common/messages/ua/app.php
@@ -316,4 +316,5 @@ return [ | @@ -316,4 +316,5 @@ return [ | ||
316 | 'ind_text10' => 'Наші спеціалісти слідкують за роботою установленої СЕС. Ми робимо це за допомогою спеціального інвертору Fronius Symo, з вбудованим Wi-Fi моніторингом. Кожен тиждень ви будете отримувати звіт стосовно роботи вашої СЕС. Також ви можете замовити моніторинг у вигляді мобільного додатку.', | 316 | 'ind_text10' => 'Наші спеціалісти слідкують за роботою установленої СЕС. Ми робимо це за допомогою спеціального інвертору Fronius Symo, з вбудованим Wi-Fi моніторингом. Кожен тиждень ви будете отримувати звіт стосовно роботи вашої СЕС. Також ви можете замовити моніторинг у вигляді мобільного додатку.', |
317 | 'individ_header_cover' => 'sl_kbindiv_01_ukr.jpg', | 317 | 'individ_header_cover' => 'sl_kbindiv_01_ukr.jpg', |
318 | 'NewsFollow' => 'Слідкуйте за новинами', | 318 | 'NewsFollow' => 'Слідкуйте за новинами', |
319 | + 'city_short' => 'м', | ||
319 | ]; | 320 | ]; |
320 | \ No newline at end of file | 321 | \ No newline at end of file |
frontend/views/layouts/main.php
@@ -680,12 +680,24 @@ | @@ -680,12 +680,24 @@ | ||
680 | <div class="col-md-4 col-sm-12"> | 680 | <div class="col-md-4 col-sm-12"> |
681 | 681 | ||
682 | <h4><?php echo \Yii::t('app', 'Contact'); ?></h4> | 682 | <h4><?php echo \Yii::t('app', 'Contact'); ?></h4> |
683 | - | 683 | + |
684 | <p> | 684 | <p> |
685 | - <b><?=\Yii::t('app', 'address1')?>:</b> 02095, <?=\Yii::t('app', $settings->country)?>, г. <?=\Yii::t('app', $settings->city)?> <br/><?=\Yii::t('app', $settings->street)?>, <?=\Yii::t('app', $settings->house)?>, <?=\Yii::t('app', 'office')?> <?=\Yii::t('app', $settings->office)?><br/> | ||
686 | - <b><?=\Yii::t('app', 'Tel')?>.:</b> | ||
687 | - <a href="tel:<?=$settings->phone?>"><?=$settings->phone?></a><br/><a href="tel:<?=$settings->phone2?>"><?=$settings->phone2?></a><br/> | ||
688 | - <b><?=\Yii::t('app', 'Mail')?>:</b> <a href="mailto:<?=$settings->email?>"><?=$settings->email?></a> | 685 | + <table border="0" class="address_footer_table"> |
686 | + <tr><td><b><i class="fa fa-map-marker" aria-hidden="true"></i></b></td><td>02095, <?=\Yii::t('app', $settings->country)?>, <?=\Yii::t('app', 'city_short')?>. <?=\Yii::t('app', $settings->city)?> <br/><?=\Yii::t('app', $settings->street)?>, <?=\Yii::t('app', $settings->house)?>, <?=\Yii::t('app', 'office')?> <?=\Yii::t('app', $settings->office)?></td></tr> | ||
687 | + <?php | ||
688 | + if(!empty($settings->phone)){ | ||
689 | + echo '<tr><td><b><i class="fa fa-phone" aria-hidden="true"></i></b></td><td><a href="tel:'.$settings->phone.'">'.$settings->phone.'</a>'; | ||
690 | + if(!empty($settings->phone2)){ | ||
691 | + echo '<br/><a href="tel:'.$settings->phone2.'">'.$settings->phone2.'</a></td></tr>'; | ||
692 | + } | ||
693 | + else{ | ||
694 | + echo '</td></tr>'; | ||
695 | + } | ||
696 | + } | ||
697 | + ?> | ||
698 | + <tr><td><b><i class="fa fa-envelope" aria-hidden="true"></i></b></td><td><a href="mailto:<?=$settings->email?>"><?=$settings->email?></td></tr> | ||
699 | + </table> | ||
700 | + </p> | ||
689 | <!-- --><?php | 701 | <!-- --><?php |
690 | // if (!empty($settings->office)) { | 702 | // if (!empty($settings->office)) { |
691 | // echo \Yii::t( | 703 | // echo \Yii::t( |
@@ -711,7 +723,6 @@ | @@ -711,7 +723,6 @@ | ||
711 | // echo Html::tag('strong', $settings->country); | 723 | // echo Html::tag('strong', $settings->country); |
712 | // } | 724 | // } |
713 | // ?> | 725 | // ?> |
714 | - </p> | ||
715 | 726 | ||
716 | <?= Html::a( | 727 | <?= Html::a( |
717 | \Yii::t('app', 'Go to contact page'), | 728 | \Yii::t('app', 'Go to contact page'), |
frontend/web/css/main.css
@@ -74,6 +74,10 @@ body{position:relative;} | @@ -74,6 +74,10 @@ body{position:relative;} | ||
74 | line-height: 13px; | 74 | line-height: 13px; |
75 | cursor: pointer; | 75 | cursor: pointer; |
76 | } | 76 | } |
77 | +.address_footer_table td{ | ||
78 | + vertical-align: top; | ||
79 | + padding-right:7px; | ||
80 | +} | ||
77 | #top { | 81 | #top { |
78 | background: #f6f6f6; | 82 | background: #f6f6f6; |
79 | color: #000; | 83 | color: #000; |
@@ -256,14 +260,15 @@ section.blue-fon {padding-top: 25px;} | @@ -256,14 +260,15 @@ section.blue-fon {padding-top: 25px;} | ||
256 | position: relative; | 260 | position: relative; |
257 | top: 0; | 261 | top: 0; |
258 | left: 0; | 262 | left: 0; |
259 | - z-index: -1000; | 263 | + z-index: 1; |
260 | width: 100%; | 264 | width: 100%; |
261 | height: 100%; | 265 | height: 100%; |
262 | - max-height: calc(100vh - 22px); | 266 | + max-height: calc(100vh - 92px); |
263 | overflow: hidden; | 267 | overflow: hidden; |
264 | display: flex; | 268 | display: flex; |
265 | align-items: center; | 269 | align-items: center; |
266 | justify-content: center; | 270 | justify-content: center; |
271 | + opacity: 0.7; | ||
267 | } | 272 | } |
268 | #video-bg:after { | 273 | #video-bg:after { |
269 | content: ''; | 274 | content: ''; |
@@ -275,7 +280,7 @@ section.blue-fon {padding-top: 25px;} | @@ -275,7 +280,7 @@ section.blue-fon {padding-top: 25px;} | ||
275 | background: rgba(0, 0, 0, 0.1); | 280 | background: rgba(0, 0, 0, 0.1); |
276 | box-shadow: inset 0px 250px 250px -250px black, inset 0px -250px 250px -250px black; | 281 | box-shadow: inset 0px 250px 250px -250px black, inset 0px -250px 250px -250px black; |
277 | } | 282 | } |
278 | -#legal-wr .video_main{margin-top:-40px;} | 283 | +#legal-wr .video_main{background-color: #000;z-index: -1000;} |
279 | .share_social{width:48px;height:48px;background-image:url('../img/socnets.png');display:inline-block;margin:0;padding:0;border-radius:50%;overflow:hidden;margin-top:5px;margin-right:3px;} | 284 | .share_social{width:48px;height:48px;background-image:url('../img/socnets.png');display:inline-block;margin:0;padding:0;border-radius:50%;overflow:hidden;margin-top:5px;margin-right:3px;} |
280 | .share_social.vk{background-position:0px 0px;} | 285 | .share_social.vk{background-position:0px 0px;} |
281 | .share_social.fb{background-position:-56px 0px;} | 286 | .share_social.fb{background-position:-56px 0px;} |