[IMP] Improved the layout of homepage.

bzr revid: psa@tinyerp.com-20131017071144-k58tomhtjit4n126
This commit is contained in:
Paramjit Singh Sahota 2013-10-17 12:41:44 +05:30
parent ebdfbc58f1
commit 5b1268d5e7
3 changed files with 151 additions and 1 deletions

View File

@ -403,7 +403,114 @@ Sitemap: <t t-esc="url_root"/>sitemap.xml
<template id="homepage" name="Homepage" page="True">
<t t-call="website.layout">
<div id="wrap" class="oe_structure oe_empty"></div>
<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>

View File

@ -2,6 +2,28 @@
<openerp>
<data>
<!-- Events Banner for Homepage -->
<template id="homepage_event_banner" inherit_id="website.layout" name="Homepage Event Banner">
<xpath expr="//div[@id='wrap']" position="before">
<div class="carousel-inner">
<div style="background-image: url('/website/static/src/img/banner/color_splash.jpg')" class="item text_only">
<div contenteditable="true" class="container">
<div class="carousel-caption content">
<h2>Promote Your Events</h2>
<h3>Sell Tickets Online</h3>
<p><a href="/page/website.contactus" class="btn btn-success btn-large">Sample Of Events</a></p>
</div>
<div class="carousel-image hidden-xs">
<img src="/website/static/src/img/banner/banner_picture.png" alt="Banner OpenERP Image"/>
</div>
</div>
</div>
</div>
</xpath>
</template>
<!-- Layout add nav and footer -->
<template id="header_footer_custom" inherit_id="website.layout">
<xpath expr="//header//ul[@id='top_menu']/li[@name='contactus']" position="before">

View File

@ -2,6 +2,27 @@
<openerp>
<data>
<!-- Shopping Banner for Homepage -->
<template id="homepage_shopping_banner" inherit_id="website.layout" name="Homepage Shopping Banner">
<xpath expr="//div[@id='wrap']" position="before">
<div class="carousel-inner">
<div style="background-image: url('/website/static/src/img/banner/color_splash.jpg')" class="item text_only active">
<div contenteditable="true" class="container">
<div class="carousel-caption content">
<h2>OpenERP e-Commerce</h2>
<h3>An Awesome Shopping Experience</h3>
<p><a href="/page/website.contactus" 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"/>
</div>
</div>
</div>
</div>
</xpath>
</template>
<!-- Layout add nav and footer -->
<template id="header" inherit_id="website.layout" name="Custom Header">