[IMP]Added the demodata for homepage.
bzr revid: psa@tinyerp.com-20131018123244-ueuj25lto0ugs6mj
This commit is contained in:
@@ -9,5 +9,122 @@
|
||||
<field name="social_linkedin">http://www.linkedin.com/company/openerp</field>
|
||||
</record>
|
||||
|
||||
|
||||
<template id="default_website_homepage" inherit_id="website.homepage" name="Homepage for Website">
|
||||
|
||||
<xpath expr="//div[@id='wrap']" position="attributes">
|
||||
<attribute name="class">oe_structure</attribute>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//div[@id='wrap']" position="after">
|
||||
<section data-snippet-id="title" class="mt32 mb32">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12" data-snippet-id="colmd">
|
||||
<h1 class="text-center">Build Great Website</h1>
|
||||
<h3 class="text-muted text-center">Super Easy. Fully Inline Edition.</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section data-snippet-id="image-text" class="mt32 mb32 dark">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6 mt16 mb16" data-snippet-id="colmd">
|
||||
<img src="/website/static/src/img/image_text.jpg" class="img-responsive shadow"/>
|
||||
</div>
|
||||
<div class="col-md-6 mt32" data-snippet-id="colmd">
|
||||
<h3>A Section Subtitle</h3>
|
||||
<p>
|
||||
Write one or two paragraphs describing your product,
|
||||
services or a specific feature. To be successful
|
||||
your content needs to be useful to your readers.
|
||||
</p>
|
||||
<p>
|
||||
Start with the customer – find out what they want
|
||||
and give it to them.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section style="background-image: url('/website/static/src/img/banner/greenfields.jpg')" class="parallax_full oe_structure mt32 mb32" data-snippet-id="parallax">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12 mt128 mb32" data-snippet-id="colmd">
|
||||
<h1 class="text-center">
|
||||
<b>A Great Title</b>
|
||||
</h1>
|
||||
<h3 class="text-center">
|
||||
And a motivating subtitle
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="mt32 mb32" data-snippet-id="three-columns">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center mt16 mb16" data-snippet-id="colmd">
|
||||
<h2>A Great Title</h2>
|
||||
<h3 class="text-muted">And a good subtitle</h3>
|
||||
</div>
|
||||
<div class="col-md-4" data-snippet-id="colmd">
|
||||
<img src="/website/static/src/img/china_thumb.jpg" class="img-rounded img-responsive"/>
|
||||
<h4 class="mt16">Streamline Recruitments</h4>
|
||||
<p>
|
||||
Post job offers and keep track of each application
|
||||
received. Follow applicants in your recruitment process
|
||||
with the smart kanban view.
|
||||
</p><p>
|
||||
Save time by automating some communications with email
|
||||
templates. Resumes are indexed automatically, allowing
|
||||
you to easily find for specific profiles.
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4" data-snippet-id="colmd">
|
||||
<img src="/website/static/src/img/desert_thumb.jpg" class="img-rounded img-responsive"/>
|
||||
<h4 class="mt16">Enterprise Social Network</h4>
|
||||
<p>
|
||||
Break down information silos. Share knowledge and best
|
||||
practices amongst all employees. Follow specific people
|
||||
or documents and join groups of interests to share
|
||||
expertise and documents.
|
||||
</p><p>
|
||||
Interact with your collegues in real time with live chat.
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4" data-snippet-id="colmd">
|
||||
<img src="/website/static/src/img/deers_thumb.jpg" class="img-rounded img-responsive"/>
|
||||
<h4 class="mt16">Leaves Management</h4>
|
||||
<p>
|
||||
Keep track of the vacation days accrued by each
|
||||
employee. Employees enter their requests (paid
|
||||
holidays, sick leave, etc), for managers to approve and
|
||||
validate. It's all done in just a few clicks. The
|
||||
agenda of each employee is updated accordingly.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="mt32 mb32" data-snippet-id="cta">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center mt16 mb16" data-snippet-id="colmd">
|
||||
<a href="/shop" class="btn btn-info btn-lg">View Products</a>
|
||||
<a href="/page/website.contactus" class="btn btn-primary btn-lg">Contact us</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</xpath>
|
||||
|
||||
</template>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
@@ -403,113 +403,6 @@ Sitemap: <t t-esc="url_root"/>sitemap.xml
|
||||
|
||||
<template id="homepage" name="Homepage" page="True">
|
||||
<t t-call="website.layout">
|
||||
|
||||
<section data-snippet-id="title" class="mt32 mb32">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12" data-snippet-id="colmd">
|
||||
<h1 class="text-center">Build Great Website</h1>
|
||||
<h3 class="text-muted text-center">Super Easy. Fully Inline Edition.</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section data-snippet-id="image-text" class="mt32 mb32 dark">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6 mt16 mb16" data-snippet-id="colmd">
|
||||
<img src="/website/static/src/img/image_text.jpg" class="img-responsive shadow"/>
|
||||
</div>
|
||||
<div class="col-md-6 mt32" data-snippet-id="colmd">
|
||||
<h3>A Section Subtitle</h3>
|
||||
<p>
|
||||
Write one or two paragraphs describing your product,
|
||||
services or a specific feature. To be successful
|
||||
your content needs to be useful to your readers.
|
||||
</p>
|
||||
<p>
|
||||
Start with the customer – find out what they want
|
||||
and give it to them.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section style="background-image: url('/website/static/src/img/banner/greenfields.jpg')" class="parallax_full oe_structure mt32 mb32" data-snippet-id="parallax">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12 mt128 mb32" data-snippet-id="colmd">
|
||||
<h1 class="text-center">
|
||||
<b>A Great Title</b>
|
||||
</h1>
|
||||
<h3 class="text-center">
|
||||
And a motivating subtitle
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="mt32 mb32" data-snippet-id="three-columns">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center mt16 mb16" data-snippet-id="colmd">
|
||||
<h2>A Great Title</h2>
|
||||
<h3 class="text-muted">And a good subtitle</h3>
|
||||
</div>
|
||||
<div class="col-md-4" data-snippet-id="colmd">
|
||||
<img src="/website/static/src/img/china_thumb.jpg" class="img-rounded img-responsive"/>
|
||||
<h4 class="mt16">Streamline Recruitments</h4>
|
||||
<p>
|
||||
Post job offers and keep track of each application
|
||||
received. Follow applicants in your recruitment process
|
||||
with the smart kanban view.
|
||||
</p><p>
|
||||
Save time by automating some communications with email
|
||||
templates. Resumes are indexed automatically, allowing
|
||||
you to easily find for specific profiles.
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4" data-snippet-id="colmd">
|
||||
<img src="/website/static/src/img/desert_thumb.jpg" class="img-rounded img-responsive"/>
|
||||
<h4 class="mt16">Enterprise Social Network</h4>
|
||||
<p>
|
||||
Break down information silos. Share knowledge and best
|
||||
practices amongst all employees. Follow specific people
|
||||
or documents and join groups of interests to share
|
||||
expertise and documents.
|
||||
</p><p>
|
||||
Interact with your collegues in real time with live chat.
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4" data-snippet-id="colmd">
|
||||
<img src="/website/static/src/img/deers_thumb.jpg" class="img-rounded img-responsive"/>
|
||||
<h4 class="mt16">Leaves Management</h4>
|
||||
<p>
|
||||
Keep track of the vacation days accrued by each
|
||||
employee. Employees enter their requests (paid
|
||||
holidays, sick leave, etc), for managers to approve and
|
||||
validate. It's all done in just a few clicks. The
|
||||
agenda of each employee is updated accordingly.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="mt32 mb32" data-snippet-id="cta">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center mt16 mb16" data-snippet-id="colmd">
|
||||
<a href="/shop" class="btn btn-info btn-lg">View Products</a>
|
||||
<a href="/page/website.contactus" class="btn btn-primary btn-lg">Contact us</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div id="wrap" class="oe_structure oe_empty"></div>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
@@ -2,40 +2,6 @@
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<!-- Shopping Banner for Homepage -->
|
||||
|
||||
<template id="homepage_shopping_banner" inherit_id="website.homepage" name="Homepage Shopping Banner">
|
||||
<xpath expr="//section" position="before">
|
||||
<div id="myCarousel1" contenteditable="false" class="carousel slide oe_medium mb32" data-snippet-id="carousel">
|
||||
<ol class="carousel-indicators hidden">
|
||||
<li data-slide-to="0" class="active" data-target="#myCarousel1"></li>
|
||||
</ol>
|
||||
|
||||
<div class="carousel-inner">
|
||||
<div style="background-image: url(/website/static/src/img/banner/color_splash.jpg);" class="item active text_only">
|
||||
<div class="container">
|
||||
<div contenteditable="false" class="carousel-caption content">
|
||||
<h2>OpenERP e-Commerce</h2>
|
||||
|
||||
<h3>An Awesome Shopping Experience</h3>
|
||||
|
||||
<p>
|
||||
<a href="/shop" class="btn btn-success btn-large">Visit Shop</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="carousel-image hidden-xs">
|
||||
<img src="/website/static/src/img/banner/banner_picture.png" alt="Banner OpenERP Image" contenteditable="true"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a data-slide="prev" href="#myCarousel1" style="width: 10%" class="carousel-control left hidden"><span class="glyphicon glyphicon-chevron-left"><span class="hidden">.</span></span></a>
|
||||
<a data-slide="next" href="#myCarousel1" style="width: 10%" class="carousel-control right hidden"><span class="glyphicon glyphicon-chevron-right"><span class="hidden">.</span></span></a>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Layout add nav and footer -->
|
||||
|
||||
<template id="header" inherit_id="website.layout" name="Custom Header">
|
||||
|
||||
@@ -2,6 +2,37 @@
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
|
||||
<!-- Shop Banner for homepage -->
|
||||
|
||||
<template id="default_website_sale_homepage" inherit_id="website.homepage" name="Homepage for Website">
|
||||
<xpath expr="//div" position="before">
|
||||
|
||||
<div id="myCarousel1" contenteditable="false" class="carousel slide oe_medium mb32" data-snippet-id="carousel">
|
||||
<div class="carousel-inner">
|
||||
<div style="background-image: url('/website/static/src/img/banner/color_splash.jpg')" class="item text_only active">
|
||||
<div class="container">
|
||||
<div contenteditable="false" class="carousel-caption content">
|
||||
<h2>OpenERP e-Commerce</h2>
|
||||
|
||||
<h3>An Awesome Shopping Experience</h3>
|
||||
|
||||
<p>
|
||||
<a href="/shop" class="btn btn-success btn-large">Visit Shop</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="carousel-image hidden-xs">
|
||||
<img src="/website/static/src/img/banner/banner_picture.png" alt="Banner OpenERP Image" contenteditable="true"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<record id="product.product_product_consultant" model="product.product">
|
||||
<field name="image" type="base64" file="website/static/description/website_edit.png"/>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user