2012-12-14 11:09:27 +00:00
|
|
|
{% extends "html/page.html" %}
|
2012-12-19 04:44:59 +00:00
|
|
|
|
2012-12-20 11:41:51 +00:00
|
|
|
{% block javascript %}
|
|
|
|
{% include "js/product_list.js" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2012-12-19 04:44:59 +00:00
|
|
|
{% block content %}
|
|
|
|
|
2012-12-20 11:41:51 +00:00
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
|
|
window.start = 0;
|
|
|
|
window.product_group = "{{ name }}";
|
|
|
|
window.get_product_list();
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2012-12-19 04:44:59 +00:00
|
|
|
<div class="layout-wrapper layout-wrapper-background">
|
|
|
|
<div class="web-content" id="content-product_group">
|
|
|
|
<div class="layout-main" style="padding: 30px;">
|
|
|
|
{% include 'html/product_search_box.html' %}
|
|
|
|
{% if description %}
|
|
|
|
<div>{{ description or ""}}</div>
|
|
|
|
{% else %}
|
|
|
|
<h3>{{ name }}</h3>
|
|
|
|
{% endif %}
|
|
|
|
{% if sub_groups %}
|
|
|
|
<div class="well">
|
|
|
|
<div class="container-fluid">
|
|
|
|
{% for d in sub_groups %}
|
|
|
|
<div class="span2">
|
|
|
|
<i class="icon-chevron-right"></i>
|
|
|
|
<a href="{{ d.page_name }}">{{ d.name }}</a></div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<hr>
|
2012-12-20 11:41:51 +00:00
|
|
|
<h3>Products</h3>
|
|
|
|
<div id="search-list">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div style="text-align: center;">
|
|
|
|
<div class="more-btn"
|
|
|
|
style="display: none; text-align: center;">
|
|
|
|
<button class="btn">More...</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-12-19 04:44:59 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|