brotherton-erpnext/website/templates/html/product_page.html

66 lines
1.7 KiB
HTML
Raw Normal View History

2012-07-12 13:11:12 +00:00
{% extends "html/page.html" %}
{% block javascript %}
{% include "js/product_page.js" %}
{% endblock %}
{% block css %}
{% include "css/product_page.css" %}
{% endblock %}
{% block title %}
{% if item_name != name %}
{{ item_name }} [{{ name }}]
{% else %}
{{ item_name }}
{% endif %}
{% endblock %}
{% block content %}
<div class="layout-wrapper layout-wrapper-background">
<div class="web-content" id="content-product-{{ name }}">
<div class="layout-main" style="padding: 30px;">
2012-12-18 06:17:13 +00:00
{% include 'html/product_search.html' %}
<h1>{{ item_name }}</h1>
<div class="product-page-content">
2012-12-18 06:17:13 +00:00
<div class="span6">
2012-06-27 06:36:45 +00:00
{% if website_image %}
<image class="item-main-image" src="files/{{ website_image }}" />
{% else %}
<div class="img-area"></div>
<span style="font-size: 11px">This is an auto-generated Image</span>
2012-06-27 06:36:45 +00:00
{% endif %}
<br><br>
</div>
2012-12-18 06:17:13 +00:00
<div class="span3">
<div class="item-price hide">
<p>Price:</p>
</div>
<div class="item-stock"></div>
</div>
<div class="clearfix"></div>
<div class="span9">
<h3>Product Description</h3>
<div>
{{ web_long_description or web_short_description }}
</div>
<hr>
{% if obj.doclist.get({"doctype":"Item Website Specification"}) %}
<h3>Specifications</h3>
<table class="table table-striped table-bordered" style="width: 100%">
{% for d in obj.doclist.get(
{"doctype":"Item Website Specification"}) %}
<tr>
<td>{{ d.label }}</td>
<td>{{ d.description }}</td>
</tr>
{% endfor %}
</table>
{% endif %}
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
2012-07-12 13:11:12 +00:00
{% endblock %}