Skip to content
Snippets Groups Projects
Commit 5b84bf86 authored by Alberto Siles's avatar Alberto Siles Committed by Alberto Siles
Browse files

Change layouts to layout builder standard

parent e6d2a4a7
No related branches found
No related tags found
No related merge requests found
{#
/**
* @file
* Default theme implementation for a card 3 stack layout.
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout <div>.
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('card', 'clearfix') }}>
<div{{ region_attributes.first.addClass('card-block card-body') }}>
{{ content.first }}
</div>
<div{{ region_attributes.second.addClass('card-img') }}>
{{ content.second }}
</div>
<div{{ region_attributes.third.addClass('card-block card-body') }}>
{{ content.third }}
</div>
</div>
{#
/**
* @file
* Default theme implementation for a card basic layout.
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout <div>.
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('card', 'clearfix', 'card-block', 'card-body') }}>
{{ content.first }}
</div>
{#
/**
* @file
* Default theme implementation for a card header footer layout.
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout <div>.
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('card', 'clearfix') }}>
<div{{ region_attributes.first.addClass('card-header') }}>
{{ content.first }}
</div>
<div{{ region_attributes.second.addClass('card-block card-body') }}>
{{ content.second }}
</div>
<div{{ region_attributes.third.addClass('card-footer') }}>
{{ content.third }}
</div>
</div>
{#
/**
* @file
* Default theme implementation for a vard image overlay layout.
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout <div>.
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('card') }}>
<div{{ region_attributes.first.addClass('card-img') }}>
{{ content.first }}
</div>
<div{{ region_attributes.second.addClass('card-img-overlay') }}>
{{ content.second }}
</div>
</div>
{#
/**
* @file
* Default theme implementation for a card image top layout.
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout <div>.
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('card', 'clearfix') }}>
<div{{ region_attributes.first.addClass('card-img-top') }}>
{{ content.first }}
</div>
<div{{ region_attributes.second.addClass('card-block') }}>
{{ content.second }}
</div>
</div>
{#
/**
* @file
* Default theme implementation for a media layout.
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout <div>.
*
* @ingroup themeable
*/
#}
<div {{ attributes.addClass('media') }}>
{{ content.first }}
<div{{ region_attributes.second.addClass('media-body') }}>
{{ content.second }}
</div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment