odoo/addons/website_blog/views/snippets.xml

41 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="website_blog" inherit_id="website.snippets" name="Snippet Blog">
<xpath expr="//div[@id='snippet_options']" position="inside">
<div data-js="blog_cover" data-selector=".website_blog .o_blog_cover_container" data-no-check="true">
<li data-change="true"><a href="#">Change Cover</a></li>
<li data-clear="true"><a href="#" >No Cover</a></li>
<li class="dropdown-submenu">
<a href="#">Size</a>
<ul class="dropdown-menu">
<li data-select_class="cover container-fluid cover_full"><a href="#">Full Screen</a></li>
<li data-select_class="cover container-fluid cover_narrow"><a href="#">Mid screen</a></li>
<li data-select_class="cover container cover_narrow"><a href="#">Narrow</a></li>
</ul>
</li>
<li class="dropdown-submenu">
<a href="#">Filter Intensity</a>
<ul class="dropdown-menu">
<li data-filter_value="0.0"><a href="#">None</a></li>
<li data-filter_value="0.2"><a href="#">Low</a></li>
<li data-filter_value="0.4"><a href="#">Medium</a></li>
<li data-filter_value="0.6"><a href="#">High</a></li>
</ul>
</li>
<li class="dropdown-submenu">
<a href="#">Filter Color</a>
<ul class="dropdown-menu">
<li data-filter_color="oe_black"><a href="#">Black</a></li>
<li data-filter_color="oe_none"><a href="#">White</a></li>
<li data-filter_color="oe_blue"><a href="#">Blue</a></li>
<li data-filter_color="oe_yellow"><a href="#">Yellow</a></li>
<li data-filter_color="oe_red"><a href="#">Red</a></li>
<li data-filter_color="oe_purple"><a href="#">Purple</a></li>
<li data-filter_color="oe_green"><a href="#">Green</a></li>
</ul>
</li>
</div>
</xpath>
</template>
</odoo>