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 | 314 | 'ind_text10' => 'Наши специалисты следят за работой установленной СЭС. Мы делаем это с помощью специального инвертора Fronius Symo, со встроенным WI-FI мониторингом. Каждую неделю вы получаете отчет о работе вашей СЭС. Также вы можете заказать мониторинг в виде мобильного приложения.', |
| 315 | 315 | 'individ_header_cover' => 'sl_kbindiv_01_ru.jpg', |
| 316 | 316 | 'NewsFollow' => 'Следите за новостями', |
| 317 | + 'city_short' => 'г', | |
| 317 | 318 | ]; |
| 318 | 319 | \ No newline at end of file | ... | ... |
common/messages/ua/app.php
| ... | ... | @@ -316,4 +316,5 @@ return [ |
| 316 | 316 | 'ind_text10' => 'Наші спеціалісти слідкують за роботою установленої СЕС. Ми робимо це за допомогою спеціального інвертору Fronius Symo, з вбудованим Wi-Fi моніторингом. Кожен тиждень ви будете отримувати звіт стосовно роботи вашої СЕС. Також ви можете замовити моніторинг у вигляді мобільного додатку.', |
| 317 | 317 | 'individ_header_cover' => 'sl_kbindiv_01_ukr.jpg', |
| 318 | 318 | 'NewsFollow' => 'Слідкуйте за новинами', |
| 319 | + 'city_short' => 'м', | |
| 319 | 320 | ]; |
| 320 | 321 | \ No newline at end of file | ... | ... |
frontend/views/layouts/main.php
| ... | ... | @@ -680,12 +680,24 @@ |
| 680 | 680 | <div class="col-md-4 col-sm-12"> |
| 681 | 681 | |
| 682 | 682 | <h4><?php echo \Yii::t('app', 'Contact'); ?></h4> |
| 683 | - | |
| 683 | + | |
| 684 | 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 | 701 | <!-- --><?php |
| 690 | 702 | // if (!empty($settings->office)) { |
| 691 | 703 | // echo \Yii::t( |
| ... | ... | @@ -711,7 +723,6 @@ |
| 711 | 723 | // echo Html::tag('strong', $settings->country); |
| 712 | 724 | // } |
| 713 | 725 | // ?> |
| 714 | - </p> | |
| 715 | 726 | |
| 716 | 727 | <?= Html::a( |
| 717 | 728 | \Yii::t('app', 'Go to contact page'), | ... | ... |
frontend/web/css/main.css
| ... | ... | @@ -74,6 +74,10 @@ body{position:relative;} |
| 74 | 74 | line-height: 13px; |
| 75 | 75 | cursor: pointer; |
| 76 | 76 | } |
| 77 | +.address_footer_table td{ | |
| 78 | + vertical-align: top; | |
| 79 | + padding-right:7px; | |
| 80 | +} | |
| 77 | 81 | #top { |
| 78 | 82 | background: #f6f6f6; |
| 79 | 83 | color: #000; |
| ... | ... | @@ -256,14 +260,15 @@ section.blue-fon {padding-top: 25px;} |
| 256 | 260 | position: relative; |
| 257 | 261 | top: 0; |
| 258 | 262 | left: 0; |
| 259 | - z-index: -1000; | |
| 263 | + z-index: 1; | |
| 260 | 264 | width: 100%; |
| 261 | 265 | height: 100%; |
| 262 | - max-height: calc(100vh - 22px); | |
| 266 | + max-height: calc(100vh - 92px); | |
| 263 | 267 | overflow: hidden; |
| 264 | 268 | display: flex; |
| 265 | 269 | align-items: center; |
| 266 | 270 | justify-content: center; |
| 271 | + opacity: 0.7; | |
| 267 | 272 | } |
| 268 | 273 | #video-bg:after { |
| 269 | 274 | content: ''; |
| ... | ... | @@ -275,7 +280,7 @@ section.blue-fon {padding-top: 25px;} |
| 275 | 280 | background: rgba(0, 0, 0, 0.1); |
| 276 | 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 | 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 | 285 | .share_social.vk{background-position:0px 0px;} |
| 281 | 286 | .share_social.fb{background-position:-56px 0px;} | ... | ... |