2016-01-01 11:53:12 +00:00
|
|
|
{% extends "templates/web.html" %}
|
|
|
|
|
2017-03-23 12:43:26 +00:00
|
|
|
{% block title %} {{ _("Product Search") }} {% endblock %}
|
2014-04-18 10:45:31 +00:00
|
|
|
|
2017-03-23 12:43:26 +00:00
|
|
|
{% block header %}<h2>{{ _("Product Search") }}</h2>{% endblock %}
|
2014-04-18 10:45:31 +00:00
|
|
|
|
2016-01-01 11:53:12 +00:00
|
|
|
{% block page_content %}
|
2014-04-18 10:45:31 +00:00
|
|
|
<script>{% include "templates/includes/product_list.js" %}</script>
|
|
|
|
|
|
|
|
<script>
|
2016-01-01 11:53:12 +00:00
|
|
|
frappe.ready(function() {
|
2016-06-27 09:24:46 +00:00
|
|
|
var txt = get_url_arg("search");
|
2017-04-12 09:01:57 +00:00
|
|
|
$(".search-results").html("{{ _('Search results for') }}: " + encodeURIComponent(txt));
|
2014-04-18 10:45:31 +00:00
|
|
|
window.search = txt;
|
|
|
|
window.start = 0;
|
|
|
|
window.get_product_list();
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div class="product-search-content">
|
2017-03-23 12:43:26 +00:00
|
|
|
<h3 class="search-results">{{ _("Search Results") }}</h3>
|
2014-04-18 10:45:31 +00:00
|
|
|
<div id="search-list" class="row">
|
2014-09-04 09:46:13 +00:00
|
|
|
|
2014-04-18 10:45:31 +00:00
|
|
|
</div>
|
|
|
|
<div style="text-align: center;">
|
2014-09-04 09:46:13 +00:00
|
|
|
<div class="more-btn"
|
2014-04-18 10:45:31 +00:00
|
|
|
style="display: none; text-align: center;">
|
2017-03-23 12:43:26 +00:00
|
|
|
<button class="btn btn-default">{{ _("More...") }}</button>
|
2014-04-18 10:45:31 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|