Commit 01cd3c0fe2b9e32c2a30378e5c8d4e6c66166b54
1 parent
4bc945bc
tokar commit
Showing
6 changed files
with
107 additions
and
16 deletions
Show diff stats
frontend/views/layouts/company.php
... | ... | @@ -16,10 +16,17 @@ $this->beginContent('@app/views/layouts/main.php'); |
16 | 16 | <div class="performance-vacancy-call-back"> |
17 | 17 | <div class="performance-vacancy-call-back-title">Оставьте заявку<br />и мы вам перезвоним</div> |
18 | 18 | <form class="callback" action=""> |
19 | - <label for="callbac_name">Имя</label> | |
20 | - <input id="callbac_name" type="text"/> | |
21 | - <label for="callbac_phone">Телефон</label> | |
22 | - <input id="callbac_phone" type="text"/> | |
19 | + | |
20 | + <div class="input-blocks-wrapper"> | |
21 | + <label for="callbac_name">Имя</label> | |
22 | + <input id="callbac_name" type="text"/> | |
23 | + </div> | |
24 | + | |
25 | + <div class="input-blocks-wrapper"> | |
26 | + <label for="callbac_phone">Телефон</label> | |
27 | + <input id="callbac_phone" type="text"/> | |
28 | + </div> | |
29 | + | |
23 | 30 | <input id="callbac_submit" type="submit" value="Перезвонить мне"/> |
24 | 31 | </form> |
25 | 32 | <div class="performance-vacancy-call-back-conf">Гарантируем конфидециальность</div> | ... | ... |
frontend/views/search/company.php
... | ... | @@ -100,6 +100,12 @@ use yii\widgets\ListView; |
100 | 100 | <input type="submit" value="Найти"/> |
101 | 101 | </div> |
102 | 102 | </form> |
103 | + <script> | |
104 | + $('div.rating').rating({ | |
105 | + fx: 'full', | |
106 | + url: 'rating.php' | |
107 | + }); | |
108 | + </script> | |
103 | 109 | </div> |
104 | 110 | <div class="right-search-work"> |
105 | 111 | <div class="search-worker-title style">Найти исполнителя</div> |
... | ... | @@ -144,6 +150,14 @@ use yii\widgets\ListView; |
144 | 150 | ?> |
145 | 151 | </div> |
146 | 152 | |
153 | + <script> | |
154 | + $('div.rating-new').rating({ | |
155 | + fx: 'full', | |
156 | + readOnly: 'true', | |
157 | + url: 'rating.php' | |
158 | + }); | |
159 | + </script> | |
160 | + | |
147 | 161 | </div> |
148 | 162 | </div> |
149 | 163 | </div> | ... | ... |
frontend/views/search/performer.php
... | ... | @@ -159,6 +159,12 @@ $this->title = 'My Yii Application'; |
159 | 159 | <input type="submit" value="Найти"/> |
160 | 160 | </div> |
161 | 161 | </form> |
162 | + <script> | |
163 | + $('div.rating').rating({ | |
164 | + fx: 'full', | |
165 | + url: 'rating.php' | |
166 | + }); | |
167 | + </script> | |
162 | 168 | </div> |
163 | 169 | <div class="right-search-work"> |
164 | 170 | <div class="search-worker-title style">Найти исполнителя</div> |
... | ... | @@ -203,6 +209,14 @@ $this->title = 'My Yii Application'; |
203 | 209 | |
204 | 210 | |
205 | 211 | </div> |
212 | + | |
213 | + <script> | |
214 | + $('div.rating-new').rating({ | |
215 | + fx: 'full', | |
216 | + readOnly: 'true', | |
217 | + url: 'rating.php' | |
218 | + }); | |
219 | + </script> | |
206 | 220 | </div> |
207 | 221 | </div> |
208 | 222 | </div> | ... | ... |
frontend/views/site/forms-modal-offer.php
... | ... | @@ -44,7 +44,7 @@ |
44 | 44 | <div class="form-resume-sub style">Предложить проект</div> |
45 | 45 | <form action="" class="offer-project"> |
46 | 46 | |
47 | - <label>Выбрать проект</label><div style="clear:both;"></div> | |
47 | + <label>Выбрать проект</label> | |
48 | 48 | <div class="list_item title"> |
49 | 49 | <div class="main_item"> |
50 | 50 | <div class="pr_title"></div> |
... | ... | @@ -77,11 +77,6 @@ |
77 | 77 | </div> |
78 | 78 | </div> |
79 | 79 | |
80 | - <label for="off_name">Название проекта</label><input id="off_name" name="" type="text"> | |
81 | - | |
82 | - <label for="off_text">Описание</label><textarea id="off_text" name=""></textarea> | |
83 | - | |
84 | - <label for="off_price">Цена</label><input id="off_price" name="" type="text"> | |
85 | 80 | |
86 | 81 | <input id="off_submit" type="submit" value="Предложить"> |
87 | 82 | </form> |
... | ... | @@ -89,5 +84,56 @@ |
89 | 84 | </div> |
90 | 85 | </div> |
91 | 86 | |
87 | +<!--<div id="modal_form_offer">--> | |
88 | +<!-- <div class="closed-form"></div>--> | |
89 | +<!-- <div class="form-resume-wr offer">--> | |
90 | +<!-- <div class="form-resume-sub style">Предложить проект</div>--> | |
91 | +<!-- <form action="" class="offer-project">--> | |
92 | +<!----> | |
93 | +<!-- <label>Выбрать проект</label><div style="clear:both;"></div>--> | |
94 | +<!-- <div class="list_item title">--> | |
95 | +<!-- <div class="main_item">--> | |
96 | +<!-- <div class="pr_title"></div>--> | |
97 | +<!-- <span></span>--> | |
98 | +<!-- </div>--> | |
99 | +<!-- <div class="arrow up"></div>--> | |
100 | +<!-- <div class="off_list">--> | |
101 | +<!-- <ul class="content list-form-offer">--> | |
102 | +<!-- <li>--> | |
103 | +<!-- <div class="title1">Проект бассейна 1</div>--> | |
104 | +<!-- <div class="title2">Подряд: Вилла 1</div>--> | |
105 | +<!-- </li>--> | |
106 | +<!-- <li>--> | |
107 | +<!-- <div class="title1">Проект бассейна 2</div>--> | |
108 | +<!-- <div class="title2">Подряд: Вилла 2</div>--> | |
109 | +<!-- </li>--> | |
110 | +<!-- <li>--> | |
111 | +<!-- <div class="title1">Проект бассейна 3</div>--> | |
112 | +<!-- <div class="title2">Подряд: Вилла 3</div>--> | |
113 | +<!-- </li>--> | |
114 | +<!-- <li>--> | |
115 | +<!-- <div class="title1">Проект бассейна 4</div>--> | |
116 | +<!-- <div class="title2">Подряд: Вилла 4</div>--> | |
117 | +<!-- </li>--> | |
118 | +<!-- <li>--> | |
119 | +<!-- <div class="title1">Проект бассейна 5</div>--> | |
120 | +<!-- <div class="title2">Подряд: Вилла 5</div>--> | |
121 | +<!-- </li>--> | |
122 | +<!-- </ul>--> | |
123 | +<!-- </div>--> | |
124 | +<!-- </div>--> | |
125 | +<!----> | |
126 | +<!-- <label for="off_name">Название проекта</label><input id="off_name" name="" type="text">--> | |
127 | +<!----> | |
128 | +<!-- <label for="off_text">Описание</label><textarea id="off_text" name=""></textarea>--> | |
129 | +<!----> | |
130 | +<!-- <label for="off_price">Цена</label><input id="off_price" name="" type="text">--> | |
131 | +<!----> | |
132 | +<!-- <input id="off_submit" type="submit" value="Предложить">--> | |
133 | +<!-- </form>--> | |
134 | +<!-- <div class="res_form_line"></div>--> | |
135 | +<!-- </div>--> | |
136 | +<!--</div>--> | |
137 | + | |
92 | 138 | |
93 | 139 | ... | ... |
frontend/web/css/style.css
... | ... | @@ -2886,6 +2886,7 @@ input[type=file]::-webkit-file-upload-button { |
2886 | 2886 | left: 0; |
2887 | 2887 | } |
2888 | 2888 | .search-worker-blocks .search-worker-blocks-jobs-portfolio {margin-bottom: 41px} |
2889 | +.search-company-block-left .search-worker-blocks-jobs-portfolio {margin-bottom: 31px} | |
2889 | 2890 | |
2890 | 2891 | .gallery-box-search { |
2891 | 2892 | width: 100%; |
... | ... | @@ -3265,10 +3266,13 @@ ul.proektant-comments {margin-top: 15px} |
3265 | 3266 | .search-company-block-left { |
3266 | 3267 | width: 400px; |
3267 | 3268 | float: left; |
3269 | + min-height: 320px; | |
3270 | + position: relative; | |
3268 | 3271 | } |
3269 | 3272 | .search-company-block-right { |
3270 | 3273 | width: 320px; |
3271 | 3274 | float: right; |
3275 | + min-height: 320px; | |
3272 | 3276 | } |
3273 | 3277 | .search-company-block-left .search-worker-blocks-title-wr {float: left; width: 100% !important;} |
3274 | 3278 | .search-company-block-left .land-stars-pro, .land-stars-new {margin-right: 11px} |
... | ... | @@ -3429,7 +3433,8 @@ ul.proektant-comments {margin-top: 15px} |
3429 | 3433 | .favorite-user-profile-add span{line-height: 18px} |
3430 | 3434 | |
3431 | 3435 | form.offer-project { |
3432 | - height: 531px; | |
3436 | + /*height: 531px;*/ | |
3437 | + height: 211px; | |
3433 | 3438 | } |
3434 | 3439 | #off_submit { |
3435 | 3440 | bottom: 25px; |
... | ... | @@ -4121,7 +4126,8 @@ ul.min_markers_two |
4121 | 4126 | /*** message-read***/ |
4122 | 4127 | .comments_block{width:938px;height:498px;background-color:#fcfcfc;border:1px solid #b7b7b7;border-right:none;margin-bottom:57px;color:#333;font-family:Roboto;font-size:13px;position:relative;overflow:hidden;outline:none}.comment_type{width:940px}.comment_type .pole{width:660px;margin:0 auto;position:relative}.comment_type .mes_title{font-size:18px;color:#333;margin:18px 0}.message_text{width:638px;height:78px;resize:none;border:1px solid #c2c2c2;margin:0 auto;margin-bottom:26px;margin-top:18px;padding:10px;font-family:Roboto}.send_mess_but{outline:none;border:none;cursor:pointer;font-size:12px!important;padding-top:2px;width:170px;height:43px;text-align:center;text-transform:uppercase;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#148ad6',endColorstr = '#0072bc');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr = '#148ad6',endColorstr = '#0072bc')";background-image:-moz-linear-gradient(top,#148ad6,#0072bc);background-image:-ms-linear-gradient(top,#148ad6,#0072bc);background-image:-o-linear-gradient(top,#148ad6,#0072bc);background-image:-webkit-gradient(linear,center top,center bottom,from(#148ad6),to(#0072bc));background-image:-webkit-linear-gradient(top,#148ad6,#0072bc);background-image:linear-gradient(top,#148ad6,#0072bc);color:#fff;border-bottom:2px solid #0054a6;border-radius:4px;transition:.1s;top:170px;line-height:3.5}.send_mess_but:hover{opacity:.9}.send_mess_but:active{line-height:3.7}.pick_file{position:absolute;top:170px;right:0;width:130px}.pick_file .link:after{content:'';background:url(/images/skrpk.png) left center no-repeat;position:absolute;width:19px;height:21px;left:-28px;top:0}.pick_file .link{text-transform:uppercase;color:#0276c0;font-size:13px;cursor:pointer;text-decoration:none;border-bottom:1px solid #70b2db;position:relative}.pick_file .capt{color:#c2c2c2;font-size:11px;line-height:16px;margin-top:3px}.comment_text{position:relative;padding:12px 13px;width:602px;border:1px solid #c2c2c2;min-height:74px;left:10px;line-height:1.3;background-color:#fff}.comment.left .comment_text{float:left}.comment.right .comment_text{float:right}.comment.left .comment_text:before{content:'';background:url(/images/mes_bord_left.png);position:absolute;width:11px;height:11px;top:-1px;left:-11px}.comment.right .comment_text:before{content:'';background:url(/images/mes_bord_right.png);position:absolute;width:11px;height:11px;top:-1px;right:-11px}.comment.left .author_pic{float:left;margin:0 10px}.comment.right .author_pic{float:right;margin:0 25px 0 30px}.comment_time{color:#c6c6c6;font-family:Roboto;font-size:13px;font-weight:600;line-height:32px;position:absolute}.comment.left .comment_time{top: 17px; right: -120px; width: 100px;}.comment.right .comment_time{ top: 18px; left: -88px; width: 100px;}.comment{position:relative;margin:30px 21px 30px 1px}.comment .offer_link a{color:#0173bd;display:block; height:25px; position:relative}.comment .offer_link a:before{content:'';position:absolute;background:url(/images/skrpk_sm.png) left center no-repeat;width:19px;height:21px;left:-26px;top:-3px}.comment.right .offer_link{float:right;margin-right:94px;margin-top:12px;margin-bottom:-17px}.comment.left .offer_link{left:104px;bottom:-27px}.comment_block .content{overflow:auto;width:938px;height:498px}.fileform{background-color:#FFF;border:1px solid #CCC;border-radius:2px;cursor:pointer;height:26px;overflow:hidden;padding:2px;position:relative;text-align:left;vertical-align:middle;width:230px}.comment_type form{width:660px;margin:0 auto}.comment_type form label{color:#333;font-family:Roboto;font-size:18px}.input_file_text{color:#c2c2c2;font-size:11px;font-family:Roboto;width:125px;position:absolute;right:0;line-height:16px;top:18px;overflow:hidden;text-overflow:ellipsis;white-space:pre-line}.inputfile{float:right;position:relative;width:153px;padding-bottom:10px;background-repeat:no-repeat}.input_file{opacity:0;cursor:pointer;width:160px}.inputfile .file_input_title{position:absolute;color:#0276c0;border-bottom:1px solid #0276c0;text-transform:uppercase;font-family:Roboto;font-size:13px;right:0}.jspArrow{background-color:#0173bd;width:20px;height:20px}.jspVerticalBar{width:20px}.jspVerticalBar .jspArrow{height:20px}.jspTrack{background:#ebebeb;position:relative}.jspDrag{background:#c2c2c2;position:relative;top:0;left:0;cursor:pointer;border-left:2px solid #ebebeb;border-right:2px solid #ebebeb}.jspVerticalBar{background:#ebebeb}.jspArrowUp{background:#0173bd url(/images/scroll_up.png) center center no-repeat}.jspArrowUp:hover{opacity:.8}.jspArrowUp:active{background-position-y:1px!important}.jspDisabled.jspArrowUp{background:#80808d url(/images/scroll_up_grey.png) center center no-repeat}.jspArrowDown{background:#0173bd url(/images/scroll_down.png) center center no-repeat}.jspArrowDown:hover{opacity:.8}.jspArrowDown:active{background-position-y:1px!important}.jspArrowDown{background:#0173bd url(/images/scroll_down.png) center center no-repeat}.jspDisabled.jspArrowDown{background:#80808d url(/images/scroll_down_grey.png) center center no-repeat}.jspContainer{outline:none;border:none} |
4123 | 4128 | /***form-order***/ |
4124 | -#modal_form_offer {height: 505px;} | |
4129 | +#modal_form_offer { /*height: 505px;*/ height: 309px; } | |
4130 | +#modal_form_offer .form-resume-wr {overflow: visible} | |
4125 | 4131 | #modal_form_offer,#modal_form_question, #modal_form_question{margin-top: 70px;} |
4126 | 4132 | .form-resume-wr form input[type="submit"]{margin-left: 55px;} |
4127 | 4133 | .form-resume-wr form{top:72px;} |
... | ... | @@ -4147,6 +4153,7 @@ ul.min_markers_two |
4147 | 4153 | border: 1px solid #dcdcdc; |
4148 | 4154 | position: relative; |
4149 | 4155 | cursor:pointer; |
4156 | + z-index: 2; | |
4150 | 4157 | } |
4151 | 4158 | .list_item.title{margin-bottom: 15px;} |
4152 | 4159 | .list_item .arrow{ |
... | ... | @@ -4176,14 +4183,13 @@ ul.min_markers_two |
4176 | 4183 | border: 4px solid transparent; |
4177 | 4184 | border-top-color: white; |
4178 | 4185 | } |
4179 | -form.offer-project {height: 406px;} | |
4186 | + | |
4180 | 4187 | .list_item .main_item{padding: 10px 37px 12px 12px;transition:0.3s;} |
4181 | 4188 | .off_list ul li:hover{background-color: #fffccc; } |
4182 | 4189 | .act-offer-li{opacity: 0.6; cursor: default } |
4183 | 4190 | .act-offer-li:hover{background-color: #fff !important; } |
4184 | 4191 | .off_list{ |
4185 | 4192 | position: absolute; |
4186 | - width: 100%; | |
4187 | 4193 | width: 238px; |
4188 | 4194 | background-color: white; |
4189 | 4195 | border: 1px solid #dcdcdc; |
... | ... | @@ -6631,8 +6637,8 @@ input[disabled], select[disabled] { |
6631 | 6637 | .rating_search_performer .vote-success, .rating_search_performer .vote-result { |
6632 | 6638 | display: none; |
6633 | 6639 | } |
6634 | -.rating_search_performer .vote-active { | |
6635 | - background: url("/images/stars.png") 0px 14px !important; | |
6640 | +.vote-active { | |
6641 | + top: -1px !important; | |
6636 | 6642 | } |
6637 | 6643 | .rating_search_performer .div.vote-stars, .rating_search_performer div.vote-active { |
6638 | 6644 | cursor: default; |
... | ... | @@ -6670,3 +6676,5 @@ input[disabled], select[disabled] { |
6670 | 6676 | margin-bottom: 19px; |
6671 | 6677 | } |
6672 | 6678 | .form_site_logn-wr input.custom-check + label span {margin-top: 1px; margin-right: 6px} |
6679 | +.callback .input-blocks-wrapper {margin-top: 0} | |
6680 | +.list_item.title {margin-top: 20px} | |
6673 | 6681 | \ No newline at end of file | ... | ... |
frontend/web/js/forms.js
... | ... | @@ -54,6 +54,7 @@ $(document).ready(function(){ |
54 | 54 | var newMarg = $(window).scrollTop(); |
55 | 55 | $('#overlay').fadeIn(400, |
56 | 56 | function(){ |
57 | + $('body').css({overflowY:'hidden'}) | |
57 | 58 | $('.forms-modal-hide>div') |
58 | 59 | .css({display:'block', marginTop:-230+newMarg}) |
59 | 60 | .animate({opacity: 1, top: '50%'}, 200); |
... | ... | @@ -110,6 +111,7 @@ $(document).ready(function(){ |
110 | 111 | clocseModalForms() |
111 | 112 | function clocseModalForms(){ |
112 | 113 | $('body').on('click','.closed-form, #overlay', function(){ |
114 | + $('body').css({overflowY:'visible'}) | |
113 | 115 | $('.forms-modal-hide>div') |
114 | 116 | .animate({opacity: 0, top: '30%'}, 200, |
115 | 117 | function(){ | ... | ... |