2012-12-18 09:17:54 +00:00
|
|
|
{% extends "html/page.html" %}
|
|
|
|
|
|
|
|
{% block title %}Product Search{% endblock %}
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
<div class="layout-wrapper layout-wrapper-background">
|
|
|
|
<div class="web-content" id="content-product_search">
|
|
|
|
<div class="layout-main" style="padding: 30px;">
|
|
|
|
{% include 'html/product_search_box.html' %}
|
|
|
|
<h3 class="search-results">Search Results</h3>
|
|
|
|
<div id="search-list">
|
|
|
|
|
|
|
|
</div>
|
2012-12-19 04:44:59 +00:00
|
|
|
<div style="text-align: center;">
|
|
|
|
<div class="more-btn"
|
|
|
|
style="display: none; text-align: center;">
|
|
|
|
<button class="btn">More...</button>
|
|
|
|
</div>
|
2012-12-18 09:17:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|