[IMP] website snippet: icones goto parent snippet, clean css, unactive snippet when...
[odoo/odoo.git] / addons / website / static / src / xml / website.snippets.xml
index 19b8605..ecc3bb8 100644 (file)
 <?xml version="1.0" encoding="utf-8"?>
 <templates id="template" xml:space="preserve">
 
-    <!--
-        Snippets to remove:
-          - top-bottom handlers must be on all snippets
-          - left-right handlers must be on all children of row
-    -->
-
-    <div t-name="website.snippets.resize" data-snippet-id='resize'>
-        <!-- custom data for the widget -->
-        <div class='oe_handles'>
-            <div class='oe_handle n'></div>
-            <div class='oe_handle e'></div>
-            <div class='oe_handle w'></div>
-            <div class='oe_handle s'></div>
-        </div>
-        <div class='oe_snippet_thumbnail oe_label'>Margin resize</div>
-    </div>
-
-    <div t-name="website.snippets.colmd" data-snippet-id='colmd' data-selector-vertical-children='.row'>
-        <div class='oe_snippet_thumbnail oe_label'>Column</div>
-    </div>
-
-    <!-- Structure Snippets -->
-
-    <div t-name="website.snippets.carousel" data-snippet-id='carousel' data-category='structure' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        
-        <!-- editor bar to display inside the top edit bar -->
-        <li class='oe_snippet_options'>
-            <a class="carousel-style">
-                <select class="form-control" name="carousel-size">
-                    <option value="big">Big</option>
-                    <option value="small">Small</option>
-                </select>
-            </a>
-        </li>
-        <li class="divider"></li>
-        <li class='oe_snippet_options'>
-            <a href="#" class="button js_add">Add Slide</a>
-        </li>
-        <li class='oe_snippet_options'>
-            <a href="#" class="button js_remove">Remove Slide</a>
-        </li>
-        <li class='oe_snippet_options'>
-            <a class="carousel-background">
-                Background
-                <select class="form-control" name="carousel-background">
-                    <option value="/website/static/src/img/banner/aqua.jpg">Aqua</option>
-                    <option value="/website/static/src/img/banner/baby_blue.jpg">Baby Blue</option>
-                    <option value="/website/static/src/img/banner/black.jpg">Black</option>
-                    <option value="/website/static/src/img/banner/business_guy.jpg">Business Guy</option>
-                    <option value="/website/static/src/img/banner/color_splash.jpg">Color Splash</option>
-                    <option value="/website/static/src/img/banner/flower_field.jpg">Flowers Field</option>
-                    <option value="/website/static/src/img/banner/greenfields.jpg">Greenfields</option>
-                    <option value="/website/static/src/img/banner/landscape.jpg">Landscape</option>
-                    <option value="/website/static/src/img/banner/mango.jpg">Mango</option>
-                    <option value="/website/static/src/img/banner/mountains.jpg">Mountains</option>
-                    <option value="/website/static/src/img/banner/orange_red.jpg">Orange Red</option>
-                    <option value="/website/static/src/img/banner/flower.jpg">Purple</option>
-                    <option value="/website/static/src/img/banner/velour.jpg">Velour</option>
-                    <option value="/website/static/src/img/banner/wood.jpg">Wood</option>
-                    <option value="/website/static/src/img/banner/yellow_green.jpg">Yellow Green</option>
-                </select>
-                <input class="form-control input-sm" type="text" placeholder="http://...."/>
-            </a>
-        </li>
-        <li class='oe_snippet_options'>
-            <a class="carousel-style">
-                Style
-                <select class="form-control" name="carousel-style">
-                    <option value="text_only">Text Only</option>
-                    <option value="image_text">Image - Text</option>
-                    <option value="text_image">Text - Image</option>
-                </select>
-            </a>
-        </li>
-
-        <!-- thumbnail to display inside the bottom widget list editor -->
-        <div class='oe_snippet_thumbnail oe_label'>Banner</div>
-
-        <!-- body to insert after drag and drop thumbnail -->
-        <div id="myCarousel" class="oe_snippet_body carousel slide oe_big" data-interval="10000">
-            <!-- Carousel items -->
-            <div class="carousel-inner">
-                <div class="item image_text active" style="background-image: url(/website/static/src/img/banner/color_splash.jpg); background-size: cover;">
-                    <div class="container">
-                        <div class="carousel-caption content">
-                            <h1>Set Your Banner Title</h1>
-                            <h3>Customize with the top-left menu</h3>
-                            <p>
-                                <a href="/page/website.contactus" class="btn btn-success btn-large">Contact us</a>
-                            </p>
-                        </div>
-                        <div class="carousel-image">
-                            <img src="/website/static/src/img/banner/banner_picture.png" alt="Banner OpenERP Image"/>
-                        </div>
-                    </div>
-                </div>
-            </div>
-            <!-- Carousel nav -->
-            <a class="carousel-control left" href="#myCarousel" data-slide="prev" style="width: 10%"></a>
-            <a class="carousel-control right" href="#myCarousel" data-slide="next" style="width: 10%"></a>
-        </div>
-    </div>
-
-    <div t-name="website.snippets.darken" data-snippet-id='darken' data-category='style' data-selector='section'>
-        <div class='oe_snippet_thumbnail oe_label'>Darken</div>
-    </div>
-
-    <div t-name="website.snippets.well" data-snippet-id='well' data-category='content' data-selector-siblings='p, h1, h2, h3, blockquote'>
-        <div class='oe_snippet_thumbnail oe_label'>Well</div>
-        <div class="oe_snippet_body well">
-            Manage your sales funnel with no effort with OpenERP CRM. Attract
-            leads, follow-up on phone calls and meetings. Analyse the quality
-            of your leads to make informed decisions.
-        </div>
-    </div>
-
-    <div t-name="website.snippets.quote" data-snippet-id='quote' data-category='content' data-selector-siblings='p, h1, h2, h3, blockquote'>
-        <div class='oe_snippet_thumbnail oe_label'>Quote</div>
-        <blockquote class="oe_snippet_body">
-            <p>
-                OpenERP provides essential platform for our project management.
-                Things are better organized and more visible with it.
-            </p>
-            <small>John Doe, CEO</small>
-        </blockquote>
-    </div>
-
-    <div t-name="website.snippets.panel" data-snippet-id='panel' data-category='content' data-selector-siblings='p, h1, h2, h3, blockquote'>
-        <div class='oe_snippet_thumbnail oe_label'>Panel</div>
-        <div class="oe_snippet_body panel panel-default">
-            <div class="panel-heading">
-                <h3 class="panel-title">OpenERP Features</h3>
-            </div>
-            <div class="panel-body">
-                OpenERP's collaborative and realtime project management helps
-                your team get work done. Keep track of everything, from the big
-                picture to the minute details, from the customer contract to
-                the billing.
-            </div>
-        </div>
-    </div>
-
-    <div t-name="website.snippets.surprise" data-snippet-id='vomify' data-category='content' data-selector-children='.oe_structure'>
-        <div class="oe_snippet_body" style="height: 0; position: absolute;"></div>
-        <div class='oe_snippet_thumbnail oe_label' style='background-image:radial-gradient(red,orange,yellow,green,blue);'>Surprise!</div>
-    </div>
-
-    <div t-name="website.snippets.text-image" data-snippet-id='text-image' data-category='structure' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>Text-Image</div>
-        <section class="oe_snippet_body dark">
-            <div class="container">
-                <div class="row">
-                    <div class="col-md-6">
-                        <h3 class="mt48">Enterprise Social Network</h3>
-                        <p>
-                            Make every employee feel more connected and engaged
-                            with twitter-like features for your own company. Follow
-                            people, share best practices, 'like' top ideas, etc.
-                        </p><p>
-                            Connect with experts, follow what interests you, share
-                            documents and promote best practices with OpenERP
-                            Social application. Get work done with effective
-                            collaboration across departments, geographies
-                            and business applications.
-                        </p>
-                    </div>
-                    <div class="col-md-6">
-                        <img class="img-responsive shadow mt32 mb32" src="/website/static/src/img/text_image.png"/>
-                    </div>
-                </div>
-            </div>
-        </section>
-    </div>
-
-    <div t-name="website.snippets.image-text" data-snippet-id='image-text' data-category='structure' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>Image-Text</div>
-        <section class="oe_snippet_body">
-            <div class="container">
-                <div class="row">
-                    <div class="col-md-6">
-                        <img class="img-responsive shadow mt32 mb32" src="/website/static/src/img/image_text.jpg"/>
-                    </div>
-                    <div class="col-md-6">
-                        <h3 class="mt48">Manage Your Shops</h3>
-                        <p>
-                            OpenERP's Point of Sale introduces a super clean
-                            interface with no installation required that runs
-                            online and offline on modern hardwares.
-                        </p><p>
-                            It's full integration with the company inventory
-                            and accounting, gives you real time statistics and
-                            consolidations amongst all shops without the hassle
-                            of integrating several applications.
-                        </p>
-                    </div>
-                </div>
-            </div>
-        </section>
-    </div>
-
-    <div t-name="website.snippets.jumbotron" data-snippet-id='jumbotron' data-category='structure' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>Jumbotron</div>
-        <section class="oe_snippet_body jumbotron mt16 mb16">
-            <div class="container">
-                <h1>Sell Online. Easily.</h1>
-                <p>
-                    Get your online shop ready in a few clicks with OpenERP Commerce.
-                </p>
-                <p>
-                    <a class="btn btn-primary btn-lg" href="/website.contactus">
-                        Contact us
-                    </a>
-                </p>
-            </div>
-        </section>
-    </div>
-
-    <div t-name="website.snippets.text-block" data-snippet-id='text-block' data-category='structure' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>Text Block</div>
-        <section class="oe_snippet_body mt16 mb16">
-            <div class="container">
-                <div class="row">
-                    <div class="col-md-12 text-center mt16 mb32">
-                        <h1>
-                            OpenERP Project Management<br/>
-                            <small>Infinitely flexible. Incredibly easy to use.</small>
-                        </h1>
-                    </div>
-                    <div class="col-md-12 mb16 mt16">
-                        <p>
-                            OpenERP's <b>collaborative and realtime</b> project
-                            management helps your team get work done. Keep
-                            track of everything, from the big picture to the
-                            minute details, from the customer contract to the
-                            billing.
-                        </p><p>
-                            Organize projects around your own processes. Work
-                            on tasks and issues using the kanban view, schedule
-                            tasks using the gantt chart and control deadlines
-                            in the calendar view. Every project may have it's
-                            own stages allowing teams to optimize their job.
-                        </p>
-                    </div>
-                </div>
-            </div>
-        </section>
-    </div>
-
-    <div t-name="website.snippets.hr" data-snippet-id='hr' data-category='structure' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>Separator</div>
-        <hr class="oe_snippet_body"/>
-    </div>
-
-
-    <div t-name="website.snippets.big-picture" data-snippet-id='big-picture' data-category='structure' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>Big Picture</div>
-        <section class="oe_snippet_body dark mt16 mb16">
-            <div class="container">
-                <div class="row">
-                    <div class="col-md-12 text-center mt32 mb16">
-                        <h2>Work with the hardware you already have...</h2>
-                    </div>
-                    <div class="col-md-12">
-                        <img class="img-responsive" src="/website/static/src/img/big_picture.png" style="margin: 0 auto;"/>
-                    </div>
-                    <div class="col-md-6 col-md-offset-3 mb16 mt16">
-                        <p class="text-center">
-                            <b>No installation required</b>
-                        </p>
-                        <p class="text-center">
-                            OpenERP's Point of Sale introduces a super clean
-                            interface with no installation required that runs
-                            online and offline on modern hardware. Laptops,
-                            tablets, industrial POS, it runs on everything.
-                        </p>
-                        <p class="text-center">
-                            <a href="/page/website.contactus">Get more information ยป</a>
-                        </p>
-                    </div>
-                </div>
+    <!-- Snippet loader -->
+    <t t-name="website.snippets_button">
+        <li class="navbar-form js_hide_on_translate"><button type="button" data-action="snippet" class="hidden btn btn-primary">Insert Blocks</button></li>
+    </t>
+    <t t-name="website.snippets_style">
+        <li class="navbar-form">
+            <div class="btn-group">
+                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
+                    Block style <span class="caret"></span>
+                </button>
+                <ul class="dropdown-menu" id="oe_snippets_style" role="menu"></ul>
             </div>
-        </section>
-    </div>
-
-
-    <div t-name="website.snippets.three-columns" data-snippet-id='three-columns' data-category='structure' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>Three Columns</div>
-        <section class="oe_snippet_body mt16 mb16">
-            <div class="container">
-                <div class="row">
-                    <div class="col-md-12 text-center mt16 mb16">
-                        <h2>OpenERP HR Features</h2>
-                        <h3 class="text-muted">Manage your company most important asset: People</h3>
-                    </div>
-                </div>
-                <div class="row">
-                    <div class="col-md-4">
-                        <img class="img-rounded img-responsive" src="/website/static/src/img/china_thumb.jpg"/>
-                        <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">
-                        <img class="img-rounded img-responsive" src="/website/static/src/img/desert_thumb.jpg"/>
-                        <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">
-                        <img class="img-rounded img-responsive" src="/website/static/src/img/deers_thumb.jpg"/>
-                        <h4 class="mt16">Leaves Management</h4>
+        </li>
+    </t>
+    <t t-name="website.snippets_modal">
+        <div class="modal" id="oe_droperror" tabindex="-1" role="dialog">
+            <div class="modal-dialog">
+                <div class="modal-content">
+                    <div class="modal-header">
+                        <button type="button" class="close" data-dismiss="modal">&amp;times;</button>
+                        <h4 class="modal-title">
+                            Building Block Not Inserted
+                        </h4>
+                    </div>
+                    <div class="modal-body">
                         <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.
+                            Please drop building blocks in a valid zone, like
+                            this one:
                         </p>
+                        <div class="row">
+                            <div class="col-sm-4 col-sm-offset-4 oe_drop_zone_style text-center">
+                                <span class="mt16">drop in this zone</span>
+                            </div>
+                        </div>
+                        <div class="text-muted">
+                            <b>Tip:</b> when your cursor is in a valid zone,
+                            OpenERP shows you a preview of the building block
+                            in the page.  You must release the block when the
+                            preview is visible.
+                        </div>
                     </div>
-                </div>
-            </div>
-        </section>
-    </div>
-
-    <div t-name="website.snippets.portfolio" data-snippet-id='portfolio' data-category='business' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>Portfolio</div>
-        <section class="oe_snippet_body">
-            <div class="container">
-                <div class="row">
-                    <div class="col-md-12 text-center mt16 mb32">
-                        <h2>Our Porfolio</h2>
-                        <h4 class="text-muted">More than 500 successful projects</h4>
-                    </div>
-                    <div class="col-md-4">
-                        <img class="img-thumbnail img-responsive" src="/website/static/src/img/deers.jpg"/>
-                        <img class="img-thumbnail img-responsive" src="/website/static/src/img/desert.jpg"/>
-                        <img class="img-thumbnail img-responsive" src="/website/static/src/img/china.jpg"/>
-                    </div>
-                    <div class="col-md-4">
-                        <img class="img-thumbnail img-responsive" src="/website/static/src/img/desert.jpg"/>
-                        <img class="img-thumbnail img-responsive" src="/website/static/src/img/china.jpg"/>
-                        <img class="img-thumbnail img-responsive" src="/website/static/src/img/deers.jpg"/>
-                    </div>
-                    <div class="col-md-4">
-                        <img class="img-thumbnail img-responsive" src="/website/static/src/img/landscape.jpg"/>
-                        <img class="img-thumbnail img-responsive" src="/website/static/src/img/china.jpg"/>
-                        <img class="img-thumbnail img-responsive" src="/website/static/src/img/desert.jpg"/>
-                    </div>
-                </div>
-            </div>
-        </section>
-    </div>
-
-    <div t-name="website.snippets.image-gallery" data-snippet-id='image-gallery' data-category='structure' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>Image Gallery</div>
-        <section class="oe_snippet_body">
-            <div class="container">
-                <div class="row">
-                    <div class="col-md-12 text-center mt16 mb32">
-                        <h2>Our Customer References</h2>
-                        <h4 class="text-muted">More than 500 successful projects</h4>
-                    </div>
-                    <div class="col-md-6">
-                        <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/desert.jpg"/>
-                    </div>
-                    <div class="col-md-3">
-                        <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg"/>
-                    </div>
-                    <div class="col-md-3">
-                        <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/deers_thumb.jpg"/>
-                    </div>
-                    <div class="col-md-3">
-                        <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/desert_thumb.jpg"/>
-                    </div>
-                    <div class="col-md-3">
-                        <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg"/>
-                    </div>
-                    <div class="col-md-3">
-                        <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/deers_thumb.jpg"/>
-                    </div>
-                    <div class="col-md-6">
-                        <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/landscape.jpg"/>
-                    </div>
-                    <div class="col-md-3">
-                        <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg"/>
-                    </div>
-                </div>
-            </div>
-        </section>
-    </div>
-
-    <div t-name="website.snippets.pricing" data-snippet-id='pricing' data-category='business' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>Comparisons</div>
-        <section class="oe_snippet_body">
-            <div class="container">
-              <div class="row">
-                <div class="col-md-12 text-center mt16 mb32">
-                    <h2>Our Offers</h2>
-                </div>
-
-                <div class="col-md-4">
-                    <div class="panel panel-info">
-                      <!-- Default panel contents -->
-                      <div class="panel-heading text-center">
-                          <h2 style="margin: 0">Beginner</h2>
-                          <p style="margin: 0" class="text-muted">
-                              Starter package
-                          </p>
-                      </div>
-                      <div class="panel-body text-center text-muted" style="background-color: rgba(0,0,0,0.1)">
-                        <h2 style="margin: 0"><span>$</span><b style="font-size: 60px">450</b><small>.00</small></h2>
-                        <div>per month</div>
-                      </div>
-
-                      <!-- List group -->
-                      <ul class="list-group">
-                        <li class="list-group-item">Battery: 8 hours</li>
-                        <li class="list-group-item">Screen: 2.5 inch</li>
-                        <li class="list-group-item">Weight: 1.1 ounces</li>
-                        <li class="list-group-item">No support</li>
-                      </ul>
-                      <div class="panel-footer text-center">
-                          <p class="text-muted">
-                              <i>Free shipping, satisfied or reimbursed.</i>
-                          </p>
-                          <a href="/page/website.contactus" class="btn btn-primary btn-lg">Order now</a>
-                      </div>
-                    </div>
-                </div>
-                <div class="col-md-4">
-                    <div class="panel panel-primary">
-                      <!-- Default panel contents -->
-                      <div class="panel-heading text-center">
-                          <h2 style="margin: 0">Professional</h2>
-                          <p style="margin: 0">
-                              Enterprise package
-                          </p>
-                      </div>
-                      <div class="panel-body text-center text-muted" style="background-color: rgba(0,0,0,0.1)">
-                        <h2 style="margin: 0"><span>$</span><b style="font-size: 60px">590</b><small>.00</small></h2>
-                        <div>per month</div>
-                      </div>
-
-                      <!-- List group -->
-                      <ul class="list-group">
-                        <li class="list-group-item">Battery: 12 hours</li>
-                        <li class="list-group-item">Screen: 2.8 inch</li>
-                        <li class="list-group-item">Weight: 1.2 ounces</li>
-                        <li class="list-group-item">Limited support</li>
-                      </ul>
-                      <div class="panel-footer text-center">
-                          <p class="text-muted">
-                              <i>Free shipping, satisfied or reimbursed.</i>
-                          </p>
-                          <a href="/page/website.contactus" class="btn btn-primary btn-lg">Order now</a>
-                      </div>
-                    </div>
-                </div>
-                <div class="col-md-4">
-                    <div class="panel panel-info">
-                      <!-- Default panel contents -->
-                      <div class="panel-heading text-center">
-                          <h2 style="margin: 0">Expert</h2>
-                          <p style="margin: 0" class="text-muted">
-                              The top of the top
-                          </p>
-                      </div>
-                      <div class="panel-body text-center text-muted" style="background-color: rgba(0,0,0,0.1)">
-                        <h2 style="margin: 0"><span>$</span><b style="font-size: 60px">890</b><small>.00</small></h2>
-                        <div>per month</div>
-                      </div>
-
-                      <!-- List group -->
-                      <ul class="list-group">
-                        <li class="list-group-item">Battery: 20 hours</li>
-                        <li class="list-group-item">Screen: 2.8 inch</li>
-                        <li class="list-group-item">Weight: 1.2 ounces</li>
-                        <li class="list-group-item">Unlimited support</li>
-                      </ul>
-                      <div class="panel-footer text-center">
-                          <p class="text-muted">
-                              <i>Free shipping, satisfied or reimbursed.</i>
-                          </p>
-                          <a href="/page/website.contactus" class="btn btn-primary btn-lg">Contact us</a>
-                      </div>
+                    <div class="modal-footer">
+                        <button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
+                        <div class="pull-left">
+                            <input type="checkbox" value="1"/> Never show this tip again
+                        </div>
                     </div>
-
                 </div>
-              </div>
             </div>
-        </section>
-    </div>
-
-    <div t-name="website.snippets.cta" data-snippet-id='cta' data-category='business' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>Buttons</div>
-        <section class="oe_snippet_body dark">
-            <div class="container">
-              <div class="row">
-                <div class="col-md-12 text-center mt16 mb16">
-                    <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>
+    </t>
+
+    <t t-name="website.snippets">
+        <div id='oe_snippets'></div>
+    </t>
+
+    <t t-name="website.snippet_overlay">
+        <div class="oe_overlay">
+            <div class="oe_overlay_options">
+                <div class="btn-group">
+                    <a href="#" class="btn btn-default btn-sm oe_snippet_parent" title="Select Container Block"><i class="fa fa-upload"></i></a>
+                    <div class="dropdown oe_options hidden btn-group">
+                        <a href="#" data-toggle="dropdown" class="btn btn-primary btn-sm" title="Customize">Customize <span class="caret"/></a>
+                        <ul class="dropdown-menu" role="menu"></ul>
+                    </div>
+                    <a href="#" class="btn btn-default btn-sm oe_snippet_move" title="Drag to Move">&amp;nbsp;<i class="fa fa-arrows"></i>&amp;nbsp;</a>
+                    <a href="#" class="btn btn-default btn-sm oe_snippet_clone" title="Duplicate Container">&amp;nbsp;<i class="fa fa-files-o"></i>&amp;nbsp; </a>
+                    <a href="#" class="btn btn-default btn-sm oe_snippet_remove" title="Remove Block">&amp;nbsp;<i class="fa fa-trash-o"></i>&amp;nbsp; </a>
                 </div>
-              </div>
             </div>
-        </section>
-    </div>
+        </div>
+    </t>
 
-    <div t-name="website.snippets.faq" data-snippet-id='faq' data-category='business' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>FAQ</div>
-        <section class="oe_snippet_body">
-            <div class="container">
-                <h2 class="page-header">
-                    Point of Sale Questions <small>v7</small>
-                </h2>
-                <h3>
-                    Which hardware does OpenERP POS support?
-                </h3>
-                <p>
-                    OpenERP's POS is a web application that can run on any device that
-                    can display websites with little to no setup required.
-                </p><p>
-                    The Point of Sale works perfectly on any kind of touch enabled
-                    device, whether it's multi-touch tablets like an iPad or
-                    keyboardless resistive touchscreen terminals.
-                </p>
-                <h3>
-                    Does it works offline?
-                </h3>
-                <p>
-                    Deploy new stores with just an internet connection: no
-                    installation, no specific hardware required. It works with any
-                    iPad, Tablet PC, laptop or industrial POS machine.
-                </p><p>
-                    While an internet connection is required to start the Point of
-                    Sale, it will stay operational even after a complete disconnection.
-                </p>
+    <t t-name="website.snippet_manipulator">
+        <div class='oe_snippet_manipulator'></div>
+    </t>
 
-                <h2 class="page-header">
-                    Project Management Questions <small>v7</small>
-                </h2>
-                <h3>
-                    Can I use it to manage projects based on agile methodologies?
-                </h3>
-                <p>
-                    Yes.
-                </p>
-            </div>
-        </section>
-    </div>
+    <!-- snippet objects -->
 
-
-    <div t-name="website.snippets.references" data-snippet-id='references' data-category='business' data-selector-children='.oe_structure, [data-oe-type=html]'>
-        <div class='oe_snippet_thumbnail oe_label'>References</div>
-        <section class="oe_snippet_body mb32 mt16">
-            <div class="container">
-                <div class="row">
-                    <div class="col-md-12">
-                        <h1 class="text-center">
-                            Our References
-                        </h1>
-                        <h3 class="text-muted text-center">
-                            More than 500 happy customers.
-                        </h3>
-                    </div>
-                    <div class="col-md-4 col-md-offset-1">
-                        <blockquote class="mt16 mb32" data-snippet-id="quote">
-                            <p>
-                                OpenERP provides essential platform for our project management.
-                                Things are better organized and more visible with it.
-                            </p>
-                            <small>John Doe, CEO</small>
-                        </blockquote>
-                    </div>
-                    <div class="col-md-4 col-md-offset-2">
-                        <blockquote class="mt16 mb32" data-snippet-id="quote">
-                            <p>
-                                OpenERP provides essential platform for our project management.
-                                Things are better organized and more visible with it.
-                            </p>
-                            <small>John Doe, CEO</small>
-                        </blockquote>
-                    </div>
-                    <div class="clearfix"/>
-                    <div class="col-md-2 col-md-offset-1">
-                        <img src="/website/static/src/img/openerp_logo.png" class="img-responsive img-thumbnail"/>
-                    </div>
-                    <div class="col-md-2">
-                        <img src="/website/static/src/img/openerp_logo.png" class="img-responsive img-thumbnail"/>
-                    </div>
-                    <div class="col-md-2">
-                        <img src="/website/static/src/img/openerp_logo.png" class="img-responsive img-thumbnail"/>
-                    </div>
-                    <div class="col-md-2">
-                        <img src="/website/static/src/img/openerp_logo.png" class="img-responsive img-thumbnail"/>
-                    </div>
-                    <div class="col-md-2">
-                        <img src="/website/static/src/img/openerp_logo.png" class="img-responsive img-thumbnail"/>
-                    </div>
-                </div>
-            </div>
-        </section>
+    <div t-name="website.snippets.resize" data-snippet-id='resize'>
+        <!-- custom data for the widget -->
+        <div class='oe_handles'>
+            <div class='oe_handle n'></div>
+            <div class='oe_handle e'></div>
+            <div class='oe_handle w'></div>
+            <div class='oe_handle s'></div>
+        </div>
+        <div class='oe_snippet_thumbnail'>Margin resize</div>
     </div>
 
+    <div t-name="website.snippets.colmd" data-snippet-id='colmd' data-selector-vertical-children='.row'></div>
 
 </templates>