X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fbootstrap_layouts%2Ftemplates%2F3.0.0%2Fbs-4col-stacked.html.twig;fp=web%2Fmodules%2Fcontrib%2Fbootstrap_layouts%2Ftemplates%2F3.0.0%2Fbs-4col-stacked.html.twig;h=bf5ddab47749e4679893316189574b35d0c0bedd;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/modules/contrib/bootstrap_layouts/templates/3.0.0/bs-4col-stacked.html.twig b/web/modules/contrib/bootstrap_layouts/templates/3.0.0/bs-4col-stacked.html.twig new file mode 100644 index 000000000..bf5ddab47 --- /dev/null +++ b/web/modules/contrib/bootstrap_layouts/templates/3.0.0/bs-4col-stacked.html.twig @@ -0,0 +1,63 @@ +{# +/** + * @file + * Bootstrap Layouts: "4 Columns (stacked)" template. + * + * Available layout variables: + * - wrapper: Wrapper element for the layout container. + * - attributes: Wrapper attributes for the layout container. + * + * Available region variables: + * - top + * - first + * - second + * - third + * - fourth + * - bottom + * + * Each region variable contains the following properties: + * - wrapper: The HTML element to use to wrap this region. + * - attributes: The HTML attributes to use on the wrapper for this region. + * - content: The content to go inside the wrapper for this region. + */ +#} +<{{ wrapper }}{{ attributes }}> + {{ title_suffix.contextual_links }} + + {% if top.content %} + <{{ top.wrapper }}{{ top.attributes }}> + {{ first.content }} + + {% endif %} + + {% if first.content %} + <{{ first.wrapper }}{{ first.attributes }}> + {{ first.content }} + + {% endif %} + + {% if second.content %} + <{{ second.wrapper }}{{ second.attributes }}> + {{ second.content }} + + {% endif %} + + {% if third.content %} + <{{ third.wrapper }}{{ third.attributes }}> + {{ third.content }} + + {% endif %} + + {% if fourth.content %} + <{{ fourth.wrapper }}{{ fourth.attributes }}> + {{ fourth.content }} + + {% endif %} + + {% if bottom.content %} + <{{ bottom.wrapper }}{{ bottom.attributes }}> + {{ bottom.content }} + + {% endif %} + +