Commit 394d4a6ab332ea19fe6c707e4581715e597d3002
1 parent
716f52bf
Commit
Showing
28 changed files
with
59 additions
and
40 deletions
Show diff stats
frontend/views/company/_company_list_view.php
| ... | ... | @@ -11,9 +11,9 @@ $http_pattern = '/^https?.*$/'; |
| 11 | 11 | <div class="command-block-foto"> |
| 12 | 12 | <?php |
| 13 | 13 | if(empty( $model->link )) { |
| 14 | - echo ( $model->photo ? Html::img($model->photo) : '' ) . '<div class="hover-command-bg"></div>'; | |
| 14 | + echo ( Html::img(\Yii::$app->user->identity->minImg($model->photo, 220, 220)) ) . '<div class="hover-command-bg"></div>'; | |
| 15 | 15 | } else { |
| 16 | - echo Html::a(( $model->photo ? Html::img($model->photo) : '' ) . '<div class="hover-command-bg"></div>', (preg_match($http_pattern, $model->link))?$model->link:'http://'.$model->link); | |
| 16 | + echo Html::a((Html::img(\Yii::$app->user->identity->minImg($model->photo, 220, 220))) . '<div class="hover-command-bg"></div>', (preg_match($http_pattern, $model->link))?$model->link:'http://'.$model->link); | |
| 17 | 17 | } |
| 18 | 18 | ?> |
| 19 | 19 | </div> | ... | ... |
frontend/views/company/blog-list.php
frontend/views/company/common.php
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | use yii\widgets\ListView; |
| 16 | 16 | |
| 17 | 17 | $this->params[ 'company' ] = $company; |
| 18 | - $this->title = 'My Yii Application'; | |
| 18 | + $this->title = 'Proektant.net'; | |
| 19 | 19 | ?> |
| 20 | 20 | <div class="company-performer-title style">О компании</div> |
| 21 | 21 | <div class="company-performer-txt style"> | ... | ... |
frontend/views/company/gallery.php
| 1 | 1 | <?php |
| 2 | 2 | use common\models\User; |
| 3 | - use yii\widgets\LinkPager; | |
| 4 | 3 | use yii\widgets\ListView; |
| 5 | 4 | |
| 6 | 5 | /** |
| ... | ... | @@ -9,17 +8,18 @@ |
| 9 | 8 | */ |
| 10 | 9 | |
| 11 | 10 | $this->params[ 'company' ] = $company; |
| 12 | - $this->title = 'My Yii Application'; | |
| 11 | + $this->title = 'Proektant.net'; | |
| 13 | 12 | if(empty( $videos ) && empty( $gallery->getModels() )) { |
| 14 | 13 | ?> |
| 15 | 14 | <div class="gallery-performer-wrapper style"> |
| 16 | - <div> | |
| 15 | + <div class="gallery-performer-margin"> | |
| 17 | 16 | Галерей к просмотру не найдено |
| 18 | 17 | </div> |
| 19 | 18 | </div> |
| 20 | 19 | <?php |
| 21 | 20 | } else { |
| 22 | - if(!empty( $videos )) { ?> | |
| 21 | + if(!empty( $videos )) { | |
| 22 | + ?> | |
| 23 | 23 | <div class="video-performer-wrapper style"> |
| 24 | 24 | <div class="gallery-title">Видео: <?= count($videos) ?></div> |
| 25 | 25 | <div class="slider-video-wr"> |
| ... | ... | @@ -42,7 +42,8 @@ |
| 42 | 42 | </div> |
| 43 | 43 | </div> |
| 44 | 44 | </div> |
| 45 | - <?php } | |
| 45 | + <?php | |
| 46 | + } | |
| 46 | 47 | ?> |
| 47 | 48 | <div class="gallery-performer-wrapper style"> |
| 48 | 49 | <div class="gallery-performer-margin"> |
| ... | ... | @@ -56,6 +57,7 @@ |
| 56 | 57 | </div> |
| 57 | 58 | <?php |
| 58 | 59 | } |
| 60 | + | |
| 59 | 61 | ?> |
| 60 | 62 | <script> |
| 61 | 63 | $( | ... | ... |
frontend/views/company/portfolio-view.php
| ... | ... | @@ -18,7 +18,7 @@ |
| 18 | 18 | */ |
| 19 | 19 | $this->params[ 'company' ] = $user; |
| 20 | 20 | |
| 21 | - $this->title = 'My Yii Application'; | |
| 21 | + $this->title = 'Proektant.net'; | |
| 22 | 22 | $rating = $portfolio->getRatingValue(); |
| 23 | 23 | if(!empty( $portfolio_user )) { |
| 24 | 24 | $portfolio_user_gallery = $portfolio->ShowGallery($portfolio_user->gallery->photo); | ... | ... |
frontend/views/company/portfolio.php
frontend/views/company/project-list.php
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | */ |
| 13 | 13 | $this->params[ 'company' ] = $company; |
| 14 | 14 | |
| 15 | - $this->title = 'My Yii Application'; | |
| 15 | + $this->title = 'Proektant.net'; | |
| 16 | 16 | ?> |
| 17 | 17 | <div class="proektant-profile-content" style="width:100%"> |
| 18 | 18 | <div class="search-worker-title style">Сейчас <?= $dataProvider->totalCount ?> предложений</div> | ... | ... |
frontend/views/company/review.php
frontend/views/company/team.php
frontend/views/company/vacancy-list.php
frontend/views/company/vacancy-view.php
frontend/views/layouts/gallery-company.php
| ... | ... | @@ -3,10 +3,9 @@ |
| 3 | 3 | use kartik\rating\StarRating; |
| 4 | 4 | use yii\helpers\Html; |
| 5 | 5 | use yii\helpers\Url; |
| 6 | - use yii\widgets\Breadcrumbs; | |
| 7 | 6 | use yii\widgets\Menu; |
| 8 | 7 | |
| 9 | - \frontend\assets\AdminAsset::register($this); | |
| 8 | + \frontend\assets\AppAsset::register($this); | |
| 10 | 9 | /* @var $content string */ |
| 11 | 10 | $this->beginContent('@app/views/layouts/main.php'); |
| 12 | 11 | ?> | ... | ... |
frontend/views/layouts/gallery.php
frontend/views/performer/blog-list.php
frontend/views/performer/common.php
frontend/views/performer/gallery.php
| 1 | 1 | <?php |
| 2 | - | |
| 2 | + use common\models\User; | |
| 3 | 3 | use yii\widgets\ListView; |
| 4 | 4 | |
| 5 | 5 | /** |
| ... | ... | @@ -7,7 +7,8 @@ |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | $this->params[ 'user' ] = $user; |
| 10 | - $this->title = 'My Yii Application'; | |
| 10 | + $this->title = 'Proektant.net'; | |
| 11 | + | |
| 11 | 12 | if(empty( $videos ) && empty( $gallery->getModels() )) { |
| 12 | 13 | ?> |
| 13 | 14 | <div class="gallery-performer-wrapper style"> |
| ... | ... | @@ -29,7 +30,6 @@ |
| 29 | 30 | <div class="iframe-video"> |
| 30 | 31 | <iframe width="560" height="320" src="<?= $video[ 'youtube' ] ?>" frameborder="0" allowfullscreen></iframe> |
| 31 | 32 | </div> |
| 32 | - | |
| 33 | 33 | <a href="#"></a><span></span> |
| 34 | 34 | </li> |
| 35 | 35 | <?php endforeach; ?> | ... | ... |
frontend/views/performer/portfolio-view.php
| ... | ... | @@ -19,8 +19,8 @@ |
| 19 | 19 | * @var PortfolioUser $portfolio_user |
| 20 | 20 | */ |
| 21 | 21 | $this->params[ 'user' ] = $user; |
| 22 | + $this->title = 'Proektant.net'; | |
| 22 | 23 | |
| 23 | - $this->title = 'My Yii Application'; | |
| 24 | 24 | $rating = $portfolio->getRatingValue(); |
| 25 | 25 | if(!empty( $portfolio_user )) { |
| 26 | 26 | $portfolio_user_gallery = $portfolio->ShowGallery($portfolio_user->gallery->photo); | ... | ... |
frontend/views/performer/portfolio.php
frontend/views/performer/project-list.php
| ... | ... | @@ -11,8 +11,8 @@ |
| 11 | 11 | * @var ActiveDataProvider $dataProvider |
| 12 | 12 | */ |
| 13 | 13 | $this->params[ 'user' ] = $user; |
| 14 | + $this->title = 'Proektant.net'; | |
| 14 | 15 | |
| 15 | - $this->title = 'My Yii Application'; | |
| 16 | 16 | ?> |
| 17 | 17 | <div class="proektant-profile-content" style="width:100%"> |
| 18 | 18 | <div class="search-worker-title style">Сейчас <?= $dataProvider->totalCount ?> предложений</div> | ... | ... |
frontend/views/performer/review.php
frontend/views/performer/workplace.php
frontend/views/search/performer.php
| ... | ... | @@ -20,7 +20,8 @@ |
| 20 | 20 | $active_key = array_keys($sort_array)[ 0 ]; |
| 21 | 21 | $active_value = $sort_array[ $active_key ]; |
| 22 | 22 | $sort_name = ( ( $active_value == 4 ) ? '-' : '' ) . $active_key; |
| 23 | - $this->title = 'My Yii Application'; | |
| 23 | + $this->title = 'Proektant.net'; | |
| 24 | + | |
| 24 | 25 | ?> |
| 25 | 26 | |
| 26 | 27 | <div class="section-box content"> | ... | ... |
frontend/views/search/project.php
| ... | ... | @@ -16,8 +16,8 @@ |
| 16 | 16 | use yii\web\View; |
| 17 | 17 | use yii\widgets\ActiveForm; |
| 18 | 18 | use yii\widgets\ListView; |
| 19 | + $this->title = 'Proektant.net'; | |
| 19 | 20 | |
| 20 | - $this->title = 'My Yii Application'; | |
| 21 | 21 | ?> |
| 22 | 22 | |
| 23 | 23 | <div class="section-box content"> |
| ... | ... | @@ -181,7 +181,7 @@ |
| 181 | 181 | </div> |
| 182 | 182 | <div> |
| 183 | 183 | <?php |
| 184 | - | |
| 184 | + /* | |
| 185 | 185 | ?> |
| 186 | 186 | <div class="section-box" style="height: 720px; overflow: hidden"> |
| 187 | 187 | <div class="map-settings-opacity"></div> |
| ... | ... | @@ -367,7 +367,7 @@ |
| 367 | 367 | </div> |
| 368 | 368 | <div id="map_canvas" style="width: 100%; height:100%;"></div> |
| 369 | 369 | <?php |
| 370 | - | |
| 370 | + */ | |
| 371 | 371 | /* Решено убрать нижний слайдер |
| 372 | 372 | ?> |
| 373 | 373 | <div class="slider_map-wr"> | ... | ... |
frontend/views/search/vacancy.php
frontend/views/site/index.php
| ... | ... | @@ -7,7 +7,8 @@ |
| 7 | 7 | * @var $this yii\web\View |
| 8 | 8 | * @var $specializations common\models\Specialization |
| 9 | 9 | */ |
| 10 | - $this->title = 'My Yii Application'; | |
| 10 | + $this->title = 'Proektant.net'; | |
| 11 | + | |
| 11 | 12 | ?> |
| 12 | 13 | <?php |
| 13 | 14 | CustomizeBootstrapAsset::register($this); |
| ... | ... | @@ -60,6 +61,9 @@ |
| 60 | 61 | </div> |
| 61 | 62 | </div> |
| 62 | 63 | </div> |
| 64 | +<?php | |
| 65 | +/* | |
| 66 | +?> | |
| 63 | 67 | <div class="section-box-2"> |
| 64 | 68 | <div class="box-wr"> |
| 65 | 69 | <div class="box-all"> |
| ... | ... | @@ -113,7 +117,9 @@ |
| 113 | 117 | <div id="map_main" style="width: 100%; height:100%;"></div> |
| 114 | 118 | </div> |
| 115 | 119 | </div> |
| 116 | - | |
| 120 | +<?php | |
| 121 | +*/ | |
| 122 | +?> | |
| 117 | 123 | <div class="section-box-4"> |
| 118 | 124 | <div class="box-wr"> |
| 119 | 125 | <div class="box-all"> | ... | ... |
frontend/views/site/options.php
frontend/views/tender/view.php
frontend/web/js/script.js
| ... | ... | @@ -894,8 +894,12 @@ $(document).ready( |
| 894 | 894 | $('.video-slider ul li').click( |
| 895 | 895 | function(e) |
| 896 | 896 | { |
| 897 | - $('.video-full').append('<div class="closed-form"></div>') | |
| 898 | 897 | e.preventDefault() |
| 898 | + if(!$('#overlay').length) { | |
| 899 | + $('body').append('<div id="overlay"></div>'); | |
| 900 | + } | |
| 901 | + $('.video-full').append('<div class="closed-form"></div>') | |
| 902 | + | |
| 899 | 903 | $('#overlay').fadeIn( |
| 900 | 904 | 400, function() |
| 901 | 905 | { | ... | ... |