[REF] website: move s_features snippet to dedicated file

This commit is contained in:
qsm-odoo
2019-12-18 00:17:38 +01:00
3 changed files with 29 additions and 24 deletions
+1
View File
@@ -33,6 +33,7 @@
'views/snippets/s_image_text.xml',
'views/snippets/s_banner.xml',
'views/snippets/s_text_block.xml',
'views/snippets/s_features.xml',
'views/website_views.xml',
'views/website_visitor_views.xml',
'views/res_config_settings_views.xml',
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_features" name="Features">
<section class="s_features pt32 pb32">
<div class="container">
<div class="row">
<div class="col-lg-4 pt32 pb32 text-center">
<i class="fa fa-3x fa-gear rounded-circle bg-gamma m-3"/>
<h3>First Feature</h3>
<p>Tell what's the value for the <br/>customer for this feature.</p>
</div>
<div class="col-lg-4 pt32 pb32 text-center">
<i class="fa fa-3x fa-photo rounded bg-epsilon m-3"/>
<h3>Second Feature</h3>
<p>Write what the customer would like to know, <br/>not what you want to show.</p>
</div>
<div class="col-lg-4 pt32 pb32 text-center">
<i class="fa fa-3x fa-leaf rounded-leaf bg-primary m-3"/>
<h3>Third Feature</h3>
<p>A small explanation of this great <br/>feature, in clear words.</p>
</div>
</div>
</div>
</section>
</template>
</odoo>
@@ -1,30 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_features" name="Features">
<section class="s_features pt32 pb32">
<div class="container">
<div class="row">
<div class="col-lg-4 pt32 pb32 text-center">
<i class="fa fa-3x fa-gear rounded-circle bg-gamma m-3"/>
<h3>First Feature</h3>
<p>Tell what's the value for the <br/>customer for this feature.</p>
</div>
<div class="col-lg-4 pt32 pb32 text-center">
<i class="fa fa-3x fa-photo rounded bg-epsilon m-3"/>
<h3>Second Feature</h3>
<p>Write what the customer would like to know, <br/>not what you want to show.</p>
</div>
<div class="col-lg-4 pt32 pb32 text-center">
<i class="fa fa-3x fa-leaf rounded-leaf bg-primary m-3"/>
<h3>Third Feature</h3>
<p>A small explanation of this great <br/>feature, in clear words.</p>
</div>
</div>
</div>
</section>
</template>
<template id="s_three_columns" name="Columns">
<section class="s_three_columns bg-200 pt32 pb32">
<div class="container">