Merge branch 'dima'

remotes/origin/landing
ya_dim4ik 10 years ago
commit 9396e94af0
  1. 16
      templates/client/includes/catalog_search.html
  2. 16
      templates/client/includes/catalog_search_main.html
  3. 9
      templates/client/popups/place.html
  4. 26
      templates/client/popups/theme.html

@ -118,9 +118,9 @@
place:{ place:{
id:'pwPlace', id:'pwPlace',
selectedItemTemplate:'csb-selected', selectedItemTemplate:'csb-selected',
ajaxUrl:'https://{{ request.get_host }}/search-form/', ajaxUrl: window.location.protocol + '//{{ request.get_host }}/search-form/',
autoCompleteUrl:'https://{{ request.get_host }}/search-form/autocomplete/', autoCompleteUrl: window.location.protocol + '//{{ request.get_host }}/search-form/autocomplete/',
getParentUrl:'https://{{ request.get_host }}/search-form/get-parent/', getParentUrl: window.location.protocol + '//{{ request.get_host }}/search-form/get-parent/',
autoCompleteId:'filter-complete-block', autoCompleteId:'filter-complete-block',
filterInputId:'place-filter-input', filterInputId:'place-filter-input',
modalTrigger:'place-modal-trigger', modalTrigger:'place-modal-trigger',
@ -133,11 +133,11 @@
id:'pwSubj', id:'pwSubj',
selectedItemTemplate:'csb-subj-selected', selectedItemTemplate:'csb-subj-selected',
autoCompleteId:'subj-filter-complete-block', autoCompleteId:'subj-filter-complete-block',
ajaxUrl:'https://{{ request.get_host }}/search-form/', ajaxUrl: window.location.protocol + '//{{ request.get_host }}/search-form/',
autoCompleteUrl:'https://{{ request.get_host }}/search-form/autocomplete/', autoCompleteUrl: window.location.protocol + '//{{ request.get_host }}/search-form/autocomplete/',
filterInputId:'subj-fliter-input', filterInputId:'subj-fliter-input',
modalTrigger:'subj-modal-trigger', modalTrigger:'subj-modal-trigger',
getParentUrl:'https://{{ request.get_host }}/search-form/get-parent/', getParentUrl: window.location.protocol + '//{{ request.get_host }}/search-form/get-parent/',
selectedItemsContainer:'csb-subj-selected-items', selectedItemsContainer:'csb-subj-selected-items',
subjectTriggerWrapId:'subj-checks', subjectTriggerWrapId:'subj-checks',
defaultOn:['exhibition-check','conference-check'], defaultOn:['exhibition-check','conference-check'],
@ -155,14 +155,14 @@
}, },
firstField:{ firstField:{
id:'id_q', id:'id_q',
autoCompleteUrl:'https://{{ request.get_host }}{{ search_form.autocomplete_url }}', autoCompleteUrl: window.location.protocol + '//{{ request.get_host }}{{ search_form.autocomplete_url }}',
autoCompleteWrapId:'q-field-complete-wrap', autoCompleteWrapId:'q-field-complete-wrap',
prefix:'tid_', prefix:'tid_',
prefixInner:'tgid_' prefixInner:'tgid_'
}, },
placeField:{ placeField:{
id:'id_w', id:'id_w',
autoCompleteUrl:'https://{{ request.get_host }}/search-form/autocomplete/', autoCompleteUrl: window.location.protocol + '//{{ request.get_host }}/search-form/autocomplete/',
autoCompleteWrapId:'w-field-complete-wrap', autoCompleteWrapId:'w-field-complete-wrap',
prefix:'id_' prefix:'id_'
}, },

@ -128,9 +128,9 @@
place:{ place:{
id:'pwPlace', id:'pwPlace',
selectedItemTemplate:'csb-selected', selectedItemTemplate:'csb-selected',
ajaxUrl:'https://{{ request.get_host }}/search-form/', ajaxUrl: window.location.protocol + '//{{ request.get_host }}/search-form/',
autoCompleteUrl:'https://{{ request.get_host }}/search-form/autocomplete/', autoCompleteUrl:window.location.protocol + '//{{ request.get_host }}/search-form/autocomplete/',
getParentUrl:'https://{{ request.get_host }}/search-form/get-parent/', getParentUrl: window.location.protocol + '//{{ request.get_host }}/search-form/get-parent/',
autoCompleteId:'filter-complete-block', autoCompleteId:'filter-complete-block',
filterInputId:'place-filter-input', filterInputId:'place-filter-input',
modalTrigger:'place-modal-trigger', modalTrigger:'place-modal-trigger',
@ -142,11 +142,11 @@
id:'pwSubj', id:'pwSubj',
selectedItemTemplate:'csb-subj-selected', selectedItemTemplate:'csb-subj-selected',
autoCompleteId:'subj-filter-complete-block', autoCompleteId:'subj-filter-complete-block',
ajaxUrl:'https://{{ request.get_host }}/search-form/', ajaxUrl: window.location.protocol + '//{{ request.get_host }}/search-form/',
autoCompleteUrl:'https://{{ request.get_host }}/search-form/autocomplete/', autoCompleteUrl: window.location.protocol + '//{{ request.get_host }}/search-form/autocomplete/',
filterInputId:'subj-fliter-input', filterInputId:'subj-fliter-input',
modalTrigger:'subj-modal-trigger', modalTrigger:'subj-modal-trigger',
getParentUrl:'https://{{ request.get_host }}/search-form/get-parent/', getParentUrl: window.location.protocol + '//{{ request.get_host }}/search-form/get-parent/',
selectedItemsContainer:'csb-subj-selected-items', selectedItemsContainer:'csb-subj-selected-items',
subjectTriggerWrapId:'subj-checks', subjectTriggerWrapId:'subj-checks',
defaultOn:['exhibition-check','conference-check'], defaultOn:['exhibition-check','conference-check'],
@ -163,14 +163,14 @@
}, },
firstField:{ firstField:{
id:'id_q', id:'id_q',
autoCompleteUrl:'https://{{ request.get_host }}{{ search_form.autocomplete_url }}', autoCompleteUrl: window.location.protocol + '//{{ request.get_host }}{{ search_form.autocomplete_url }}',
autoCompleteWrapId:'q-field-complete-wrap', autoCompleteWrapId:'q-field-complete-wrap',
prefix:'tid_', prefix:'tid_',
prefixInner:'tgid_' prefixInner:'tgid_'
}, },
placeField:{ placeField:{
id:'id_w', id:'id_w',
autoCompleteUrl:'https://{{ request.get_host }}/search-form/autocomplete/', autoCompleteUrl: window.location.protocol + '//{{ request.get_host }}/search-form/autocomplete/',
autoCompleteWrapId:'w-field-complete-wrap', autoCompleteWrapId:'w-field-complete-wrap',
prefix:'id_' prefix:'id_'
}, },

@ -19,11 +19,12 @@
<div id="{{autoCompleteId}}" ></div> <div id="{{autoCompleteId}}" ></div>
</div> </div>
<div class="csb-selected-items" id="{{selectedItemsContainer}}"> <div class="csb-selected-items" id="{{selectedItemsContainer}}">
<!-- noindex -->
<div class="csb-selected dna-template " id="{{selectedItemTemplate}}"> <div class="csb-selected dna-template " id="{{selectedItemTemplate}}">
<div class="csbs-text">~~text~~</div> <div class="csbs-text">~~text~~</div>
<a class="csbs-del" href="#" data-checkbox-id="~~id~~">x</a> <a class="csbs-del" href="#" data-checkbox-id="~~id~~">x</a>
</div> </div>
<!--/ noindex -->
</div> </div>
<div class="scroll-container csb-menu"> <div class="scroll-container csb-menu">
<div class="scroll-content clearfix"> <div class="scroll-content clearfix">
@ -47,12 +48,16 @@
<input type="checkbox" id="id_{{ prefix }}~~id~~" name="~~name~~" value="~~id~~" class="csb-menu-input"/> <input type="checkbox" id="id_{{ prefix }}~~id~~" name="~~name~~" value="~~id~~" class="csb-menu-input"/>
<!--<span class="hidden">~~text~~</span>--> <!--<span class="hidden">~~text~~</span>-->
</label> </label>
<a data-sub="~~sub~~" class="trigger" data-name="~~name~~" data-nested="true" data-id="~~id~~" data-template-id="{{prefix}}template{{ value }}-sub" >~~text~~</a> <!-- noindex -->
<a data-sub="~~sub~~" class="trigger" data-name="~~name~~" data-nested="true" data-id="~~id~~" data-template-id="{{prefix}}template{{ value }}-sub" rel="nofollow">~~text~~</a>
<!--/ noindex -->
<ul class='final-tire sublist'> <ul class='final-tire sublist'>
<li id="{{prefix}}template{{ value }}-sub" class='dna-template level'> <li id="{{prefix}}template{{ value }}-sub" class='dna-template level'>
<!-- noindex -->
<label> <label>
<input type="checkbox" id="id_{{ prefix }}~~id~~" name="~~name~~" class="nested-input csb-menu-input" value="~~id~~"/><span class="trigger">~~text~~</span> <input type="checkbox" id="id_{{ prefix }}~~id~~" name="~~name~~" class="nested-input csb-menu-input" value="~~id~~"/><span class="trigger">~~text~~</span>
</label> </label>
<!--/ noindex -->
</li> </li>
</ul> </ul>
</li> </li>

@ -37,10 +37,12 @@
</div> </div>
<div class="csb-selected-items" id="{{selectedItemsContainer}}"> <div class="csb-selected-items" id="{{selectedItemsContainer}}">
<div class="csb-selected dna-template " id="{{selectedItemTemplate}}"> <!-- noindex -->
<div class="csbs-text">~~text~~</div> <div class="csb-selected dna-template " id="{{selectedItemTemplate}}">
<a class="csbs-del" href="#" data-checkbox-id="~~id~~">x</a> <div class="csbs-text">~~text~~</div>
</div> <a class="csbs-del" href="#" data-checkbox-id="~~id~~">x</a>
</div>
<!--/noindex -->
</div> </div>
<div class="scroll-container csb-menu"> <div class="scroll-container csb-menu">
<div class="scroll-content clearfix"> <div class="scroll-content clearfix">
@ -55,12 +57,14 @@
<a href="#" data-name="th" data-id="{{ value }}" data-sub="true" data-template-id="{{ prefix }}subj-template{{ value }}" class="trigger">{{ text }}</a> <a href="#" data-name="th" data-id="{{ value }}" data-sub="true" data-template-id="{{ prefix }}subj-template{{ value }}" class="trigger">{{ text }}</a>
<ul class="sublist"> <ul class="sublist">
<li class="level dna-template" id="{{ prefix }}subj-template{{ value }}"> <li class="level dna-template" id="{{ prefix }}subj-template{{ value }}">
<label class="custom-radio-check"> <!-- noindex -->
<span class="custom-checkbox"> <label class="custom-radio-check">
<input type="checkbox" class="csb-menu-input" name="~~name~~" value="~~id~~" id="tgid_{{ prefix }}~~id~~"/> <span class="custom-checkbox">
</span> <input type="checkbox" class="csb-menu-input" name="~~name~~" value="~~id~~" id="tgid_{{ prefix }}~~id~~"/>
<span class="trigger">~~text~~</span> </span>
</label> <span class="trigger">~~text~~</span>
</label>
<!--/ noindex -->
</li> </li>
</ul> </ul>
</li> </li>
@ -80,4 +84,4 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save