[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
This commit is contained in:
qsm-odoo
2020-01-24 13:02:03 +00:00
parent 346a7ca5d4
commit 599b5910f0
9 changed files with 22 additions and 44 deletions
+5 -13
View File
@@ -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">
+1 -1
View File
@@ -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>
+1 -3
View File
@@ -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>
@@ -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">
+1 -1
View File
@@ -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;">
+2 -4
View File
@@ -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>
@@ -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"/>
+4 -6
View File
@@ -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>
@@ -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>