diff --git a/releases.yml b/releases.yml index 6a3c35fe1..081679ebd 100644 --- a/releases.yml +++ b/releases.yml @@ -1,5 +1,9 @@ - version: 4.25.0 features: + - component: Tiered list + url: /docs/patterns/tiered-list + status: Updated + notes: We've added support for embedding images or videos to the tiered list pattern. - component: CTA Block url: /docs/patterns/cta-block status: Updated diff --git a/requirements.txt b/requirements.txt index 17816bef3..bdc51444a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ canonicalwebteam.flask-base==2.5.0 canonicalwebteam.templatefinder==1.0.0 canonicalwebteam.search==2.1.1 -canonicalwebteam.image-template==1.5.0 +canonicalwebteam.image-template==1.6.0 mistune==0.8.4 pyyaml==6.0.2 diff --git a/templates/_macros/vf_tiered-list.jinja b/templates/_macros/vf_tiered-list.jinja index c953afe95..33b776e8b 100644 --- a/templates/_macros/vf_tiered-list.jinja +++ b/templates/_macros/vf_tiered-list.jinja @@ -3,6 +3,10 @@ # desktop vs. 50/50 split between title/description # is_list_full_width_on_tablet: whether list title/description each have their # own row on tablet vs. 50/50 split between title/description +# is_media_full_width: whether the media is full width +# media_placement: where the image is placed relative to the description. Options are "after_description" or "before_description". +# img_attrs: attributes for the image element, e.g. src, alt, class +# video_attrs: attributes for the video element, e.g. src, class # Slots # title: top-level title element # description: top-level description element @@ -11,18 +15,90 @@ # cta: CTA block element {% macro vf_tiered_list( is_description_full_width_on_desktop=true, - is_list_full_width_on_tablet=true) -%} + is_list_full_width_on_tablet=true, + is_media_full_width=false, + media_placement="after_description", + img_attrs={}, + video_attrs={} + ) -%} {%- set title_content = caller('title') -%} {%- set description_content = caller('description') -%} {%- set has_description = description_content|trim|length > 0 -%} {%- set cta_content = caller('cta') -%} {%- set has_cta = cta_content|trim|length > 0 -%} + {%- set has_image = img_attrs['src']|trim|length > 0 -%} + {%- set has_video = video_attrs['src']|trim|length > 0 -%} + {%- set has_media = has_image or has_video -%} + + {% if media_placement not in ["before_description", "after_description"] %} + {% set media_placement = "after_description" %} + {% endif %} + + {% set image_aspect_ratio = "16-9" %} + {% if is_media_full_width and not is_video %} + {% set image_aspect_ratio = "cinematic" %} + {% endif %} + + {% macro _wrapped_media() %} + {%- if has_media -%} + {%- if has_video -%} +
This is a tiered list.
" -%} + {%- endif -%} + + {%- if cta_content|trim|length == 0 -%} + {%- set cta_content = "No CTA provided.
" -%} + {%- endif -%}
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ + + + {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-cta-with-default-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-cta-with-default-width-image.html new file mode 100644 index 000000000..03db05617 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-cta-with-default-width-image.html @@ -0,0 +1,93 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 on desktop with description CTA / With default width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ + + + {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-cta-with-full-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-cta-with-full-width-image-before-description.html new file mode 100644 index 000000000..15a341265 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-cta-with-full-width-image-before-description.html @@ -0,0 +1,96 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 on desktop with description CTA / With full width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=true, is_media_full_width=true, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ + + + {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-cta-with-full-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-cta-with-full-width-image.html new file mode 100644 index 000000000..01a1f1a04 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-cta-with-full-width-image.html @@ -0,0 +1,96 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 on desktop with description CTA / With full width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=true, is_media_full_width=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ + + + {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-default-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-default-width-image-before-description.html new file mode 100644 index 000000000..5124beee4 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-default-width-image-before-description.html @@ -0,0 +1,88 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with default width image / With default width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=true, media_placement="before_description") -%} + {%- if slot == 'title' -%} +A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == "image" -%} +
+ {%- endif -%}
+
+ {%- if slot == 'list_item_title_1' -%}
+ Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-default-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-default-width-image.html new file mode 100644 index 000000000..5d9a0fdc6 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-default-width-image.html @@ -0,0 +1,88 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with default width image / With default width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=true) -%} + {%- if slot == 'title' -%} +A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == "image" -%} +
+ {%- endif -%}
+
+ {%- if slot == 'list_item_title_1' -%}
+ Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-full-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-full-width-image-before-description.html new file mode 100644 index 000000000..d21070424 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-full-width-image-before-description.html @@ -0,0 +1,90 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with default width image / With full width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=true, is_media_full_width=true, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-full-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-full-width-image.html new file mode 100644 index 000000000..a8eed15c5 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-desktop-with-description-with-full-width-image.html @@ -0,0 +1,92 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with default width image / With full width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=true, is_media_full_width=true, img_attrs=image( +url="https://assets.ubuntu.com/v1/3f63a18c-data-center.png", +alt="", +width="2464", +height="1028", +hi_def=True, +loading="auto|lazy", +output_mode="attrs" +)) -%} + {%- if slot == 'title' -%} +A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-default-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-default-width-image-before-description.html new file mode 100644 index 000000000..add23bd6a --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-default-width-image-before-description.html @@ -0,0 +1,88 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 on tablet with description / With default width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=false, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-default-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-default-width-image.html new file mode 100644 index 000000000..9ab6e0e9b --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-default-width-image.html @@ -0,0 +1,88 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 on tablet with description / With default width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=false) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-full-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-full-width-image-before-description.html new file mode 100644 index 000000000..379f12fd9 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-full-width-image-before-description.html @@ -0,0 +1,90 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 on tablet with description / With full width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=false, is_media_full_width=true, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-full-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-full-width-image.html new file mode 100644 index 000000000..17f964065 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-tablet-with-description-with-full-width-image.html @@ -0,0 +1,90 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 on tablet with description / With full width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=false, is_media_full_width=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-default-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-default-width-image-before-description.html new file mode 100644 index 000000000..8534f66eb --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-default-width-image-before-description.html @@ -0,0 +1,81 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 on tablet without description / With default width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_list_full_width_on_tablet=false, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'list_item_title_1' -%}
+ Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-default-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-default-width-image.html new file mode 100644 index 000000000..a30900861 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-default-width-image.html @@ -0,0 +1,81 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 on tablet without description / With default width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_list_full_width_on_tablet=false) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'list_item_title_1' -%}
+ Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-full-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-full-width-image-before-description.html new file mode 100644 index 000000000..8fb4ee137 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-full-width-image-before-description.html @@ -0,0 +1,83 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 on tablet without description / With full width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_list_full_width_on_tablet=false, is_media_full_width=true, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'list_item_title_1' -%}
+ Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-full-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-full-width-image.html new file mode 100644 index 000000000..90dbb512e --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-tablet-without-description-with-full-width-image.html @@ -0,0 +1,83 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 on tablet without description / With full width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_list_full_width_on_tablet=false, is_media_full_width=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'list_item_title_1' -%}
+ Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-default-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-default-width-image-before-description.html new file mode 100644 index 000000000..697284fd2 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-default-width-image-before-description.html @@ -0,0 +1,88 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with description / With default width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=false, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-default-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-default-width-image.html new file mode 100644 index 000000000..246fd5497 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-default-width-image.html @@ -0,0 +1,88 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with description / With default width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=false) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-full-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-full-width-image-before-description.html new file mode 100644 index 000000000..7680dca0b --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-full-width-image-before-description.html @@ -0,0 +1,90 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with description / With full width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=false, is_media_full_width=true, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-full-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-full-width-image.html new file mode 100644 index 000000000..0e286f8f0 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-with-description-with-full-width-image.html @@ -0,0 +1,90 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with description / With full width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=false, is_media_full_width=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-default-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-default-width-image-before-description.html new file mode 100644 index 000000000..9f895e3c3 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-default-width-image-before-description.html @@ -0,0 +1,83 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with description / Without CTA / With default width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=false, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-default-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-default-width-image.html new file mode 100644 index 000000000..52c912004 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-default-width-image.html @@ -0,0 +1,83 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with description / Without CTA / With default width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=false) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-full-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-full-width-image-before-description.html new file mode 100644 index 000000000..a693dfc57 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-full-width-image-before-description.html @@ -0,0 +1,85 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with description / Without CTA / With full width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=false, is_media_full_width=true, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-full-width-image.html b/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-full-width-image.html new file mode 100644 index 000000000..673887a67 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/50-50-with-description-without-cta-with-full-width-image.html @@ -0,0 +1,85 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / 50/50 with description / Without CTA / With full width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=false, is_list_full_width_on_tablet=false, is_media_full_width=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/combined.html b/templates/docs/examples/patterns/tiered-list/combined.html index de190205c..8f238e654 100644 --- a/templates/docs/examples/patterns/tiered-list/combined.html +++ b/templates/docs/examples/patterns/tiered-list/combined.html @@ -15,5 +15,44 @@
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/full-width-with-description-with-default-width-image.html b/templates/docs/examples/patterns/tiered-list/full-width-with-description-with-default-width-image.html new file mode 100644 index 000000000..bb4d8d740 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/full-width-with-description-with-default-width-image.html @@ -0,0 +1,88 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / Full-width with description / With default width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/full-width-with-description-with-full-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/full-width-with-description-with-full-width-image-before-description.html new file mode 100644 index 000000000..dbba26f6a --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/full-width-with-description-with-full-width-image-before-description.html @@ -0,0 +1,90 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / Full-width with description / With full width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=true, is_media_full_width=true, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/full-width-with-description-with-full-width-image.html b/templates/docs/examples/patterns/tiered-list/full-width-with-description-with-full-width-image.html new file mode 100644 index 000000000..a90857748 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/full-width-with-description-with-full-width-image.html @@ -0,0 +1,90 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / Full-width with description / With full width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=true, is_media_full_width=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-default-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-default-width-image-before-description.html new file mode 100644 index 000000000..f08825cf6 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-default-width-image-before-description.html @@ -0,0 +1,83 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / Full-width with description / With default width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-default-width-image.html b/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-default-width-image.html new file mode 100644 index 000000000..e8c39305d --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-default-width-image.html @@ -0,0 +1,83 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / Full-width with description / With default width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-full-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-full-width-image-before-description.html new file mode 100644 index 000000000..580d8e0ee --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-full-width-image-before-description.html @@ -0,0 +1,85 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / Full-width with description / With full width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=true, is_media_full_width=true, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-full-width-image.html b/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-full-width-image.html new file mode 100644 index 000000000..b3a9ca999 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/full-width-with-description-without-cta-with-full-width-image.html @@ -0,0 +1,85 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / Full-width with description / With full width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=true, is_media_full_width=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'description' -%}
+ A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-default-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-default-width-image-before-description.html new file mode 100644 index 000000000..bb091993e --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-default-width-image-before-description.html @@ -0,0 +1,81 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / Full-width without description / With default width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_list_full_width_on_tablet=true, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'list_item_title_1' -%}
+ Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-default-width-image.html b/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-default-width-image.html new file mode 100644 index 000000000..c09764bee --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-default-width-image.html @@ -0,0 +1,81 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / Full-width without description / With default width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_list_full_width_on_tablet=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'list_item_title_1' -%}
+ Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-full-width-image-before-description.html b/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-full-width-image-before-description.html new file mode 100644 index 000000000..e53ea09fb --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-full-width-image-before-description.html @@ -0,0 +1,83 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / Full-width without description / With full width image before description{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_list_full_width_on_tablet=true, is_media_full_width=true, media_placement="before_description") -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'list_item_title_1' -%}
+ Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-full-width-image.html b/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-full-width-image.html new file mode 100644 index 000000000..629737589 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/full-width-without-description-with-full-width-image.html @@ -0,0 +1,83 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / Full-width without description / With full width image{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_list_full_width_on_tablet=true, is_media_full_width=true) -%} + {%- if slot == 'title' -%} +
+ {%- endif -%}
+
+ {%- if slot == 'list_item_title_1' -%}
+ Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/examples/patterns/tiered-list/video.html b/templates/docs/examples/patterns/tiered-list/video.html new file mode 100644 index 000000000..ea0cdc303 --- /dev/null +++ b/templates/docs/examples/patterns/tiered-list/video.html @@ -0,0 +1,88 @@ +{% extends "_layouts/examples.html" %} +{% from "_macros/vf_tiered-list.jinja" import vf_tiered_list %} + +{% block title %}Tiered list / With video{% endblock %} + +{% block standalone_css %}patterns_all{% endblock %} + +{% block content %} +{%- call(slot) vf_tiered_list(is_description_full_width_on_desktop=true, is_list_full_width_on_tablet=true, video_attrs={"src": "https://www.youtube.com/embed/TShKZLeZzWE", "allowfullscreen": ""}) -%} + {%- if slot == 'title' -%} +A private cloud provides organisations with on-demand + compute, storage and other resources that can be accessed over the network + and that are reserved exclusively for them - either in their own data centre + or via a 3rd party.
+ {%- endif -%} + + {%- if slot == 'list_item_title_1' -%} +Resell the full range of Canonical’s portfolio of private and public + cloud products: OpenStack, Kubernetes, IoT, support, security and + compliance for Ubuntu.
+ {%- endif -%} + + {%- if slot == 'list_item_title_2' -%} +Canonical can help train your field sales and presales teams and + provide you with sales collateral and permission to use the Canonical + and Ubuntu trademarks in your own materials.
+ {%- endif -%} + + {%- if slot == 'list_item_title_3' -%} +We host a partner portal with product and solutions collaterals, agreed + pricing, incentives and a deal registration system.
+ {%- endif -%} + + {%- if slot == 'list_item_title_4' -%} +Gain access to technology that is the foundation for digital + transformation and expand your business through marketing support and + alignment with a trusted brand
+ {%- endif -%} + + {%- if slot == 'list_item_title_5' -%} +We provide in-depth technical training for your customer engineering + teams with access to technical resources for your labs and customer + engagements.
+ {%- endif -%} + + {%- if slot == 'list_item_title_6' -%} +Working with our dedicated partner team, get new joint marketing + opportunities and lead generation.
+ {%- endif -%} + + {%- if slot == 'cta' -%} + Learn more + Contact us › + {%- endif -%} +{%- endcall -%} +{% endblock %} diff --git a/templates/docs/patterns/tiered-list/index.md b/templates/docs/patterns/tiered-list/index.md index 26792c6e0..5eb2e53a2 100644 --- a/templates/docs/patterns/tiered-list/index.md +++ b/templates/docs/patterns/tiered-list/index.md @@ -20,6 +20,7 @@ from a variety of tiered list layouts: - [50/50 with description](#5050-with-description) - [Full-width without description](#full-width-without-description) - [Full-width with description](#full-width-with-description) +- [With media](#with-media-new) The tiered list pattern is composed of the following elements: @@ -27,6 +28,7 @@ The tiered list pattern is composed of the following elements: | --------------------- | ----------------------------------------------------------------------------------- | | Title (**required**) |h2 title text |
| Description | p description text with optional [CTA block](/docs/patterns/cta-block) |
+| Media (optional) | Image or video to show near description |
| List item title | Title text/content |
| List item description | Description text/content with optional [CTA block](/docs/patterns/cta-block) |
| Call to action block | [CTA block](/docs/patterns/cta-block) beneath the list |
@@ -89,6 +91,85 @@ respectively.
View example of the tiered list pattern
is_media_full_width
+ boolean
+ false
+ video slot, this parameter will affect the positioning of the video, but will not change its aspect ratio. Videos are always 16:9.
+ image
+ p-image-container__image.video slot is used, this slot will be ignored.
+ video
+ u-embedded-media__element.image slot, so if both are used, the video will be displayed instead of the image.
+ description