From 59aada0f1006cf43373d0c7beb86aaaa78a202c0 Mon Sep 17 00:00:00 2001 From: "Antoine (anso)" Date: Tue, 2 May 2023 14:33:28 +0200 Subject: [PATCH] [IMP] website: update BS debug page This commit completes the Bootstrap debug page with components and properties that were not already showcased. task-3097005 Part-of: odoo/odoo#120302 --- addons/website/data/website_demo.xml | 316 +++++++++++++++++++++++---- 1 file changed, 277 insertions(+), 39 deletions(-) diff --git a/addons/website/data/website_demo.xml b/addons/website/data/website_demo.xml index efa76e5c318..62cf5e4b68c 100644 --- a/addons/website/data/website_demo.xml +++ b/addons/website/data/website_demo.xml @@ -14,25 +14,21 @@
-

Components

+

Components

-
+

Badge

- - -

Pill

- - +

Link

- +

Autosizing

- +
@@ -40,18 +36,29 @@ -

Outline

+
Outline
-

Small

+
Small
-

Large

+
Large
+
Group
+
+ + + +
+
+ + + +

Dropdown

+

Nav and tabs

+
Default
+ +
Tabs
+

Navbar

-
-

Alert

- -
- This is a "" alert with a link. -
-
- -

Breadcrumb

+
+

Breadcrumb

-

Card

-
-
- Card Header +

List-group

+
    +
  1. +
    +
    Subheading
    + Cras justo odio +
    + 14 +
  2. +
  3. +
    +
    Subheading
    + Cras justo odio +
    + 14 +
  4. +
  5. +
    +
    Subheading
    + Cras justo odio +
    + 14 +
  6. +
  7. +
    +
    Subheading
    + Cras justo odio +
    + 14 +
  8. +
  9. +
    +
    Subheading
    + Cras justo odio +
    + 14 +
  10. +
  11. +
    +
    Subheading
    + Cras justo odio +
    + 14 +
  12. +
  13. +
    +
    Subheading
    + Cras justo odio +
    + 14 +
  14. +
  15. +
    +
    Subheading
    + Cras justo odio +
    + 14 +
  16. +
  17. +
    +
    Subheading
    + Cras justo odio +
    + 14 +
  18. +
+
+

Card

+
+
+
+ ... +
+
Card title
+

Some quick example text to build on the card title and make up the bulk of the card's content.

+
+
    +
  • An item
  • +
  • A second item
  • +
  • A third item
  • +
+
-
- Card Body +
+
+
+
+
+ ... +
+
+
+
Card title
+

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

+

Last updated 3 mins ago

+
+
+
-
    -
  • Item 1
  • -
  • Item 2
  • -
- +
+
+

Alerts

+
+ +
+ This is a "" alert with a link. +
+
+
+
+ +
+ +
+ An example alert with an icon +
+
+
+
+
+
+
+

Modal

+
-
+
+

Utilities & Typography

@@ -172,7 +369,7 @@
-
+
@@ -205,6 +402,46 @@
+
+
+

Shadow small

+ (shadow-sm) +
+
+

Shadow medium

+ (shadow) +
+
+

Shadow large

+ (shadow-lg) +
+
+
+
+

Border radius none

+ (rounded-0) +
+
+

Border radius small

+ (rounded-1) +
+
+

Border radius medium

+ (rounded-2) +
+
+

Border radius large

+ (rounded-3) +
+
+
+

Display 1

+

Display 2

+

Display 3

+

Display 4

+

Display 5

+

Display 6

+

Headings 1

@@ -213,6 +450,7 @@

Headings 4

Headings 5
Headings 6
+

Lead text

Paragraph with bold, muted and italic texts

Link