brotherton-erpnext/erpnext/templates/pages/product_search.html
Faris Ansari 7c744acc49
Changes for Rollup (#12924)
* Changes for rollup

* remove variables.less
2018-02-20 14:21:50 +05:30

33 lines
874 B
HTML

{% extends "templates/web.html" %}
{% block title %} {{ _("Product Search") }} {% endblock %}
{% block header %}<h2>{{ _("Product Search") }}</h2>{% endblock %}
{% block page_content %}
<script>{% include "templates/includes/product_list.js" %}</script>
<script>
frappe.ready(function() {
var txt = frappe.utils.get_url_arg("search");
$(".search-results").html("{{ _('Search results for') }}: " + encodeURIComponent(txt));
window.search = txt;
window.start = 0;
window.get_product_list();
});
</script>
<div class="product-search-content">
<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 btn-default">{{ _("More...") }}</button>
</div>
</div>
</div>
{% endblock %}