-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename horizontal list to horizontal section | various cleanup
- Loading branch information
Showing
16 changed files
with
165 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
templates/docs/examples/patterns/lists/_list-horizontal-section-example.jinja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{% macro list_horizontal_section_example(list_item_style="", layout_variant_class="") %} | ||
{% set list_item_style = list_item_style | trim %} | ||
{% set layout_variant_class = layout_variant_class | trim %} | ||
|
||
{% set list_classes = "p-list--horizontal-section" %} | ||
{% if layout_variant_class | length > 0 %} | ||
{% set list_classes = list_classes + " " + layout_variant_class %} | ||
{% endif %} | ||
|
||
{% set list_tag = "ul" %} | ||
{% if list_item_style == "ordered" %} | ||
{% set list_tag = "ol" %} | ||
{% set list_item_style = "" %} | ||
{% endif %} | ||
|
||
{% set list_item_classes = "p-list__item" %} | ||
{% if list_item_style | length > 0 %} | ||
{% set list_item_classes = list_item_classes + " " + list_item_style %} | ||
{% endif %} | ||
|
||
<{{ list_tag }} class="{{ list_classes }}"> | ||
<li class="{{ list_item_classes }}"> | ||
10 year security maintenance and CVE Patching | ||
</li> | ||
<li class="{{ list_item_classes }}"> | ||
<a href="#">Kernel Livepatch</a> for 24/7 patching with no downtime | ||
</li> | ||
<li class="{{ list_item_classes }}"> | ||
<a href="#">Expanded security</a> for infrastructure and applications | ||
</li> | ||
<li class="{{ list_item_classes }}"> | ||
<a href="#">FIPS 140-2</a> cryptographic modules certified by NIST | ||
</li> | ||
<li class="{{ list_item_classes }}"> | ||
<a href="#">Common Criteria EAL2</a>: ISO/IEC IS 15408 validated by CSEC | ||
</li> | ||
<li class="{{ list_item_classes }}"> | ||
<a href="#">DISA/STIG</a> hardening for <abbr title="Department of Defence, USA">DoD</abbr> | ||
compliance | ||
</li> | ||
<li class="{{ list_item_classes }}"> | ||
<a href="#">CIS profiles</a> for cyber defence and malware prevention | ||
</li> | ||
</{{ list_tag }}> | ||
{% endmacro %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
templates/docs/examples/patterns/lists/lists-horizontal-3-cols-on-large-responsive.html
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
templates/docs/examples/patterns/lists/lists-horizontal-responsive.html
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
...ates/docs/examples/patterns/lists/lists-horizontal-section-25-75-responsive-bulleted.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "_layouts/examples.html" %} | ||
{% block title %}Lists / Horizontal section / 25/75 / Bulleted{% endblock %} | ||
{% from "docs/examples/patterns/lists/_list-horizontal-section-example.jinja" import list_horizontal_section_example %} | ||
|
||
{% block standalone_css %}patterns_lists{% endblock %} | ||
|
||
{% block content %} | ||
{{ list_horizontal_section_example('has-bullet', 'is-25-75') }} | ||
{% endblock %} |
9 changes: 9 additions & 0 deletions
9
...lates/docs/examples/patterns/lists/lists-horizontal-section-25-75-responsive-crossed.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "_layouts/examples.html" %} | ||
{% block title %}Lists / Horizontal section / 25/75 / Crossed{% endblock %} | ||
{% from "docs/examples/patterns/lists/_list-horizontal-section-example.jinja" import list_horizontal_section_example %} | ||
|
||
{% block standalone_css %}patterns_lists{% endblock %} | ||
|
||
{% block content %} | ||
{{ list_horizontal_section_example('is-crossed', 'is-25-75') }} | ||
{% endblock %} |
9 changes: 9 additions & 0 deletions
9
...lates/docs/examples/patterns/lists/lists-horizontal-section-25-75-responsive-ordered.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "_layouts/examples.html" %} | ||
{% block title %}Lists / Horizontal section / 25/75 / Ordered{% endblock %} | ||
{% from "docs/examples/patterns/lists/_list-horizontal-section-example.jinja" import list_horizontal_section_example %} | ||
|
||
{% block standalone_css %}patterns_lists{% endblock %} | ||
|
||
{% block content %} | ||
{{ list_horizontal_section_example('ordered', 'is-25-75') }} | ||
{% endblock %} |
9 changes: 9 additions & 0 deletions
9
templates/docs/examples/patterns/lists/lists-horizontal-section-25-75-responsive-ticked.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "_layouts/examples.html" %} | ||
{% block title %}Lists / Horizontal section / 25/75 / Ticked{% endblock %} | ||
{% from "docs/examples/patterns/lists/_list-horizontal-section-example.jinja" import list_horizontal_section_example %} | ||
|
||
{% block standalone_css %}patterns_lists{% endblock %} | ||
|
||
{% block content %} | ||
{{ list_horizontal_section_example('is-ticked', 'is-25-75') }} | ||
{% endblock %} |
9 changes: 9 additions & 0 deletions
9
templates/docs/examples/patterns/lists/lists-horizontal-section-responsive-bulleted.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "_layouts/examples.html" %} | ||
{% block title %}Lists / Horizontal section / Bulleted{% endblock %} | ||
{% from "docs/examples/patterns/lists/_list-horizontal-section-example.jinja" import list_horizontal_section_example %} | ||
|
||
{% block standalone_css %}patterns_lists{% endblock %} | ||
|
||
{% block content %} | ||
{{ list_horizontal_section_example('has-bullet') }} | ||
{% endblock %} |
9 changes: 9 additions & 0 deletions
9
templates/docs/examples/patterns/lists/lists-horizontal-section-responsive-crossed.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "_layouts/examples.html" %} | ||
{% block title %}Lists / Horizontal section / Crossed{% endblock %} | ||
{% from "docs/examples/patterns/lists/_list-horizontal-section-example.jinja" import list_horizontal_section_example %} | ||
|
||
{% block standalone_css %}patterns_lists{% endblock %} | ||
|
||
{% block content %} | ||
{{ list_horizontal_section_example('is-crossed') }} | ||
{% endblock %} |
9 changes: 9 additions & 0 deletions
9
templates/docs/examples/patterns/lists/lists-horizontal-section-responsive-ordered.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "_layouts/examples.html" %} | ||
{% block title %}Lists / Horizontal section / Ordered{% endblock %} | ||
{% from "docs/examples/patterns/lists/_list-horizontal-section-example.jinja" import list_horizontal_section_example %} | ||
|
||
{% block standalone_css %}patterns_lists{% endblock %} | ||
|
||
{% block content %} | ||
{{ list_horizontal_section_example('ordered') }} | ||
{% endblock %} |
9 changes: 9 additions & 0 deletions
9
templates/docs/examples/patterns/lists/lists-horizontal-section-responsive-ticked.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "_layouts/examples.html" %} | ||
{% block title %}Lists / Horizontal section / Ticked{% endblock %} | ||
{% from "docs/examples/patterns/lists/_list-horizontal-section-example.jinja" import list_horizontal_section_example %} | ||
|
||
{% block standalone_css %}patterns_lists{% endblock %} | ||
|
||
{% block content %} | ||
{{ list_horizontal_section_example('is-ticked') }} | ||
{% endblock %} |
Oops, something went wrong.