Skip to content

Commit

Permalink
Creating New HTML and fixing layout.html
Browse files Browse the repository at this point in the history
  • Loading branch information
hanseller committed Mar 22, 2024
1 parent 5f2db88 commit 2718e6b
Show file tree
Hide file tree
Showing 19 changed files with 645 additions and 63 deletions.
35 changes: 17 additions & 18 deletions common/display/display-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ <h3 id="float">Float</h3>
<h4>Bootstrap 3 <code> .clearfix</code>working example</h4>
<div class="well">
<div class="row">
<div class="pull-left bg-darker text-white">Column 1</div>
<div class="pull-left bg-darker text-white">Column 2</div>
<div class="pull-left bg-darker text-white">Column 3</div>
<div class="pull-left bg-darker text-white col-md-3 well">Column 1</div>
<div class="pull-left bg-darker text-whitecol-md-3 well">Column 2</div>
<div class="pull-left bg-darker text-white col-md-3 well">Column 3</div>
<!-- Add clearfix class to clear floated elements -->
<div class="clearfix"></div>
</div>
Expand All @@ -41,9 +41,9 @@ <h4>Bootstrap 3 <code> .clearfix</code>working example</h4>
<h4>Code sample</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="row"&gt;
&lt;div class="col-md-3 well" style="background-color: #ffffff; float: left;"&gt;Column 1&lt;/div&gt;
&lt;div class="col-md-3 well" style="background-color: #ffffff; float: left;"&gt;Column 2&lt;/div&gt;
&lt;div class="col-md-3 well" style="background-color: #ffffff; float: left;"&gt;Column 3&lt;/div&gt;
&lt;div class="col-md-3 well pull-left bg-darker"&gt;Column 1&lt;/div&gt;
&lt;div class="col-md-3 well pull-left bg-darker"&gt;Column 2&lt;/div&gt;
&lt;div class="col-md-3 well pull-left bg-darker"&gt;Column 3&lt;/div&gt;
&lt;!-- Add clearfix class to clear floated elements --&gt;
&lt;div class="<strong>clearfix</strong>"&gt;&lt;/div&gt;
&lt;/div&gt;
Expand All @@ -52,13 +52,13 @@ <h4>Code sample</h4>

<h4>Bootstrap 3 <code>.center-block</code> class working example</h4>
<div class="well">
<div class="center-block well" style="width: 200px; height: 200px; background-color: #ffffff;">
<div class="center-block well bg-darker">
This element is centered horizontally within its parent container.
</div>
</div>
<h4>Code sample</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>center-block</strong> well" style="width: 200px; height: 200px; background-color: #ffffff;"&gt;
&lt;div class="<strong>center-block</strong> well bg-darker"&gt;
This element is centered horizontally within its parent container.
&lt;/div&gt;
&lt;/div&gt;</code></pre>
Expand All @@ -82,8 +82,7 @@ <h4>Bootstrap 3 <code>.pull-left</code> class working example</h4>
This element is floated to the left within its parent container.
</div>
</div>
<div class="clearfix"></div>
&lt;div class="clearfix"&gt; &lt;/div&gt;

<h4>Code sample</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>pull-left</strong> well"&gt;
Expand Down Expand Up @@ -618,49 +617,49 @@ <h4>Code sample</h4>
<h3 id="opacity">Opacity</h3>

<h4>WET-BOEW <code>.opct-10 </code>class working example</h4><div class="well">
<div class="opct-10 well" style="opacity: 0.1;">
<div class="opct-10 well">
This element has an opacity of 0.1 (10%).
</div>
</div>
<h4>Code sample</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>opct-10</strong> well" style="opacity: 0.1;"&gt;
&lt;div class="<strong>opct-10</strong> well"&gt;
This element has an opacity of 0.1 (10%).
&lt;/div&gt;
&lt;/div&gt;</code></pre>

<h4>WET-BOEW <code>.opct-20 </code>class working example</h4><div class="well">
<div class="opct-20 well" style="opacity: 0.2;">
<div class="opct-20 well">
This element has an opacity of 0.2 (20%).
</div>
</div>
<h4>Code sample</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>opct-20</strong> well" style="opacity: 0.2;"&gt;
&lt;div class="<strong>opct-20</strong> well"&gt;
This element has an opacity of 0.2 (20%).
&lt;/div&gt;
&lt;/div&gt;</code></pre>

<h4>WET-BOEW <code>.opct-90 </code>class working example</h4><div class="well">
<div class="opct-90 well" style="opacity: 0.9;">
<div class="opct-90 well">
This element has an opacity of 0.9 (90%).
</div>
</div>
<h4>Code sample</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>opct-90</strong> well" style="opacity: 0.9;"&gt;
&lt;div class="<strong>opct-90</strong> well"&gt;
This element has an opacity of 0.9 (90%).
&lt;/div&gt;
&lt;/div&gt;</code></pre>

<h4>WET-BOEW <code>.opct-100 </code>class working example</h4><div class="well">
<div class="opct-100 well" style="opacity: 1;">
<div class="opct-100 well">
This element has an opacity of 1 (100%).
</div>
</div>
<h4>Code sample</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>opct-100</strong> well" style="opacity: 1;"&gt;
&lt;div class="<strong>opct-100</strong> well"&gt;
This element has an opacity of 1 (100%).
&lt;/div&gt;
&lt;/div&gt;</code></pre>
Expand Down
40 changes: 20 additions & 20 deletions common/display/display-fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ <h3 id="flottant">Flottant</h3>
<h4>Exemple fonctionnel de <code>.clearfix</code>Bootstrap 3</h4>
<div class="well">
<div class="row">
<div class="col-md-3 well" style="background-color: #ffffff; float: left;">Colonne 1</div>
<div class="col-md-3 well" style="background-color: #ffffff; float: left;">Colonne 2</div>
<div class="col-md-3 well" style="background-color: #ffffff; float: left;">Colonne 3</div>
<div class="pull-left bg-darker text-white col-md-3 well">Colonne 1</div>
<div class="pull-left bg-darker text-white col-md-3 well">Colonne 2</div>
<div class="pull-left bg-darker text-white col-md-3 well">Colonne 3</div>
<!-- Ajouter la classe clearfix pour effacer les éléments flottants -->
<div class="clearfix"></div>
</div>
Expand All @@ -41,9 +41,9 @@ <h4>Exemple fonctionnel de <code>.clearfix</code>Bootstrap 3</h4>
<h4>Exemple de code</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="row"&gt;
&lt;div class="col-md-3 well" style="background-color: #ffffff; float: left;"&gt;Colonne 1&lt;/div&gt;
&lt;div class="col-md-3 well" style="background-color: #ffffff; float: left;"&gt;Colonne 2&lt;/div&gt;
&lt;div class="col-md-3 well" style="background-color: #ffffff; float: left;"&gt;Colonne 3&lt;/div&gt;
&lt;div class="pull-left bg-darker text-white col-md-3 well"&gt;Colonne 1&lt;/div&gt;
&lt;div class="pull-left bg-darker text-white col-md-3 well"&gt;Colonne 2&lt;/div&gt;
&lt;div class="pull-left bg-darker text-white col-md-3 well"&gt;Colonne 3&lt;/div&gt;
&lt;!-- Ajouter la classe clearfix pour effacer les éléments flottants --&gt;
&lt;div class="<strong>clearfix</strong>"&gt;&lt;/div&gt;
&lt;/div&gt;
Expand All @@ -52,7 +52,7 @@ <h4>Exemple de code</h4>

<h4>Exemple de fonctionnement de la classe Bootstrap 3 <code>.center-block</code></h4>
<div class="well">
<div class="center-block well" style="width: 200px; height: 200px; background-color: #ffffff;">
<div class="center-block well bg-darker">
Cet élément est centré horizontalement dans son conteneur parent.
</div>
</div>
Expand All @@ -64,7 +64,7 @@ <h4>Exemple de code</h4>
&lt;/div&gt;</code></pre>

<h4>Exemple de fonctionnement de la classe Bootstrap 3 <code>.pull-right</code></h4>
<div class="well" style="height: 115px;">
<div class="well">
<div class="pull-right well">
Cet élément est flottant à droite dans son conteneur parent.
</div>
Expand All @@ -77,15 +77,15 @@ <h4>Exemple de code</h4>
&lt;/div&gt;</code></pre>

<h4>Exemple de fonctionnement de la classe Bootstrap 3 <code>.pull-left</code></h4>
<div class="well" style="height: 115px;">
<div class="well">
<div class="pull-left well">
Cet élément est flottant à gauche dans son conteneur parent.
</div>
</div>
<div class="clearfix"></div>
&lt;div class="clearfix"&gt; &lt;/div&gt;
<h4>Exemple de code</h4>
<pre><code>&lt;div class="well" style="height: 115px;"&gt;
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>pull-left</strong> well"&gt;
Cet élément est flottant à gauche dans son conteneur parent.
&lt;/div&gt;
Expand Down Expand Up @@ -634,52 +634,52 @@ <h3 id="opacite">Opacité</h3>

<h4>Exemple de fonctionnement de la classe WET-BOEW <code>.opct-10</code></h4>
<div class="well">
<div class="opct-10 well" style="opacity: 0.1;">
<div class="opct-10 well">
Cet élément a une opacité de 0.1 (10%).
</div>
</div>
<h4>Exemple de code</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>opct-10</strong> well" style="opacity: 0.1;"&gt;
&lt;div class="<strong>opct-10</strong> well"&gt;
Cet élément a une opacité de 0.1 (10%).
&lt;/div&gt;
&lt;/div&gt;</code></pre>

<h4>Exemple de fonctionnement de la classe WET-BOEW <code>.opct-20</code></h4>
<div class="well">
<div class="opct-20 well" style="opacity: 0.2;">
<div class="opct-20 well">
Cet élément a une opacité de 0.2 (20%).
</div>
</div>
<h4>Exemple de code</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>opct-20</strong> well" style="opacity: 0.2;"&gt;
&lt;div class="<strong>opct-20</strong> well"&gt;
Cet élément a une opacité de 0.2 (20%).
&lt;/div&gt;
&lt;/div&gt;</code></pre>

<h4>Exemple de fonctionnement de la classe WET-BOEW <code>.opct-90</code></h4>
<div class="well">
<div class="opct-90 well" style="opacity: 0.9;">
<div class="opct-90 well">
Cet élément a une opacité de 0.9 (90%).
</div>
</div>
<h4>Exemple de code</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>opct-90</strong> well" style="opacity: 0.9;"&gt;
&lt;div class="<strong>opct-90</strong> well"&gt;
Cet élément a une opacité de 0.9 (90%).
&lt;/div&gt;
&lt;/div&gt;</code></pre>

<h4>Exemple de fonctionnement de la classe WET-BOEW <code>.opct-100</code></h4>
<div class="well">
<div class="opct-100 well" style="opacity: 1;">
<div class="opct-100 well">
Cet élément a une opacité de 1 (100%).
</div>
</div>
<h4>Exemple de code</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>opct-100</strong> well" style="opacity: 1;"&gt;
&lt;div class="<strong>opct-100</strong> well"&gt;
Cet élément a une opacité de 1 (100%).
&lt;/div&gt;
&lt;/div&gt;</code></pre>
Expand Down Expand Up @@ -1002,13 +1002,13 @@ <h4>Exemple de code</h4>
&lt;/div&gt;</code></pre>

<h4>Exemple de fonctionnement de la classe WET-BOEW <code>.max-content</code></h4>
<div class="well" style="width: 890px;">
<div class="well">
<div class="max-content well">
Cet élément ajuste sa largeur pour s'adapter à son contenu, mais pas plus large que son conteneur parent.
</div>
</div>
<h4>Exemple de code</h4>
<pre><code>&lt;div class="well" style="width: 890px;"&gt;
<pre><code>&lt;div class="well"&gt;
&lt;div class="<strong>max-content</strong> well"&gt;
Cet élément ajuste sa largeur pour s'adapter à son contenu, mais pas plus large que son conteneur parent.
&lt;/div&gt;
Expand Down
34 changes: 34 additions & 0 deletions common/grid-layout/align_columns-en.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
{
"title": "Align Columns",
"language": "en",
"altLangPage": "align_columns-fr.html",
"pageclass": "cnt-wdth-lmtd",
"secondlevel": false,
"dateModified": "2024-03-20",
"share": "true"
}
---

<h4>WET-BOEW <code>[class*=col-] .well.header-rwd[class*=pstn-]</code> class working example</h4>
<div class="well">
<div class="row">
<div class="col-md-6">
<div class="well header-rwd pstn-example">
The <code>header-rwd</code> class will inherit the width of the parent container
due to the CSS rule <code>[class*=col-] .well.header-rwd[class*=pstn-]</code>.
</div>
</div>
</div>
</div>
<h4>Code Sample</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="row"&gt;
&lt;div class="col-md-6"&gt;
&lt;div class="well header-rwd pstn-example"&gt;
The &lt;code&gt;header-rwd&lt;/code&gt; class will inherit the width of the parent container
due to the CSS rule &lt;code&gt;[class*=col-] .well.header-rwd[class*=pstn-]&lt;/code&gt;.
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</code></pre>
33 changes: 33 additions & 0 deletions common/grid-layout/align_columns-fr.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
{
"title": "Aligner les colonnes",
"language": "fr",
"altLangPage": "align_columns-en.html",
"pageclass": "cnt-wdth-lmtd",
"secondlevel": false,
"dateModified": "2024-03-20",
"share": "true"
}
---

<h4>WET-BOEW <code>[class*=col-] .well.header-rwd[class*=pstn-]</code> Exemple de fonctionnement de la classe</h4>
<div class="well">
<div class="row">
<div class="col-md-6">
<div class="well header-rwd pstn-example">
La classe <code>header-rwd</code> héritera de la largeur du conteneur parent grâce à la règle CSS <code>[class*=col-] .well.header-rwd[class*=pstn-]</code>.
</div>
</div>
</div>
</div>
<h4>Exemple de code</h4>
<pre><code>&lt;div class="well"&gt;
&lt;div class="row"&gt;
&lt;div class="col-md-6"&gt;
&lt;div class="well header-rwd pstn-example"&gt;
La classe &lt;code&gt;header-rwd&lt;/code&gt; héritera de la largeur du conteneur parent
grâce à la règle CSS &lt;code&gt;[class*=col-] .well.header-rwd[class*=pstn-]&lt;/code&gt;.
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</code></pre>
48 changes: 48 additions & 0 deletions common/grid-layout/authentication-en.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
{
"title": "Authentication",
"language": "en",
"altLangPage": "authentication-fr.html",
"pageclass": "cnt-wdth-lmtd",
"secondlevel": false,
"dateModified": "2024-03-20",
"share": "true"
}
---

<h4>GCWeb Authentication Section with <code>.col-</code> classes</h4>
<p>It contains a row with a single column of `.col-md-8`. Inside the column, there is a `gcweb-menu` class that represents the authentication menu.
</p>
<div class="well" style="height: 200px;">
<div class="row">
<div class="col-md-8">
<div class="gcweb-menu">
<ul role="menu">
<!-- Menu items for authentication section -->
<li>[Menu 1]</li>
<li>[Menu 2]</li>
<li>[Menu 3]</li>
<!-- Authentication menu items here -->
<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
</ul>
</div>
</div>
</div>
</div>
<h4>Code Sample</h4>
<pre><code>&lt;div class="well" style="height: 200px;"&gt;
&lt;div class="row"&gt;
&lt;div class="col-md-8"&gt;
&lt;div class="gcweb-menu"&gt;
&lt;ul role="menu"&gt;
&lt;!-- Menu items for authentication section --&gt;
&lt;li&gt;[Menu 1]&lt;/li&gt;
&lt;li&gt;[Menu 2]&lt;/li&gt;
&lt;li&gt;[Menu 3]&lt;/li&gt;
&lt;!-- Authentication menu items here --&gt;
&lt;li&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</code></pre>
Loading

0 comments on commit 2718e6b

Please sign in to comment.