pratu16x7 | dee36e1 | 2017-02-10 18:28:39 +0530 | [diff] [blame^] | 1 | {% extends "templates/web.html" %} |
| 2 | |
| 3 | {% block title %} {{ title }} {% endblock %} |
| 4 | |
| 5 | {% block breadcrumbs %} |
| 6 | {% include "templates/includes/breadcrumbs.html" %} |
| 7 | {% endblock %} |
| 8 | |
| 9 | {% block page_content %} |
| 10 | {% from "erpnext/templates/includes/macros.html" import product_image %} |
| 11 | <div class="item-content" style="margin-top:20px;"> |
| 12 | <div class="product-page-content" itemscope itemtype="http://schema.org/Product"> |
| 13 | <div class="row"> |
| 14 | <div class="col-sm-6"> |
| 15 | {% if slideshow %} |
| 16 | {% include "templates/includes/slideshow.html" %} |
| 17 | {% else %} |
| 18 | {{ product_image(website_image, "product-full-image") }} |
| 19 | {% endif %} |
| 20 | </div> |
| 21 | <div class="col-sm-6" style="padding-left:20px;"> |
| 22 | <h2 itemprop="name" style="margin-top: 0px;">{{ name }}</h2> |
| 23 | |
| 24 | <p class="text-muted"> |
| 25 | {{ _("Item Name") }}: <span itemprop="itemName">{{ item_name }}</span></p> |
| 26 | <br> |
| 27 | <!--{{ _("Item Code") }}: <span itemprop="productID">{{ item_code }}</span></p>--> |
| 28 | <div class="h6 text-uppercase">{{ _("Description") }}</div> |
| 29 | <div itemprop="description" class="item-desc"> |
| 30 | {{ web_long_description or description or _("No description given") }}</div> |
| 31 | <br> |
| 32 | <div class="h6 text-uppercase">{{ _("Quantity") }}</div> |
| 33 | <div itemprop="quantity" class="item-desc">{{ quantity }}</div> |
| 34 | <br> |
| 35 | |
| 36 | </div> |
| 37 | </div> |
| 38 | |
| 39 | </div> |
| 40 | </div> |
| 41 | |
| 42 | {% if show_items -%} |
| 43 | <div class="row items" style="margin-top: 40px"> |
| 44 | <div class="col-md-12"> |
| 45 | <div class="h6 text-uppercase">{{ _("Items") }}</div> |
| 46 | |
| 47 | <table class="table borderless" style="width: 100%"> |
| 48 | {% for d in website_items -%} |
| 49 | <tr> |
| 50 | <td class="uppercase text-muted" style="width: 30%;">{{ d.item_name }}</td> |
| 51 | <td>{{ d.item_code }}</td> |
| 52 | <td>{{ d.description }}</td> |
| 53 | <td>{{ d.qty }}</td> |
| 54 | </tr> |
| 55 | {%- endfor %} |
| 56 | </table> |
| 57 | </div> |
| 58 | </div> |
| 59 | {%- endif %} |
| 60 | |
| 61 | {% if show_operations -%} |
| 62 | <div class="row operations" style="margin-top: 40px"> |
| 63 | <div class="col-md-12"> |
| 64 | <div class="h6 text-uppercase">{{ _("Operations") }}</div> |
| 65 | |
| 66 | <table class="table borderless" style="width: 100%"> |
| 67 | {% for d in website_operations -%} |
| 68 | <tr> |
| 69 | <td class="uppercase text-muted" style="width: 30%;">{{ d.operation }}</td> |
| 70 | <td>{{ d.workstation }}</td> |
| 71 | <td>{{ d.time_in_mins }}</td> |
| 72 | <td>{{ d.website_image }}</td> |
| 73 | </tr> |
| 74 | {%- endfor %} |
| 75 | </table> |
| 76 | </div> |
| 77 | </div> |
| 78 | {%- endif %} |
| 79 | |
| 80 | </div> |
| 81 | </div> |
| 82 | {% endblock %} |