[REF] website: move s_banner snippet to dedicated file
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_banner.xml',
|
||||
'views/website_views.xml',
|
||||
'views/website_visitor_views.xml',
|
||||
'views/res_config_settings_views.xml',
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_banner" name="Banner">
|
||||
<section class="s_banner parallax s_parallax_is_fixed pt96 pb96" data-scroll-background-ratio="1">
|
||||
<span class="s_parallax_bg oe_img_bg oe_custom_bg" style="background-image: url('/web/image/website.s_banner_default_image'); background-position: 50% 0;"/>
|
||||
<div class="container">
|
||||
<div class="row s_nb_column_fixed">
|
||||
<div class="col-lg-7 bg-white jumbotron rounded pt32 pb32" data-name="Box">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 s_title s_col_no_bgcolor" data-name="Title">
|
||||
<h1 class="s_title_thin"><font style="font-size: 62px;"><b>Sell Online.</b> Easily.</font></h1>
|
||||
</div>
|
||||
<div class="col-lg-12 pt8 pb32 s_col_no_bgcolor" data-name="Text">
|
||||
<p class="lead">This is a simple hero unit, a simple jumbotron-style component <br/>for calling extra attention to featured content or information.</p>
|
||||
</div>
|
||||
<div class="col-lg-12 s_btn text-left pt16 pb16" data-name="Button">
|
||||
<a href="#" class="btn btn-epsilon rounded-circle">Do something</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -1,29 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_banner" name="Banner">
|
||||
<section class="s_banner parallax s_parallax_is_fixed pt96 pb96" data-scroll-background-ratio="1">
|
||||
<span class="s_parallax_bg oe_img_bg oe_custom_bg" style="background-image: url('/web/image/website.s_banner_default_image'); background-position: 50% 0;"/>
|
||||
<div class="container">
|
||||
<div class="row s_nb_column_fixed">
|
||||
<div class="col-lg-7 bg-white jumbotron rounded pt32 pb32" data-name="Box">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 s_title s_col_no_bgcolor" data-name="Title">
|
||||
<h1 class="s_title_thin"><font style="font-size: 62px;"><b>Sell Online.</b> Easily.</font></h1>
|
||||
</div>
|
||||
<div class="col-lg-12 pt8 pb32 s_col_no_bgcolor" data-name="Text">
|
||||
<p class="lead">This is a simple hero unit, a simple jumbotron-style component <br/>for calling extra attention to featured content or information.</p>
|
||||
</div>
|
||||
<div class="col-lg-12 s_btn text-left pt16 pb16" data-name="Button">
|
||||
<a href="#" class="btn btn-epsilon rounded-circle">Do something</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<template id="s_text_block" name="Text block">
|
||||
<section class="s_text_block pt32 pb32">
|
||||
<div class="container">
|
||||
Reference in New Issue
Block a user