diff --git a/common/list/index.json-ld b/common/list/index.json-ld new file mode 100644 index 000000000..45761605d --- /dev/null +++ b/common/list/index.json-ld @@ -0,0 +1,45 @@ +{ + "@context": { + "@version": 1.1, + "dct": "http://purl.org/dc/terms/", + "title": { "@id": "dct:title", "@container": "@language" }, + "description": { "@id": "dct:description", "@container": "@language" }, + "modified": "dct:modified" + }, + "title": { + "en": "List", + "fr": "Listes" + }, + "description": { + "en": "Example of all the possible styled list variant", + "fr": "Example de toutes les possibles variantes de personnalisation de liste." + }, + "modified": "2023-03-05", + "componentName": "list", + "processing": "baseline", + "status": "stable", + "pages": { + "examples": [ + { + "title": "Lists", + "language": "en", + "path": "lists-en.html" + }, + { + "title": "Listes", + "language": "fr", + "path": "lists-fr.html" + }, + { + "title": "List group", + "language": "en", + "path": "list-group-en.html" + }, + { + "title": "Liste groupé", + "language": "fr", + "path": "list-group-fr.html" + } + ] + } +} diff --git a/common/list/list-group-en.html b/common/list/list-group-en.html new file mode 100644 index 000000000..8ca08566b --- /dev/null +++ b/common/list/list-group-en.html @@ -0,0 +1,167 @@ +--- +{ + "title": "List group", + "language": "en", + "altLangPage": "list-group-fr.html", + "breadcrumbs": [ + { "title": "GCWeb home", "link": "https://wet-boew.github.io/GCWeb/index-fr.html" } + ], + "dateModified": "2023-03-05" +} +--- + +
+No links:
+With links:
+ +<p>No links:</p>
+<ul class="list-group">
+ <li class="list-group-item">Text</li>
+ <li class="list-group-item">Text</li>
+</ul>
+<p>With links:</p>
+<div class="list-group">
+ <a href="#" class="list-group-item">Link text</a>
+ <a href="#" class="list-group-item active">Link text (active item)</a>
+ <a href="#" class="list-group-item">Link text</a>
+</div>
+
+No links:
+With links:
+ +<p>No links:</p>
+<ul class="list-group">
+ <li class="list-group-item list-group-item-success">Text</li>
+ <li class="list-group-item list-group-item-info">Text</li>
+ <li class="list-group-item list-group-item-warning">Text</li>
+ <li class="list-group-item list-group-item-danger">Text</li>
+</ul>
+<p>With links:</p>
+<div class="list-group">
+ <a href="#" class="list-group-item list-group-item-success">Link text</a>
+ <a href="#" class="list-group-item list-group-item-info">Link text</a>
+ <a href="#" class="list-group-item list-group-item-warning">Link text</a>
+ <a href="#" class="list-group-item list-group-item-danger">Link text</a>
+</div>
+<div class="list-group">
+ <a href="#" class="list-group-item list-group-item-success active">Link text (active item)</a>
+ <a href="#" class="list-group-item list-group-item-info active">Link text (active item)</a>
+ <a href="#" class="list-group-item list-group-item-warning active">Link text (active item)</a>
+ <a href="#" class="list-group-item list-group-item-danger active">Link text (active item)</a>
+</div>
+
+No links:
+With links:
+ +<div class="panel-body">
+ <p>No links:</p>
+ <ul class="list-group">
+ <li class="list-group-item"><span class="badge">14</span> Text</li>
+ <li class="list-group-item"><span class="badge">2</span> Text</li>
+ </ul>
+ <p>With links:</p>
+ <div class="list-group">
+ <a href="#" class="list-group-item"><span class="badge">14</span> Link text</a>
+ <a href="#" class="list-group-item active"><span class="badge">2</span> Link text (active item)</a>
+ <a href="#" class="list-group-item"><span class="badge">5</span> Link text</a>
+ </div>
+</div>
+
+The following content are not compliant to accessibility and they are there only for example purpose. Skip this non-accessible content section.
+No links:
+Content
+Content
+With links:
+ +<p>No links:</p>
+<ul class="list-group">
+ <li class="list-group-item">
+ <h3 class="list-group-item-heading">Heading</h3>
+ <p class="list-group-item-text">Content</p>
+ </li>
+ <li class="list-group-item">
+ <h3 class="list-group-item-heading">Heading</h3>
+ <p class="list-group-item-text">Content</p>
+ </li>
+</ul>
+<p>With links:</p>
+<div class="list-group">
+ <a href="#" class="list-group-item">
+ <h3 class="list-group-item-heading">Heading</h3>
+ <p class="list-group-item-text">Content</p>
+ </a>
+ <a href="#" class="list-group-item active">
+ <h3 class="list-group-item-heading">Heading</h3>
+ <p class="list-group-item-text">Content</p>
+ </a>
+ <a href="#" class="list-group-item">
+ <h3 class="list-group-item-heading">Heading</h3>
+ <p class="list-group-item-text">Content</p>
+ </a>
+</div>
+
diff --git a/common/list/list-group-fr.html b/common/list/list-group-fr.html
new file mode 100644
index 000000000..88481a939
--- /dev/null
+++ b/common/list/list-group-fr.html
@@ -0,0 +1,170 @@
+---
+{
+ "title": "Liste groupé",
+ "language": "fr",
+ "altLangPage": "list-group-en.html",
+ "breadcrumbs": [
+ { "title": "GCWeb home", "link": "https://wet-boew.github.io/GCWeb/index-fr.html" }
+ ],
+ "dateModified": "2023-03-05"
+}
+---
+
+
+Cette page nécessite une traduction.
+No links:
+With links:
+ +<p>No links:</p>
+ <ul class="list-group">
+ <li class="list-group-item">Text</li>
+ <li class="list-group-item">Text</li>
+ </ul>
+ <p>With links:</p>
+ <div class="list-group">
+ <a href="#" class="list-group-item">Link text</a>
+ <a href="#" class="list-group-item active">Link text (active item)</a>
+ <a href="#" class="list-group-item">Link text</a>
+ </div>
+
+ No links:
+With links:
+ +<p>No links:</p>
+ <ul class="list-group">
+ <li class="list-group-item list-group-item-success">Text</li>
+ <li class="list-group-item list-group-item-info">Text</li>
+ <li class="list-group-item list-group-item-warning">Text</li>
+ <li class="list-group-item list-group-item-danger">Text</li>
+ </ul>
+ <p>With links:</p>
+ <div class="list-group">
+ <a href="#" class="list-group-item list-group-item-success">Link text</a>
+ <a href="#" class="list-group-item list-group-item-info">Link text</a>
+ <a href="#" class="list-group-item list-group-item-warning">Link text</a>
+ <a href="#" class="list-group-item list-group-item-danger">Link text</a>
+ </div>
+ <div class="list-group">
+ <a href="#" class="list-group-item list-group-item-success active">Link text (active item)</a>
+ <a href="#" class="list-group-item list-group-item-info active">Link text (active item)</a>
+ <a href="#" class="list-group-item list-group-item-warning active">Link text (active item)</a>
+ <a href="#" class="list-group-item list-group-item-danger active">Link text (active item)</a>
+ </div>
+
+ No links:
+With links:
+ +<div class="panel-body">
+ <p>No links:</p>
+ <ul class="list-group">
+ <li class="list-group-item"><span class="badge">14</span> Text</li>
+ <li class="list-group-item"><span class="badge">2</span> Text</li>
+ </ul>
+ <p>With links:</p>
+ <div class="list-group">
+ <a href="#" class="list-group-item"><span class="badge">14</span> Link text</a>
+ <a href="#" class="list-group-item active"><span class="badge">2</span> Link text (active item)</a>
+ <a href="#" class="list-group-item"><span class="badge">5</span> Link text</a>
+ </div>
+ </div>
+
+ The following content are not compliant to accessibility and they are there only for example purpose. Skip this non-accessible content section.
+No links:
+Content
+Content
+With links:
+ +<p>No links:</p>
+ <ul class="list-group">
+ <li class="list-group-item">
+ <h3 class="list-group-item-heading">Heading</h3>
+ <p class="list-group-item-text">Content</p>
+ </li>
+ <li class="list-group-item">
+ <h3 class="list-group-item-heading">Heading</h3>
+ <p class="list-group-item-text">Content</p>
+ </li>
+ </ul>
+ <p>With links:</p>
+ <div class="list-group">
+ <a href="#" class="list-group-item">
+ <h3 class="list-group-item-heading">Heading</h3>
+ <p class="list-group-item-text">Content</p>
+ </a>
+ <a href="#" class="list-group-item active">
+ <h3 class="list-group-item-heading">Heading</h3>
+ <p class="list-group-item-text">Content</p>
+ </a>
+ <a href="#" class="list-group-item">
+ <h3 class="list-group-item-heading">Heading</h3>
+ <p class="list-group-item-text">Content</p>
+ </a>
+ </div>
+
+<ul>
+ <li>...</li>
+ </ul>
+
+
+<ol>
+<li>...</li>
+</ol>
+
+// Data list
+<dl>
+
+// Data term:
+<dt>...</dt>
+
+// Data definition:
+<dd>...</dd>
+</dl>
+
+Unstyled list:
+Unstyled nested list:
+//Unstyled list:
+<ul class="list-unstyled">
+ <li>...</li>
+</ul>
+
+//Unstyled nested list:
+<ul>
+ <li>List item 1
+ <ul class="lst-none">
+ <li>List item 1a</li>
+ <li>List item 1b</li>
+ </ul>
+ </li>
+</ul>
+
+<ol>
+<li>...
+ <ol class="lst-num">
+ <li>...</li>
+ </ol>
+</li>
+<li>...</li>
+</ol>
+
+<ol>
+<li>...
+ <ol class="lst-lwr-alph">
+ <li>...</li>
+ </ol>
+</li>
+<li>...</li>
+</ol>
+
+<ol class="lst-upr-alph">
+<li>...</li>
+</ol>
+
+<ol>
+<li>...
+ <ol class="lst-lwr-rmn">
+ <li>...</li>
+ </ol>
+</li>
+<li>...</li>
+</ol>
+
+<ol class="lst-upr-rmn">
+ <li>...</li>
+</ol>
+
+<ol class="list-inline">
+ <li>...</li>
+</ol>
+
+// Spaced list:
+<ul class="lst-spcd">
+<li>List item 1</li>
+<li>List item 2</li>
+<li>List item 3</li>
+</ul>
+
+With no border
+<dl class="dl-horizontal">
+<dt>...</dt>
+<dd>...</dd>
+</dl>
+//With no border
+<dl class="dl-horizontal brdr-0">
+<dt>...</dt>
+<dd>...</dd>
+</dl>
+
+.colcount-xxs-2
, .colcount-xs-2
, .colcount-sm-2
, .colcount-md-2
, .colcount-lg-2
, .colcount-xl-2
.colcount-xxs-3
, .colcount-xs-3
, .colcount-sm-3
, .colcount-md-3
, .colcount-lg-3
, .colcount-xl-3
.colcount-xxs-4
, .colcount-xs-4
, .colcount-sm-4
, .colcount-md-4
, .colcount-lg-4
, .colcount-xl-4
<ul class="colcount-sm-2">
+<li>Item 1</li>
+...
+<li>Item 8</li>
+</ul>
+
+<ul class="colcount-sm-3">
+<li>Item 1</li>
+...
+<li>Item 8</li>
+</ul>
+
+<ul class="colcount-sm-4">
+<li>Item 1</li>
+...
+<li>Item 8</li>
+</ul>
+
+<ul class="colcount-sm-2 colcount-md-3 colcount-lg-4">
+<li>Item 1</li>
+...
+<li>Item 8</li>
+</ul>
+
+.list-responsive
<ul class="list-responsive">
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+</ul>
+
+
+.lst-spcd-2
<ul class="lst-spcd-2">
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+</ul>
+
+.list-col-[breakpoint]-[columns]
<ul class="list-col-xs-1 list-col-sm-2 list-col-md-3 list-col-lg-4">
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+<li>Item</li>
+</ul>
+
diff --git a/common/list/lists-fr.html b/common/list/lists-fr.html
new file mode 100644
index 000000000..d6d36e3d5
--- /dev/null
+++ b/common/list/lists-fr.html
@@ -0,0 +1,388 @@
+---
+{
+ "title": "Listes",
+ "language": "fr",
+ "altLangPage": "lists-en.html",
+ "breadcrumbs": [
+ { "title": "GCWeb home", "link": "https://wet-boew.github.io/GCWeb/index-en.html" }
+ ],
+ "dateModified": "2023-03-05"
+}
+---
+
+
+Cette page nécessite une traduction.
+<ul>
+ <li>...</li>
+ </ul>
+
+
+ <ol>
+ <li>...</li>
+ </ol>
+
+ // Data list
+ <dl>
+
+ // Data term:
+ <dt>...</dt>
+
+ // Data definition:
+ <dd>...</dd>
+ </dl>
+
+ Unstyled list:
+Unstyled nested list:
+//Unstyled list:
+ <ul class="list-unstyled">
+ <li>...</li>
+ </ul>
+
+ //Unstyled nested list:
+ <ul>
+ <li>List item 1
+ <ul class="lst-none">
+ <li>List item 1a</li>
+ <li>List item 1b</li>
+ </ul>
+ </li>
+ </ul>
+
+ <ol>
+ <li>...
+ <ol class="lst-num">
+ <li>...</li>
+ </ol>
+ </li>
+ <li>...</li>
+ </ol>
+
+ <ol>
+ <li>...
+ <ol class="lst-lwr-alph">
+ <li>...</li>
+ </ol>
+ </li>
+ <li>...</li>
+ </ol>
+
+ <ol class="lst-upr-alph">
+ <li>...</li>
+ </ol>
+
+ <ol>
+ <li>...
+ <ol class="lst-lwr-rmn">
+ <li>...</li>
+ </ol>
+ </li>
+ <li>...</li>
+ </ol>
+
+ <ol class="lst-upr-rmn">
+ <li>...</li>
+ </ol>
+
+ <ol class="list-inline">
+ <li>...</li>
+ </ol>
+
+ // Spaced list:
+ <ul class="lst-spcd">
+ <li>List item 1</li>
+ <li>List item 2</li>
+ <li>List item 3</li>
+ </ul>
+
+ With no border
+<dl class="dl-horizontal">
+ <dt>...</dt>
+ <dd>...</dd>
+ </dl>
+ //With no border
+ <dl class="dl-horizontal brdr-0">
+ <dt>...</dt>
+ <dd>...</dd>
+ </dl>
+
+ .colcount-xxs-2
, .colcount-xs-2
, .colcount-sm-2
, .colcount-md-2
, .colcount-lg-2
, .colcount-xl-2
.colcount-xxs-3
, .colcount-xs-3
, .colcount-sm-3
, .colcount-md-3
, .colcount-lg-3
, .colcount-xl-3
.colcount-xxs-4
, .colcount-xs-4
, .colcount-sm-4
, .colcount-md-4
, .colcount-lg-4
, .colcount-xl-4
<ul class="colcount-sm-2">
+ <li>Item 1</li>
+ ...
+ <li>Item 8</li>
+ </ul>
+
+ <ul class="colcount-sm-3">
+ <li>Item 1</li>
+ ...
+ <li>Item 8</li>
+ </ul>
+
+ <ul class="colcount-sm-4">
+ <li>Item 1</li>
+ ...
+ <li>Item 8</li>
+ </ul>
+
+ <ul class="colcount-sm-2 colcount-md-3 colcount-lg-4">
+ <li>Item 1</li>
+ ...
+ <li>Item 8</li>
+ </ul>
+
+ .list-responsive
<ul class="list-responsive">
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ </ul>
+
+
+ .lst-spcd-2
<ul class="lst-spcd-2">
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ </ul>
+
+ .list-col-[breakpoint]-[columns]
<ul class="list-col-xs-1 list-col-sm-2 list-col-md-3 list-col-lg-4">
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ <li>Item</li>
+ </ul>
+
+