2012-12-18 09:17:54 +00:00
|
|
|
{% extends "html/page.html" %}
|
|
|
|
|
2013-02-21 05:19:37 +00:00
|
|
|
{% set title="Product Search" %}
|
2012-12-18 09:17:54 +00:00
|
|
|
|
2012-12-20 11:41:51 +00:00
|
|
|
{% block javascript %}
|
|
|
|
{% include "js/product_list.js" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2012-12-18 09:17:54 +00:00
|
|
|
{% block content %}
|
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
|
|
var txt = get_url_arg("q");
|
|
|
|
$(".search-results").html("Search results for: " + txt);
|
2012-12-20 11:41:51 +00:00
|
|
|
window.search = txt;
|
2012-12-18 09:17:54 +00:00
|
|
|
window.start = 0;
|
2012-12-20 11:41:51 +00:00
|
|
|
window.get_product_list();
|
2012-12-18 09:17:54 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2013-02-21 08:55:30 +00:00
|
|
|
{% include 'html/product_search_box.html' %}
|
|
|
|
<div class="span12">
|
|
|
|
<h3 class="search-results">Search Results</h3>
|
|
|
|
<div id="search-list" class="row">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div style="text-align: center;">
|
|
|
|
<div class="more-btn"
|
|
|
|
style="display: none; text-align: center;">
|
|
|
|
<button class="btn">More...</button>
|
2012-12-18 09:17:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|