59 lines
3.1 KiB
XML
59 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="graphene_main_less" inherit_id="theme_graphene.graphene_main_less">
|
|
<xpath expr="//link[last()]" position="after">
|
|
<link rel="stylesheet" type="text/less" href="/theme_graphene_blog/static/src/less/graphene.blog.less"/>
|
|
<link rel="stylesheet" type="text/less" href="/theme_graphene_blog/static/src/less/s_latest_posts.less"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="graphene_editor_js" inherit_id="theme_graphene.graphene_editor_js">
|
|
<xpath expr="//script[last()]" position="after">
|
|
<script type="text/javascript" src="/theme_graphene_blog/static/src/js/graphene.blog.editor.js"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<!-- Latest Posts Snippets -->
|
|
<template id="overwrite_latest_post_thumb" inherit_id="snippet_latest_posts.s_latest_posts_place_in_tab">
|
|
<xpath expr="//t[@t-snippet='snippet_latest_posts.s_latest_posts']" position="attributes">
|
|
<attribute name="t-thumbnail">/theme_graphene_blog/static/src/img/ui/s_latest_posts.jpg</attribute>
|
|
</xpath>
|
|
<xpath expr="//t[@t-snippet='snippet_latest_posts.s_latest_posts_big_picture']" position="attributes">
|
|
<attribute name="t-thumbnail">/theme_graphene_blog/static/src/img/ui/s_latest_posts_big_picture.jpg</attribute>
|
|
</xpath>
|
|
</template>
|
|
|
|
<!-- Snippet's Options -->
|
|
<template id="s_latest_posts_big_picture_options" inherit_id="snippet_latest_posts.s_latest_posts_option">
|
|
<xpath expr="//div[@data-js='js_get_posts']" position="before">
|
|
<div data-js='s_latest_posts_style' data-selector=".s_latest_posts_big_picture .js_get_posts">
|
|
<li class="dropdown-submenu">
|
|
<a tabindex="-1" href="#"><i class="fa fa-paint-brush"/>List Style</a>
|
|
<ul class="dropdown-menu">
|
|
<li data-select_class=""><a>Default</a></li>
|
|
<li data-select_class="effect-marley"><a>Marley</a></li>
|
|
<li data-select_class="effect-dexter"><a>Dexter</a></li>
|
|
<li data-select_class="effect-chico"><a>Silly-Chico</a></li>
|
|
<li data-select_class="effect-steve"><a>Lonely Steve</a></li>
|
|
</ul>
|
|
</li>
|
|
</div>
|
|
<div data-js='s_latest_posts_options' data-selector=".s_latest_posts_big_picture .js_get_posts">
|
|
<li class="dropdown-submenu">
|
|
<a tabindex="-1" href="#"><i class="fa fa-cogs"/>Options</a>
|
|
<ul class="dropdown-menu">
|
|
<li data-toggle_class="first_is_big"><a>First is bigger</a></li>
|
|
</ul>
|
|
</li>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
<!-- Graphene's methods -->
|
|
<template id="graph_js-methods" inherit_id="theme_graphene.graph_js-methods">
|
|
<xpath expr="//div[@data-js='no_resize']" position="attributes">
|
|
<attribute name="data-selector" separator=", " remove="hook" add=".s_latest_posts_big_picture, .s_latest_posts"/>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|