parent
3624239a4b
commit
1d192b8075
1 changed files with 0 additions and 67 deletions
@ -1,67 +0,0 @@ |
||||
{% extends 'base.html' %} |
||||
{% load static %} |
||||
|
||||
{% block title %} |
||||
Categories Page |
||||
{% endblock %} |
||||
|
||||
{% block content %} |
||||
<div id="main" class="product_list col-sm-9"> |
||||
<form class="search-form-container" action="/find/" method="get"> |
||||
<div class="form-group"> |
||||
<div class="icon-addon addon-lg"> |
||||
<input type="text" placeholder="what are you looking for ?" class="form-control" name="q" id="q" |
||||
autocomplete="on"> |
||||
<div id="selction-ajax"></div> |
||||
</div> |
||||
</div> |
||||
</form> |
||||
<div class="items row"> |
||||
{% for category in categories %} |
||||
<div class="item col-sm-4"> |
||||
<a href="{{ category.get_absolute_url }}"> |
||||
<img src=" |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{% if category.image %}{{ category.image.url }}{% else %}{% static 'img/no-image.jpg' %} {% endif %}" |
||||
class="img-responsive"> |
||||
</a> |
||||
<a href="{{ category.get_absolute_url }}">{{ category.name }}</a><br> |
||||
</div> |
||||
{% endfor %} |
||||
{% for product in products %} |
||||
<div class="item col-sm-4"> |
||||
<a href="{{ product.get_absolute_url }}"> |
||||
<img src=" |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{% if product.image %}{{ product.image.url }}{% else %}{% static 'img/no-image.jpg' %} {% endif %}" |
||||
class="img-responsive"> |
||||
</a> |
||||
<a href="{{ product.get_absolute_url }}">{{ product.name }}</a><br> |
||||
<h4 class="product-price"> |
||||
<span class="label label-info">{{ product.price }} rub.</span> |
||||
</h4> |
||||
</div> |
||||
{% endfor %} |
||||
</div> |
||||
</div> |
||||
{% endblock %} |
||||
Loading…
Reference in new issue