[IMP] website: views for drag and drop snippets

bzr revid: chm@openerp.com-20131128160851-xmepb4h6n0logclo
This commit is contained in:
Christophe Matthieu 2013-11-28 17:08:51 +01:00
parent 20a0119ed6
commit 32ec9cccdd
8 changed files with 38 additions and 31 deletions

View File

@ -121,7 +121,7 @@
</span>
<span t-if="not blog_post.website_published" class="label label-danger">not published</span>
</p>
<div t-field="blog_post.shortened_content" class="blog_content"/>
<div t-raw="blog_post.shortened_content" class="blog_content"/>
<hr/>
</div>
@ -269,6 +269,7 @@
<link rel='stylesheet' href='/website_blog/static/src/css/website_blog.css'/>
</t>
<div id="wrap">
<div class="oe_structure"></div>
<div class="container mt16 js_website_blog">
<div class="row">
<div class="col-lg-12 col-sm-12" id="blog_left_column">
@ -277,6 +278,7 @@
<div class="col-lg-3 col-lg-offset-1 col-sm-4" id="blog_right_column"/>
</div>
</div>
<div class="oe_structure"></div>
</div>
</t>
</template>

View File

@ -21,6 +21,7 @@
<t t-raw="ref_content" />
</div>
</div>
<div class="oe_structure"/>
</div>
</t>
</template>

View File

@ -93,20 +93,18 @@
<template id="details" name="Customer Detail">
<t t-call="website.layout">
<div id="wrap">
<div class="oe_structure"/>
<div class="container mt16">
<div class="row">
<div class="col-md-5">
<ol class="breadcrumb">
<li><a href="/customers">Our References</a></li>
<li class="active" t-field="partner.name"/>
<li class="active"><span t-field="partner.name"/></li>
</ol>
</div>
<div class="col-md-7">
<t t-call="website.publish_management"><t t-set="object" t-value="partner"/></t>
</div>
</div>
<div class="oe_structure"/>
<div class="row">
<div class="col-md-12">
<h1 class="text-center" t-field="partner.name"/>
</div>

View File

@ -168,6 +168,7 @@
<template id="layout">
<t t-call="website.layout">
<div id="wrap">
<div class="oe_structure"/>
<div class="container">
<div class="row mt8">
<div class="col-sm-7" id="event_menu">
@ -199,6 +200,7 @@
</div>
</div>
<t t-raw="0"/>
<div class="oe_structure"/>
</div>
</t>
</template>

View File

@ -4,7 +4,7 @@
<!-- Page -->
<template id="aboutus" inherit_id="website.aboutus" inherit_option_id="website.aboutus" name="Our Team">
<xpath expr="//div[@class='oe_structure'][last()]" position="inside">
<xpath expr="//div[@class='oe_structure']" position="after">
<section class="container">
<div class="col-sm-12 text-center" t-if="len(employee_ids)">
<h2>Our Team</h2>

View File

@ -23,33 +23,32 @@
<t t-call="website.layout">
<div id="wrap">
<div class="oe_structure">
<section data-snippet-id="text-block" class="mb32">
<div class="container">
<div class="row">
<div class="col-md-12 text-center mb16" data-snippet-id="colmd">
<h2>Our Job Offers</h2>
<h3 class="text-muted">Join us and help disrupt the enterprise market!</h3>
</div>
<div class="col-md-12" data-snippet-id="colmd">
<p>
With a small team of smart people, we released the most
disruptive enterprise management software in the world.
OpenERP is fully open source, super easy, full featured
(3000+ apps) and its online offer is 3 times cheaper than
traditional competitors like SAP and Ms Dynamics.
</p>
<p>
Join us, we offer you an extraordinary chance to learn, to
develop and to be part of an exciting experience and
team.
</p>
<section data-snippet-id="text-block" class="mb32">
<div class="container">
<div class="row">
<div class="col-md-12 text-center mb16" data-snippet-id="colmd">
<h2>Our Job Offers</h2>
<h3 class="text-muted">Join us and help disrupt the enterprise market!</h3>
</div>
<div class="col-md-12" data-snippet-id="colmd">
<p>
With a small team of smart people, we released the most
disruptive enterprise management software in the world.
OpenERP is fully open source, super easy, full featured
(3000+ apps) and its online offer is 3 times cheaper than
traditional competitors like SAP and Ms Dynamics.
</p>
<p>
Join us, we offer you an extraordinary chance to learn, to
develop and to be part of an exciting experience and
team.
</p>
</div>
</div>
</div>
</div>
</section>
</section>
</div>
<div class="container oe_website_jobs">
<div class="row">
<div class="col-md-1" id="jobs_grid_left">
@ -104,6 +103,7 @@
<t t-call="website.layout">
<t t-set="additional_title">Job Detail</t>
<div id="wrap">
<div class="oe_structure"/>
<section class="container mt8">
<div class="row">

View File

@ -14,9 +14,11 @@
<t t-call="website.layout">
<t t-set="additional_title">Task</t>
<div id="wrap">
<div class="oe_structure"/>
<div class="container">
<h4 t-field="task.name"/>
</div>
<div class="oe_structure"/>
</div>
</t>
</template>
@ -43,6 +45,7 @@
<t t-call="website.layout">
<t t-set="additional_title">Project</t>
<div id="wrap">
<div class="oe_structure"/>
<div class="container">
<h4 t-field="project.name"/>
<t t-call="website.kanban">
@ -54,6 +57,7 @@
<t t-set="scope">3</t>
</t>
</div>
<div class="oe_structure"/>
</div>
</t>
</template>

View File

@ -245,7 +245,7 @@
<ol class="breadcrumb">
<li><a href="/shop">Products</a></li>
<li t-if="search.get('category')"><a t-href="/shop/" t-keep-query="category,search,filter"><span t-field="category.name"/></a></li>
<li class="active"><span t-field="product.name"></span></li>
<li class="active"><span t-field="product.name"/></li>
</ol>
</div><div class="col-sm-3">
<t t-call="website.publish_management">