summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-01-23 13:03:50 +0000
committerqsm-odoo <qsm@odoo.com>2020-01-24 13:02:03 +0000
commit599b5910f090807d1040164b279a39f57a2a3c8d (patch)
tree9e64e48724c42176f59a7fdd924e44960c11a483 /addons
parent346a7ca5d408806e73f72f3743174f6413f00522 (diff)
[REF] website, *: review xml using old title classes and structure
* website_event, website_forum, website_slides Part of https://github.com/odoo/odoo/pull/42937 task-2088157
Diffstat (limited to 'addons')
-rw-r--r--addons/website/data/website_data.xml18
-rw-r--r--addons/website/views/snippets/s_banner.xml2
-rw-r--r--addons/website/views/snippets/s_carousel.xml4
-rw-r--r--addons/website/views/snippets/s_comparisons.xml4
-rw-r--r--addons/website/views/snippets/s_picture.xml2
-rw-r--r--addons/website/views/snippets/s_popup.xml6
-rw-r--r--addons/website_event/views/event_templates.xml8
-rw-r--r--addons/website_forum/views/website_forum.xml10
-rw-r--r--addons/website_slides/data/slide_slide_demo.xml12
9 files changed, 22 insertions, 44 deletions
diff --git a/addons/website/data/website_data.xml b/addons/website/data/website_data.xml
index ae7a883ed99..2304a8b3a7e 100644
--- a/addons/website/data/website_data.xml
+++ b/addons/website/data/website_data.xml
@@ -25,13 +25,9 @@
<t t-call="website.layout">
<div id="wrap">
<div class="oe_structure">
- <section class="pt8 pb8">
+ <section class="s_title pt24 pb24">
<div class="container">
- <div class="row s_nb_column_fixed">
- <div class="col-lg-12 s_title pt16 pb16">
- <h1>Contact us</h1>
- </div>
- </div>
+ <h1>Contact us</h1>
</div>
</section>
</div>
@@ -77,14 +73,10 @@
<t t-call="website.layout">
<div id="wrap">
<div class="oe_structure">
- <section class="pt8 pb8">
+ <section class="s_title pt24 pb24">
<div class="container">
- <div class="row s_nb_column_fixed">
- <div class="col-lg-12 s_title pt16 pb16">
- <h1 class="text-center">About us</h1>
- <h3 class="text-muted text-center">Great products for great people</h3>
- </div>
- </div>
+ <h1 class="text-center">About us</h1>
+ <h3 class="text-muted text-center">Great products for great people</h3>
</div>
</section>
<section class="s_text_image pt8 pb8">
diff --git a/addons/website/views/snippets/s_banner.xml b/addons/website/views/snippets/s_banner.xml
index 3fecb67f084..dbe6de6b9af 100644
--- a/addons/website/views/snippets/s_banner.xml
+++ b/addons/website/views/snippets/s_banner.xml
@@ -7,7 +7,7 @@
<div class="container">
<div class="row s_nb_column_fixed">
<div class="col-lg-7 bg-white jumbotron rounded pt32 pb32" data-name="Box">
- <h1 class="s_title_thin"><font style="font-size: 62px;">Sell Online. Easily.</font></h1>
+ <h1><font style="font-size: 62px;">Sell Online. Easily.</font></h1>
<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>
<p class="lead"><br/></p>
<a href="#" class="btn btn-epsilon rounded-circle">Do something</a>
diff --git a/addons/website/views/snippets/s_carousel.xml b/addons/website/views/snippets/s_carousel.xml
index 27c54a3a873..f37460ffd6c 100644
--- a/addons/website/views/snippets/s_carousel.xml
+++ b/addons/website/views/snippets/s_carousel.xml
@@ -17,9 +17,7 @@
<div class="container">
<div class="row content">
<div class="carousel-content col-lg-7">
- <div class="s_title pb8" data-name="Title">
- <h2><font style="font-size: 62px;">Slide Title</font></h2>
- </div>
+ <h2><font style="font-size: 62px;">Slide Title</font></h2>
<p class="lead">Use this snippet to presents your content in a slideshow-like format.<br/> Don't write about products or services here, write about solutions.</p>
<p>
<a href="/aboutus" class="btn btn-secondary flat">About us</a>
diff --git a/addons/website/views/snippets/s_comparisons.xml b/addons/website/views/snippets/s_comparisons.xml
index 09fbfb72e25..c694f1bc042 100644
--- a/addons/website/views/snippets/s_comparisons.xml
+++ b/addons/website/views/snippets/s_comparisons.xml
@@ -5,8 +5,8 @@
<section class="s_comparisons pt48 pb24">
<div class="container">
<div class="row s_nb_column_fixed">
- <div class="col-lg-12 s_title pt16 pb16" style="text-align: center;">
- <h1 class="s_title_thin"><font style="font-size: 62px;">Our offers</font></h1>
+ <div class="col-lg-12 pt16 pb16" style="text-align: center;">
+ <h1><font style="font-size: 62px;">Our offers</font></h1>
</div>
</div>
<div class="row">
diff --git a/addons/website/views/snippets/s_picture.xml b/addons/website/views/snippets/s_picture.xml
index 05e3ed53cdf..b738c05a950 100644
--- a/addons/website/views/snippets/s_picture.xml
+++ b/addons/website/views/snippets/s_picture.xml
@@ -4,7 +4,7 @@
<template id="s_picture" name="Picture">
<section class="s_picture bg-200 pt48 pb24">
<div class="container">
- <h2 class="s_title_thin" style="text-align: center;"><font style="font-size: 62px;">A punchy Headline</font></h2>
+ <h2 style="text-align: center;"><font style="font-size: 62px;">A punchy Headline</font></h2>
<p style="text-align: center;">Choose a vibrant image and write an inspiring paragraph about it.<br/> It does not have to be long, but it should reinforce your image.</p>
<div class="row s_nb_column_fixed">
<div class="col-lg-10 offset-lg-1 pb24" style="text-align: center;">
diff --git a/addons/website/views/snippets/s_popup.xml b/addons/website/views/snippets/s_popup.xml
index 08cc1046b92..e9eaa8d1e86 100644
--- a/addons/website/views/snippets/s_popup.xml
+++ b/addons/website/views/snippets/s_popup.xml
@@ -13,12 +13,10 @@
<div class="row s_nb_column_fixed">
<div class="offset-lg-1 col-lg-7 bg-white jumbotron rounded pt32 pb32">
<div class="row">
- <div class="col-lg-12 s_title s_col_no_bgcolor">
- <h1 class="s_title_thin">
+ <div class="col-lg-12 s_col_no_bgcolor">
+ <h1>
<font style="font-size: 62px;">Win 20$</font>
</h1>
- </div>
- <div class="col-lg-12 pt8 pb32 s_col_no_bgcolor">
<p class="lead">Order now, and get 20$ discount on your first order with the coupon:<br/></p>
<p><button class="btn btn-epsilon rounded-circle">NEWCUSTOMER</button></p>
</div>
diff --git a/addons/website_event/views/event_templates.xml b/addons/website_event/views/event_templates.xml
index e3b2df86619..6b93450d3a7 100644
--- a/addons/website_event/views/event_templates.xml
+++ b/addons/website_event/views/event_templates.xml
@@ -705,13 +705,9 @@
<!-- Multipage event - Default template for the Introduction page -->
<template id="template_intro">
<t t-call="website_event.layout">
- <section>
+ <section class="s_title pt48 pb48" data-vcss="001">
<div class="container">
- <div class="row">
- <div class="col-lg-12 s_title pt48 pb48" data-name="Title">
- <h1>Introduction</h1>
- </div>
- </div>
+ <h1>Introduction</h1>
</div>
</section>
<div class="oe_structure oe_empty" id="oe_structure_website_event_intro_1"/>
diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml
index 9cf8390781a..353924d88e6 100644
--- a/addons/website_forum/views/website_forum.xml
+++ b/addons/website_forum/views/website_forum.xml
@@ -54,8 +54,8 @@
<span t-if="forum.image_1920" class="s_parallax_bg oe_img_bg" t-attf-style="background-image: url('#{website.image_url(forum, 'image_1920')}'); background-position: center;"/>
<div class="container">
<div class="row s_nb_column_fixed">
- <div class="col-lg-12 s_title" data-name="Title">
- <h1 class="s_title_thin o_default_snippet_text text-center"><t t-esc="forum.name"></t></h1>
+ <div class="col-lg-12">
+ <h1 class="o_default_snippet_text text-center"><t t-esc="forum.name"></t></h1>
</div>
</div>
<div t-if="editable or (is_public_user and not forum_welcome_message)" t-att-class="'css_non_editable_mode_hidden' if editable else 'forum_intro'">
@@ -470,10 +470,8 @@
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/web/image/website.s_cover_default_image'); background-position: 50% 0;"/>
<div class="container">
<div class="row s_nb_column_fixed">
- <div class="col-lg-12 s_title" data-name="Title">
- <h1 class="s_title_thin o_default_snippet_text text-center">Our forums</h1>
- </div>
- <div class="col-lg-12 s_text" data-name="Text">
+ <div class="col-lg-12">
+ <h1 class="o_default_snippet_text text-center">Our forums</h1>
<p class="lead o_default_snippet_text mb-0" style="text-align: center;">
This community is for professional and enthusiast users, partners and programmers.
</p>
diff --git a/addons/website_slides/data/slide_slide_demo.xml b/addons/website_slides/data/slide_slide_demo.xml
index 31b2d49c8c0..e4761ec3d1c 100644
--- a/addons/website_slides/data/slide_slide_demo.xml
+++ b/addons/website_slides/data/slide_slide_demo.xml
@@ -230,10 +230,8 @@
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/website_slides/static/src/img/slide_demo_tree_img_1.jpg'); background-position: 50% 0;"></span>
<div class="container">
<div class="row s_nb_column_fixed">
- <div class="col-lg-12 s_title">
- <h1 class="s_title_thin o_default_snippet_text" style="font-size: 62px; text-align: center;">Catchy Headline</h1>
- </div>
- <div class="col-lg-12 s_text pt16 pb16">
+ <div class="col-lg-12">
+ <h1 class="o_default_snippet_text" style="font-size: 62px; text-align: center;">Catchy Headline</h1>
<p class="lead o_default_snippet_text" style="text-align: center;">Write one or two paragraphs describing your product, services or a specific feature.<br/> To be successful your content needs to be useful to your readers.</p>
<p>
<a href="/aboutus" class="btn btn-delta rounded-circle o_default_snippet_text">About us</a>
@@ -465,10 +463,8 @@
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/website_slides/static/src/img/slide_demo_tree_img_3.jpg'); background-position: 50% 0;"></span>
<div class="container">
<div class="row s_nb_column_fixed">
- <div class="col-lg-12 s_title">
- <h1 class="s_title_thin o_default_snippet_text" style="font-size: 62px; text-align: center;">Catchy Headline</h1>
- </div>
- <div class="col-lg-12 s_text pt16 pb16">
+ <div class="col-lg-12">
+ <h1 class="o_default_snippet_text" style="font-size: 62px; text-align: center;">Catchy Headline</h1>
<p class="lead o_default_snippet_text" style="text-align: center;">Write one or two paragraphs describing your product, services or a specific feature.<br/> To be successful your content needs to be useful to your readers.</p>
<p class="o_default_snippet_text">
<a href="/aboutus" class="btn btn-delta rounded-circle">About us</a>