[IMP] website snippet: convert column widget into visible snippet (in content category)
authorChristophe Matthieu <chm@openerp.com>
Wed, 22 Jan 2014 09:41:49 +0000 (10:41 +0100)
committerChristophe Matthieu <chm@openerp.com>
Wed, 22 Jan 2014 09:41:49 +0000 (10:41 +0100)
bzr revid: chm@openerp.com-20140122094149-pdnc86o0q0v9aywo

addons/website/static/src/img/blocks/block_column.png [new file with mode: 0644]
addons/website/views/snippets.xml

diff --git a/addons/website/static/src/img/blocks/block_column.png b/addons/website/static/src/img/blocks/block_column.png
new file mode 100644 (file)
index 0000000..159cb7c
Binary files /dev/null and b/addons/website/static/src/img/blocks/block_column.png differ
index d1c49f8..bc8abd9 100644 (file)
         </div>
     </div>
 
+    <div data-snippet-id='colmd' data-selector-vertical-children='.row'>
+        <div class="oe_snippet_thumbnail">
+            <img class="oe_snippet_thumbnail_img" src="/website/static/src/img/blocks/block_column.png"/>
+            <span class="oe_snippet_thumbnail_title">Add Column</span>            
+        </div>
+        <div class="oe_snippet_body col-md-4">
+            <img class="img img-rounded img-responsive" src="/website/static/src/img/china_thumb.jpg"/>
+            <h4 class="mt16">Feature</h4>
+            <p>
+                Delete the above image or replace it with a picture
+                that illustrates your message. Click on the picture to
+                change it's <em>rounded corner</em> style.
+            </p>
+        </div>
+    </div>
+
 </div>
 
 <div id="snippet_feature" class="tab-pane fade">
 <!-- use to declare snippet for snippet editor -->
 <div id="snippet_hidden" class="hidden">
 
-    <div t-name="website.snippets.colmd" data-snippet-id='colmd' data-selector-vertical-children='.row'></div>
-
 </div>
 
 <div id="snippet_styles" class="hidden">