Created
January 9, 2013 21:47
-
-
Save AlexTiTanium/4497265 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends _extend_shop %} | |
{% import 'forms.html' as form %} | |
{% block includes %} | |
{{ parent() }} | |
{{ addCss('css/shop') }} | |
{{ addJs('js/shop/inputsCollection') }} | |
<script type="text/javascript"> | |
$(function (){ | |
$('#sortBy').inputsCollection('select'); | |
$('#filters input[type=checkbox]').inputsCollection('checkboxFilter'); | |
$('.ellipse').dotdotdot(); | |
}); | |
</script> | |
{% endblock %} | |
{% block content %} | |
<div class="yui3-g site-width"> | |
<div id="content-left" class="yui3-u-1-4"> | |
{% include "cart.html" %} | |
{% include "shop_left_menu.html" %} | |
{% include "shop_filters.html" %} | |
</div> | |
<div id="shop" class="yui3-u-3-4"> | |
<div class="shop_header"> | |
<div id="breadcrumb"> | |
{% include "shop_breadcrumb.html" %} | |
</div> | |
<div id="sort"> | |
<div class="text">Сортировать:</div> | |
{{ form.select('sortBy', 'sortBy', { | |
'price::asc': 'от дешевых к дорогим', | |
'price::desc': 'от дорогих к дешевым', | |
'new::asc': 'новинки', | |
'promotions::asc': 'акции', | |
'dateAdd::asc': 'последние добавленные' | |
}, currentSortBy) }} | |
</div> | |
</div> | |
<div class="clear"></div> | |
{% include "shop_procucts.html" %} | |
</div> | |
</div> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment