diff --git a/frontend/views/search/customer.php b/frontend/views/search/customer.php index ebaeb02..9a97b0b 100644 --- a/frontend/views/search/customer.php +++ b/frontend/views/search/customer.php @@ -6,7 +6,7 @@ * Time: 10:21 */ ?> -
+
@@ -80,21 +80,9 @@
-
-
-
-
-
+
-
-
- -
-
- -
-
- -
-
- -
Рейтинг
@@ -140,22 +112,16 @@
-
-
Дополнительно
-
- -
-
- -
-
- -
-
+
@@ -186,11 +152,65 @@
+ +
+
+
ООО «Ортекс»
+
+
+ + +
+
30 отзывов, Киев
+
+
+
Сотрудники: более 40
+
+
Послелний визит: 2 дня назад
+ +
+ + +
+ +
+
+
Петер Цумтор
+
+
+ + +
+
30 отзывов, Киев
+
+
+ +
+
Послелний визит: 2 дня назад
+ +
+ + +
+
ООО «Ортекс»
-
+
+ + +
30 отзывов, Киев
+ +
+
+
Петер Цумтор
+
+
+ + +
+
30 отзывов, Киев
+
+
+ +
+
Послелний визит: 2 дня назад
+ +
+ + +
- + + + +
diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index 73d3db0..1b4261f 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -6595,4 +6595,68 @@ input[disabled], select[disabled] { width: 24px; height: 24px; background: transparent url('/images/loading-plugin-new.gif') center left no-repeat; -} \ No newline at end of file +} + +/***/ +.sidebar-droped-wr ul li:first-child {display: none;} +.right_search_perform_foto-wr {width: 140px;height: 93px;float: left;margin-left: 16px;} +.right_search_perform_foto-wr>div{width: 140px;height: 93px; display: table-cell; vertical-align: middle; text-align: center} +.right_search_perform_foto-wr>div{max-width: 140px;max-height: 93px; vertical-align: middle} +.right_search_perform_block-wr a { + float: left; + margin-top: 12px; + margin-left: 0; +} +.right_search_perform_block-wr { + width: 220px; float: right; +} +.search_perform_txt-wr { + width: 480px;float: left; +} +.search_perform_title {line-height: 15px} +.search_perform_title, .search_perform_leng { + font-size: 18px; +} +.search_perform_leng {margin-top: -1px; margin-bottom: 18px; height: 20px} +.search_perform_leng div{height: 20px; line-height: 20px} +.search_perform_title, .search_perform_leng, .search_perform_visit, .search_perform_projets_nam, .search_perform-stars-wr { + width: 100%; + float: left; +} +.search_perform_visit, .search_perform_projets_nam a { + font-size: 13px; +} +.search_perform_visit span, .search_perform_projets_nam a {font-weight: 700} +.search_perform-stars-wr { + height: 34px; +} +.search_perform-stars-txt {line-height: 34px; float: left; margin-left: 10px} +.search_perform_projets_nam {margin-top: 15px;} +.rating_search_performer {float: left} +.rating_search_performer .vote-wrap {margin-top: 8px} +.rating_search_performer .vote-hover { + padding: 0 0 !important; +} +.rating_search_performer div.vote-result {padding-left: 0} +.rating_search_performer .vote-success, .rating_search_performer .vote-result { + display: none; +} +.rating_search_performer .vote-active { + background: url("/images/stars.png") 0px 14px !important; +} +.rating_search_performer .div.vote-stars, .rating_search_performer div.vote-active { + cursor: default; +} +.blocks-check-title label {font-weight: 700} +.right_search_perform_foto-wr >div a { + float: none; + margin-top: 0; + margin-left: 0; + display: table-cell; + vertical-align: middle; + width: 140px; + height: 93px; + text-align: center; +} +.right_search_perform_foto-wr {vertical-align: middle} +.section-box-customer .search-worker-blocks {margin-top: 20px} \ No newline at end of file diff --git a/frontend/web/js/_jquery.rating.js b/frontend/web/js/_jquery.rating.js index 3714a32..ddf1167 100755 --- a/frontend/web/js/_jquery.rating.js +++ b/frontend/web/js/_jquery.rating.js @@ -1 +1 @@ -!function(t){t.rating=function(s,i){this.options=t.extend({fx:"float",image:"images/stars.png",width:15,stars:5,minimal:0,titles:["голос","голоса","голосов"],readOnly:!1,url:"",type:"post",loader:"images/ajax-loader.gif",click:function(){}},i||{}),this.el=t(s),this.left=0,this.val=parseFloat(t(".val",s).val())||0,this.val>this.options.stars&&(this.val=this.options.stars),this.val<0&&(this.val=0),this.old=this.val,this.votes=parseInt(t(".votes",s).val())||"",this.voteID=t(".vote-id",s).val()||"",this.vote_wrap=t('
'),this.vote_block=t('
'),this.vote_hover=t('
'),this.vote_stars=t('
'),this.vote_active=t('
'),this.vote_result=t('
'),this.vote_success=t('
'),this.loader=t('load...'),this.init()};var s=t.rating;s.fn=s.prototype={rating:"0.1"},s.fn.extend=s.extend=t.extend,s.fn.extend({init:function(){if(this.render(),!this.options.readOnly){var s=this,i=0,o=0;this.vote_hover.bind("mousemove mouseover",function(e){if(!s.options.readOnly){var n=t(this),a=0;i=e.clientX>0?e.clientX:e.pageX,o=i-n.offset().left-2;var h=s.options.width*s.options.stars,v=s.options.minimal*s.options.width;o>h&&(o=h),v>o&&(o=v),a=Math.round(o/s.options.width*10)/10,"half"==s.options.fx?o=Math.ceil(o/s.options.width*2)*s.options.width/2:"float"!=s.options.fx&&(o=Math.ceil(o/s.options.width)*s.options.width),a=Math.round(o/s.options.width*10)/10,s.vote_active.css({width:o,"background-position":"0 15px"}),s.vote_success.html("Оценка: "+a+"из 5")}}).bind("mouseout",function(){s.options.readOnly||(s.reset(),s.vote_success.empty())}).bind("click.rating",function(){if(!s.options.readOnly){var t=Math.round(o/s.options.width*10)/10;t>s.options.stars&&(t=s.options.stars),0>t&&(t=0),s.old=s.val,s.val=(s.val*s.votes+t)/(s.votes+1),s.val.toFixed(1),s.vote_success.html("Ваша оценка: "+t),""!=s.options.url&&s.send(t),s.options.readOnly=!0,s.options.click.apply(this,[t])}})}},set:function(){this.vote_active.css({width:this.val*this.options.width,"background-position":"0 15px"})},reset:function(){this.vote_active.css({width:this.old*this.options.width,"background-position":"0 15px"})},setvoters:function(){this.vote_result.html(this.declOfNum(this.votes))},render:function(){this.el.html(this.vote_wrap.append(this.vote_hover.css({padding:"0 4px",height:this.options.width,width:this.options.width*this.options.stars}),this.vote_result.text(this.declOfNum(this.votes)),this.vote_success)),this.vote_block.append(this.vote_stars.css({height:this.options.width,width:this.options.width*this.options.stars,background:"url('"+this.options.image+"') 0 0"}),this.vote_active.css({height:this.options.width,width:this.val*this.options.width,background:"url('"+this.options.image+"') 0 15px"})).appendTo(this.vote_hover)},send:function(s){var i=this;this.vote_result.html(this.loader),t.ajax({url:i.options.url,type:i.options.type,data:{id:this.voteID,score:s},dataType:"json",success:function(t){"OK"==t.status?(i.votes++,i.set()):i.reset(),i.setvoters(),t.msg&&i.vote_success.html(t.msg)}})},declOfNum:function(t){return 0>=t?"":(t=Math.abs(Math.floor(t)),cases=[2,0,1,1,1,2],t+" "+this.options.titles[t%100>4&&20>t%100?2:cases[5>t%10?t%10:5]])}}),t.fn.rating=function(i){if("string"==typeof i){var o=t(this).data("rating"),e=Array.prototype.slice.call(arguments,1);return o[i].apply(o,e)}return this.each(function(){var o=t(this).data("rating");o?(i&&t.extend(o.options,i),o.init()):t(this).data("rating",new s(this,i))})}}(jQuery); \ No newline at end of file +//!function(t){t.rating=function(s,i){this.options=t.extend({fx:"float",image:"images/stars.png",width:15,stars:5,minimal:0,titles:["голос","голоса","голосов"],readOnly:!1,url:"",type:"post",loader:"images/ajax-loader.gif",click:function(){}},i||{}),this.el=t(s),this.left=0,this.val=parseFloat(t(".val",s).val())||0,this.val>this.options.stars&&(this.val=this.options.stars),this.val<0&&(this.val=0),this.old=this.val,this.votes=parseInt(t(".votes",s).val())||"",this.voteID=t(".vote-id",s).val()||"",this.vote_wrap=t('
'),this.vote_block=t('
'),this.vote_hover=t('
'),this.vote_stars=t('
'),this.vote_active=t('
'),this.vote_result=t('
'),this.vote_success=t('
'),this.loader=t('load...'),this.init()};var s=t.rating;s.fn=s.prototype={rating:"0.1"},s.fn.extend=s.extend=t.extend,s.fn.extend({init:function(){if(this.render(),!this.options.readOnly){var s=this,i=0,o=0;this.vote_hover.bind("mousemove mouseover",function(e){if(!s.options.readOnly){var n=t(this),a=0;i=e.clientX>0?e.clientX:e.pageX,o=i-n.offset().left-2;var h=s.options.width*s.options.stars,v=s.options.minimal*s.options.width;o>h&&(o=h),v>o&&(o=v),a=Math.round(o/s.options.width*10)/10,"half"==s.options.fx?o=Math.ceil(o/s.options.width*2)*s.options.width/2:"float"!=s.options.fx&&(o=Math.ceil(o/s.options.width)*s.options.width),a=Math.round(o/s.options.width*10)/10,s.vote_active.css({width:o,"background-position":"0 15px"}),s.vote_success.html("Оценка: "+a+"из 5")}}).bind("mouseout",function(){s.options.readOnly||(s.reset(),s.vote_success.empty())}).bind("click.rating",function(){if(!s.options.readOnly){var t=Math.round(o/s.options.width*10)/10;t>s.options.stars&&(t=s.options.stars),0>t&&(t=0),s.old=s.val,s.val=(s.val*s.votes+t)/(s.votes+1),s.val.toFixed(1),s.vote_success.html("Ваша оценка: "+t),""!=s.options.url&&s.send(t),s.options.readOnly=!0,s.options.click.apply(this,[t])}})}},set:function(){this.vote_active.css({width:this.val*this.options.width,"background-position":"0 15px"})},reset:function(){this.vote_active.css({width:this.old*this.options.width,"background-position":"0 15px"})},setvoters:function(){this.vote_result.html(this.declOfNum(this.votes))},render:function(){this.el.html(this.vote_wrap.append(this.vote_hover.css({padding:"0 4px",height:this.options.width,width:this.options.width*this.options.stars}),this.vote_result.text(this.declOfNum(this.votes)),this.vote_success)),this.vote_block.append(this.vote_stars.css({height:this.options.width,width:this.options.width*this.options.stars,background:"url('"+this.options.image+"') 0 0"}),this.vote_active.css({height:this.options.width,width:this.val*this.options.width,background:"url('"+this.options.image+"') 0 15px"})).appendTo(this.vote_hover)},send:function(s){var i=this;this.vote_result.html(this.loader),t.ajax({url:i.options.url,type:i.options.type,data:{id:this.voteID,score:s},dataType:"json",success:function(t){"OK"==t.status?(i.votes++,i.set()):i.reset(),i.setvoters(),t.msg&&i.vote_success.html(t.msg)}})},declOfNum:function(t){return 0>=t?"":(t=Math.abs(Math.floor(t)),cases=[2,0,1,1,1,2],t+" "+this.options.titles[t%100>4&&20>t%100?2:cases[5>t%10?t%10:5]])}}),t.fn.rating=function(i){if("string"==typeof i){var o=t(this).data("rating"),e=Array.prototype.slice.call(arguments,1);return o[i].apply(o,e)}return this.each(function(){var o=t(this).data("rating");o?(i&&t.extend(o.options,i),o.init()):t(this).data("rating",new s(this,i))})}}(jQuery); \ No newline at end of file diff --git a/frontend/web/js/jquery.rating.js b/frontend/web/js/jquery.rating.js index 9ec58b2..8ed6cac 100755 --- a/frontend/web/js/jquery.rating.js +++ b/frontend/web/js/jquery.rating.js @@ -13,7 +13,7 @@ readOnly: false, url: '', type: 'post', - loader: 'images/ajax-loader.gif', + loader: '/images/ajax-loader.gif', click: function(){} }, o || {}); -- libgit2 0.21.4