remotes/origin/1203
pavel 11 years ago
parent 8b771115a4
commit ead65c743c
  1. 2
      templates/client/includes/accounts/current_user.html
  2. 4
      templates/client/includes/company/company_edit.html
  3. 3
      templates/client/static_client/css/main.css
  4. 2
      templates/client/static_client/css_min/main.min.css
  5. 4
      templates/client/static_client/js/_modules/page.company.js
  6. 21
      templates/client/static_client/js/_modules/page.profile.js
  7. 2
      templates/client/static_client/js_min/_modules/page.company.min.js
  8. 2
      templates/client/static_client/js_min/_modules/page.profile.min.js

@ -68,7 +68,7 @@
<header> <header>
{# country and city #} {# country and city #}
<div class="form-item-wrap"> <!-- 1 --> <div class="form-item-wrap"> <!-- 1 -->
<div class="i-descr add_link_text "> <div class="i-descr add_link_text right">
<a class="e-btn " href="#" title=""><i class="fa fa-plus-circle">&nbsp;</i>{% trans 'Указать' %}</a> <a class="e-btn " href="#" title=""><i class="fa fa-plus-circle">&nbsp;</i>{% trans 'Указать' %}</a>
<div class="add_link_text_text">{% trans 'Страну и город' %}<b>+10</b></div> <div class="add_link_text_text">{% trans 'Страну и город' %}<b>+10</b></div>
</div> </div>

@ -64,8 +64,8 @@
<div class="i-info"> <div class="i-info">
<header> <header>
<!--!--> <!--!-->
<div class="form-item-wrap"> <div class="form-item-wrap ">
<div class="i-descr add_link_text "> <div class="i-descr add_link_text right">
<a class="e-btn" href="#" title=""><i class="fa fa-plus-circle">&nbsp;</i>{% trans 'Указать' %}</a> <a class="e-btn" href="#" title=""><i class="fa fa-plus-circle">&nbsp;</i>{% trans 'Указать' %}</a>
<div class="add_link_text_text">{% trans 'город' %} <b>+5</b></div> <div class="add_link_text_text">{% trans 'город' %} <b>+5</b></div>
</div> </div>

@ -12142,6 +12142,9 @@ hr + .rq-note {
.disable-inner:before{ .disable-inner:before{
display: none !important; display: none !important;
} }
.right{
float: right;
}

File diff suppressed because one or more lines are too long

@ -458,6 +458,10 @@ if (EXPO.company){
width: 'element', width: 'element',
placeholder:self.opt.selectBox[0].placeholder placeholder:self.opt.selectBox[0].placeholder
}); });
$country.on("change", function () {
$city.val(0);
$city.select2("val", "");
});
/** /**
* enable city <select/> when country is chosen * enable city <select/> when country is chosen
*/ */

@ -466,25 +466,36 @@ if (EXPO.profile){
this.rating = new Rating(this.opt.rating); this.rating = new Rating(this.opt.rating);
this.forms = {}; this.forms = {};
$(function () { $(function () {
var $editables = $('.'+self.opt.editableClass); var $editables = $('.'+self.opt.editableClass),
$country = $('#'+self.opt.selectBox[0].id),
$city = $('#'+self.opt.selectBox[2].id);
$waiter = $('#wait-ajax').css({'z-index': '8012'}); $waiter = $('#wait-ajax').css({'z-index': '8012'});
/** /**
* <selectbox> styling with 3-rd party libs * <selectbox> styling with 3-rd party libs
*/ */
$('#'+self.opt.selectBox[0].id).select2({ /**
* select country
*/
$country.select2({
width: 'element' width: 'element'
}); });
$country.on("change", function () {
$city.val(0);
$city.select2("val", "");
});
/**
* select theme
*/
$('#'+self.opt.selectBox[1].id).select2({ $('#'+self.opt.selectBox[1].id).select2({
width: 'element', width: 'element',
placeholder: self.opt.selectBox[1].placeholder, placeholder: self.opt.selectBox[1].placeholder,
maximumSelectionSize: 3 maximumSelectionSize: 3
}); });
/** /**
* country selectbox * select city
*/ */
$('#'+self.opt.selectBox[2].id).select2({ $city.select2({
placeholder: self.opt.selectBox[2].placeholder, placeholder: self.opt.selectBox[2].placeholder,
width: 'element', width: 'element',
ajax: { ajax: {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save